decodeTransaction()

Decode unsigned transaction from base64 into Solana Transaction.

await client.solana.decodeTransaction(unsignedTxBase64);

Parameters

unsignedTxBase64 string, required

Result

The method returns a Solana Transaction object that you can pass to signWithKeypairs() .

What's next?