Skip to main content

Messages

Account

FieldTypeDescription
addressthru.common.v1.Pubkey
metaoptional ``AccountMeta
dataoptional ``AccountData
version_contextoptional ``VersionContextMetadata
consensus_statusoptional ``thru.common.v1.ConsensusStatus

AccountData

FieldTypeDescription
dataoptional ``bytes
compressedoptional ``bool
compression_algorithmoptional ``string

AccountFlags

FieldTypeDescription
is_programbool
is_privilegedbool
is_uncompressablebool
is_ephemeralbool
is_deletedbool
is_newbool
is_compressedbool

AccountMeta

FieldTypeDescription
versionuint32
flagsAccountFlags
data_sizeuint32
sequint64Account sequence number
ownerthru.common.v1.Pubkey
balanceuint64
nonceuint64

AccountPage

FieldTypeDescription
page_idxuint32
page_sizeuint32
page_databytes
compressedoptional ``bool
compression_algorithmoptional ``string

DataSlice

FieldTypeDescription
offsetuint32
lengthuint32

RawAccount

FieldTypeDescription
addressthru.common.v1.Pubkey
raw_metabytes
raw_dataoptional ``bytes
version_contextoptional ``VersionContextMetadata

VersionContextMetadata

FieldTypeDescription
slotoptional ``uint64
block_timestampoptional ``google.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.