MessageHeader class
The message header, identifying signed and read-only account.
Constructors
- MessageHeader({required int numRequiredSignatures, required int numReadonlySignedAccounts, required int numReadonlyUnsignedAccounts})
- 
          Constructor to create a MessageHeader instance.
            const
- 
          MessageHeader.fromJson(Map<String, dynamic> json)
- 
          Factory method to create a MessageHeader instance from 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
  final
- numReadonlyUnsignedAccounts → int
- 
  The last numReadonlySignedAccounts of the unsigned keys are read-only accounts.
  final
- numRequiredSignatures → int
- 
  The number of signatures required for this message to be considered valid. The
signatures must match the first numRequiredSignatures of accountKeys.final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  isAccountSigner(int index) → bool 
- 
  isAccountWritable({required int index, required int numStaticAccountKeys, List< AddressTableLookup> addressTableLookups = const []}) → bool
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson() → Map< String, dynamic> 
- Convert the MessageHeader instance to a JSON object.
- 
  toString() → String 
- 
  Override the toString method to provide a string representation of the object.
  override
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited