TransactionMessageHeader class

The header of a transaction message

Annotations
  • @JsonSerializable()

Constructors

TransactionMessageHeader({required int numRequiredSignatures, required int numReadonlySignedAccounts, required int numReadonlyUnsignedAccounts})
const
TransactionMessageHeader.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
numReadonlySignedAccounts int
The last numReadonlySignedAccounts of the signed keys are read-only accounts. Programs may process multiple transactions that load read-only accounts within a single PoH entry, but are not permitted to credit or debit lamports or modify account data. Transactions targeting the same read-write account are evaluated sequentially.
final
numReadonlyUnsignedAccounts int
The last numReadonlyUnsignedAccounts of the unsigned keys are read-only accounts.
final
numRequiredSignatures int
The total number of signatures required to make the transaction valid. The signatures must match the first numRequiredSignatures of message.account_keys.
final
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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