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

Recreate SPL Transfer from a `CompiledInstruction`

$
0
0

i wanted to ask if i can decode an existing SPL token transfer from transaction hash only.

const transaction = await client.getTransaction(transactionHash!);

Returns a TransactionReponse from @solana/web3.js which contains CompiledInstructions. Id be really interested to know if it's possible to recreate a TransferInstruction from existing on chain data


Viewing all articles
Browse latest Browse all 8105

Latest Images

Trending Articles



Latest Images

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