Skip to main content

Messages

Account

FieldTypeDescription
addressPubkey
metaAccountMeta
dataAccountData
version_contextVersionContextMetadata
consensus_statusthru.common.v1.ConsensusStatus

AccountData

FieldTypeDescription
databytes
compressedbool
compression_algorithmstring

AccountFlags

FieldTypeDescription
is_programbool
is_privilegedbool
is_uncompressablebool
is_ephemeralbool
is_deletedbool
is_newbool
is_compressedbool

AccountMeta

FieldTypeDescription
versionuint32
flagsAccountFlags
data_sizeuint32
state_counteruint64
ownerPubkey
balanceuint64
nonceuint64

AccountPage

FieldTypeDescription
page_idxuint32
page_sizeuint32
page_databytes
compressedbool
compression_algorithmstring

DataSlice

FieldTypeDescription
offsetuint32
lengthuint32

RawAccount

FieldTypeDescription
addressPubkey
raw_metabytes
raw_databytes
version_contextVersionContextMetadata

VersionContextMetadata

FieldTypeDescription
slotuint64
block_timestampgoogle.protobuf.Timestamp

Enums

AccountView

AccountView controls which sections of account resources are returned.
ValueNumberDescription
ACCOUNT_VIEW_UNSPECIFIED0ACCOUNT_VIEW_UNSPECIFIED uses service defaults.
ACCOUNT_VIEW_PUBKEY_ONLY1ACCOUNT_VIEW_PUBKEY_ONLY returns only the account address.
ACCOUNT_VIEW_META_ONLY2ACCOUNT_VIEW_META_ONLY returns only account metadata.
ACCOUNT_VIEW_DATA_ONLY3ACCOUNT_VIEW_DATA_ONLY returns only account data.
ACCOUNT_VIEW_FULL4ACCOUNT_VIEW_FULL returns address, metadata, and data.