Quantcast
Channel: Recent Questions - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 8063

WalletSendTransactionError: Unexpected error

$
0
0

The error

WalletSendTransactionError: Unexpected error faced while sending the transaction

Code

const transactionSignature = await program.methods    .createToken(metadata.name, metadata.symbol, metadata.uri)    .accounts({        payer: publicKey,        mintAccount: publicKey,        metadataAccount: metadataAccount,        tokenMetadataProgram: TOKEN_METADATA_PROGRAM_ID,        tokenProgram: TOKEN_PROGRAM_ID,    })    .transaction();const txSig = await sendTransaction(transactionSignature, connection);

can anyone help me to resolve the same?


Viewing all articles
Browse latest Browse all 8063

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>