SolanaTransactionUtils class

Constructors

SolanaTransactionUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

compileLegacy({required List<TransactionInstruction> transactionInstructions, required SolAddress payer, required SolAddress recentBlockhash}) Message
compile instructions to legacy message
compileV0({required List<TransactionInstruction> transactionInstructions, required SolAddress payer, required SolAddress recentBlockhash, List<AddressLookupTableAccount> lookupTableAccounts = const []}) MessageV0
compile V0 Message
deserializeMessageLegacy(List<int> bytes) Message
convert Bytes to legacy message
deserializeTransaction(List<int> serializedTransaction) → Tuple<VersionedMessage, List<List<int>>>
convert bytes to Message
deserializeV0(List<int> serializedMessage) MessageV0
convert bytes to Message V0
serializeAddressTableLookups(List<AddressTableLookup> addressTableLookups) List<int>
serialize address table
serializeInstructionsV0(List<CompiledInstruction> compiledInstructions) List<int>
serialize Message V0 instructions
serializeLegacy(Message message) List<int>
serialize legacy Message to bytes
serializeTransaction(VersionedMessage message, List<List<int>> signatures) List<int>
serialize transaction to bytes
serializeV0(MessageV0 message) List<int>
serialize message V0 to bytes