Message v0

Mirror of solana_message::v0.

Message

alias of MessageV0

class MessageAddressTableLookup(account_key, writable_indexes, readonly_indexes)

Address table lookups describe an on-chain address lookup table to use for loading more readonly and writable accounts in a single tx.

Parameters:
  • account_key (Pubkey) – Address lookup table account key.

  • writable_indexes (bytes) – List of u8 indexes used to load writable account addresses, represented as bytes.

  • readonly_indexes (bytes) – List of u8 indexes used to load readonly account addresses, represented as bytes.

account_key

Address lookup table account key.

Type:

Pubkey

static from_bytes(data)

Deserialize from bytes.

Parameters:

data (bytes) – the serialized object.

Returns: the deserialized object.

static from_json(raw)

Build from a JSON string.

readonly_indexes

List of u8 indexes used to load readonly account addresses, represented as bytes.

Type:

bytes

to_json()

Convert to a JSON string.

writable_indexes

List of u8 indexes used to load writable account addresses, represented as bytes.

Type:

bytes