Skip to main content

New answers tagged

0 votes

How to convert a MessageCompiledInstruction to TransactionInstruction in web3.js

If you have a versioned transaction, you can get the instructions of that transaction by let ixs = TransactionMessage.decompile( versionedTx.message ).instructions; The AccountMeta ...
Jimii's user avatar
  • 3,770
0 votes
Accepted

Decoding an instruction for a token on the spl token program

I would recommend to read the technical details on how the transaction is defined: https://medium.com/@asmiller1989/solana-transactions-in-depth-1f7f7fe06ac2 https://solanacookbook.com/guides/...
chalda's user avatar
  • 1,392

Top 50 recent answers are included