Solana Transaction
class SolanaTransaction
Functions
Link copied to clipboard
Try to find a `ComputeBudgetInstruction::SetComputeUnitLimit` instruction in the given transaction, and returns the specified Unit Limit.
Link copied to clipboard
Try to find a `ComputeBudgetInstruction::SetComputeUnitPrice` instruction in the given transaction, and returns the specified Unit Price.
Link copied to clipboard
Adds or updates a `ComputeBudgetInstruction::SetComputeUnitLimit` instruction of the given transaction, and returns the updated transaction.
Link copied to clipboard
Adds or updates a `ComputeBudgetInstruction::SetComputeUnitPrice` instruction of the given transaction, and returns the updated transaction.
Link copied to clipboard
Adds fee payer to the given transaction and returns the updated transaction.
Link copied to clipboard
open fun updateBlockhashAndSign(encodedTx: String, recentBlockhash: String, privateKeys: DataVector): Array<Byte>
Decode Solana transaction, update the recent blockhash and re-sign the transaction.