Try to send a transaction using phantom wallet and vuejs.
import { createUpdateMetadataAccountV2Instruction } from '@metaplex-foundation/mpl-token-metadata';
import { Transaction } from '@solana/web3.js';
const updateMetadataAccount = createUpdateMetadataAccountV2Instruction(
accounts,
args
);
const transaction = new Transaction();
transaction.add(updateMetadataAccount);
const { blockhash } = await connection.getLatestBlockhash();
console.log(blockhash) // "G6NXXgYaPYjpg4StqSMywYb582Rwzsc3pYXWKJbRcNoA"
transaction.recentBlockhash = blockhash;
transaction.feePayer = wallet.publicKey;
const signature = await wallet.signAndSendTransaction(transaction)
I got this error: RPC Error: failed to send transaction: Transaction simulation failed: Blockhash not found