morpacs
morpacs
Thank you. But now I get the custom program error: 0x3f, Program log: Data type mismatch error when trying to update mint authority
`var updateMetadataTX = new TransactionBuilder() .SetRecentBlockHash(recentHash.Result.Value.Blockhash) .SetFeePayer(signer) .AddInstruction( SystemProgram.CreateAccount( signer.PublicKey, customer, rpcClient.GetMinimumBalanceForRentExemption(TokenProgram.TokenAccountDataSize).Result, TokenProgram.TokenAccountDataSize, TokenProgram.ProgramIdKey ) ) .AddInstruction( TokenProgram.InitializeAccount( customer.PublicKey, mint, signer.PublicKey ) ) .AddInstruction( MetadataProgram.UpdateMetadataAccount( metadata, customer, customer, metadataData, false...
Thank you, it solved my problem However, sometimes when I send transactions, I come across with the following error: Tx Signature: {"jsonrpc":"2.0","error":{"code":-32003,"message":"Transaction signature verification failure"},"id":5} but with the "SimulateTransactionAsync()" method...