SignedTx class
Represents a signed transaction that consists of the transaction message and an array of signatures. The array of signatures must be populated following the solana convention for the set of addresses that they belong to within the message.
- Annotations
-
- @freezed
Constructors
-
SignedTx({@Default(<Signature>[]) List<
Signature> signatures, required CompiledMessage compiledMessage}) -
constfactory
- SignedTx.decode(String encoded)
-
factory
-
SignedTx.fromBytes(Iterable<
int> data) -
factory
Properties
- blockhash → String
-
no setter
- compiledMessage → CompiledMessage
-
no setterinherited
-
copyWith
→ $SignedTxCopyWith<
SignedTx> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
signatures
→ List<
Signature> -
no setterinherited
- version → TransactionVersion
-
no setter
Methods
-
decompileMessage(
{List< AddressLookupTableAccount> addressLookupTableAccounts = const []}) → Message -
encode(
) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toByteArray(
) → ByteArray -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited