Skip to main content

Methods

GetHeight

Get block heights
request
GetHeightRequest
Request message type
response
GetHeightResponse
Response message type

GetAccount

Get account information.
request
GetAccountRequest
Request message type
response
.thru.core.v1.Account
Response message type

GetRawAccount

Get account raw bytes.
request
GetRawAccountRequest
Request message type
response
.thru.core.v1.RawAccount
Response message type

GetTransaction

Get transaction by signature.
request
GetTransactionRequest
Request message type
response
.thru.core.v1.Transaction
Response message type

GetRawTransaction

Get raw transaction by signature.
request
GetRawTransactionRequest
Request message type
response
.thru.core.v1.RawTransaction
Response message type

GetBlock

Get block by slot or hash.
request
GetBlockRequest
Request message type
response
.thru.core.v1.Block
Response message type

GetRawBlock

Get raw block bytes.
request
GetRawBlockRequest
Request message type
response
.thru.core.v1.RawBlock
Response message type

ListOwnedAccounts

List accounts owned by a public key.
request
ListOwnedAccountsRequest
Request message type
response
ListOwnedAccountsResponse
Response message type

ListBlocks

List blocks using pagination and filtering. By default returns blocks ordered from latest slot to the first one.
request
ListBlocksRequest
Request message type
response
ListBlocksResponse
Response message type

ListTransactionsForAccount

List executed transaction signatures involving an account.
request
ListTransactionsForAccountRequest
Request message type
response
ListTransactionsForAccountResponse
Response message type

GetEvent

Get a specific event by ID.
request
GetEventRequest
Request message type
response
Event
Response message type

GetTransactionStatus

Get derived transaction status metadata.
request
GetTransactionStatusRequest
Request message type
response
TransactionStatus
Response message type

GenerateStateProof

Generate an account state proof snapshot.
request
GenerateStateProofRequest
Request message type
response
GenerateStateProofResponse
Response message type

GetVersion

Get component version strings.
request
GetVersionRequest
Request message type
response
GetVersionResponse
Response message type

Messages

Event

FieldTypeDescription
event_idstring
transaction_signaturethru.core.v1.Signature
programthru.core.v1.Pubkey
payloadbytes
slotuint64
call_idxuint32
program_idxuint32
payload_sizeuint32

GenerateStateProofRequest

FieldTypeDescription
requestthru.core.v1.StateProofRequest

GenerateStateProofResponse

FieldTypeDescription
proofthru.core.v1.StateProof

GetAccountRequest

FieldTypeDescription
addressthru.core.v1.Pubkey
viewthru.core.v1.AccountView
version_contextthru.common.v1.VersionContext
min_consensusthru.common.v1.ConsensusStatus
data_slicethru.core.v1.DataSlice

GetBlockRequest

FieldTypeDescription
slotuint64
block_hashthru.core.v1.BlockHash
viewthru.core.v1.BlockView
min_consensusthru.common.v1.ConsensusStatus

GetEventRequest

FieldTypeDescription
event_idstring
version_contextthru.common.v1.VersionContext

GetHeightRequest

GetHeightResponse

FieldTypeDescription
finalizeduint64
locally_executeduint64
cluster_executeduint64

GetRawAccountRequest

FieldTypeDescription
addressthru.core.v1.Pubkey
viewthru.core.v1.AccountView
version_contextthru.common.v1.VersionContext
min_consensusthru.common.v1.ConsensusStatus

GetRawBlockRequest

FieldTypeDescription
slotuint64
block_hashthru.core.v1.BlockHash
min_consensusthru.common.v1.ConsensusStatus

GetRawTransactionRequest

FieldTypeDescription
signaturethru.core.v1.Signature
version_contextthru.common.v1.VersionContext
min_consensusthru.common.v1.ConsensusStatus

GetTransactionRequest

FieldTypeDescription
signaturethru.core.v1.Signature
viewthru.core.v1.TransactionView
version_contextthru.common.v1.VersionContext
min_consensusthru.common.v1.ConsensusStatus

GetTransactionStatusRequest

FieldTypeDescription
signaturethru.core.v1.Signature

GetVersionRequest

GetVersionResponse

FieldTypeDescription
versionsrepeated ``GetVersionResponse.VersionsEntry

VersionsEntry

FieldTypeDescription
keystring
valuestring

ListBlocksRequest

FieldTypeDescription
filterthru.common.v1.Filter
pagethru.common.v1.PageRequest
viewthru.core.v1.BlockView
min_consensusthru.common.v1.ConsensusStatus

ListBlocksResponse

FieldTypeDescription
blocksrepeated ``thru.core.v1.Block
pagethru.common.v1.PageResponse

ListOwnedAccountsRequest

FieldTypeDescription
ownerthru.core.v1.Pubkey
viewthru.core.v1.AccountView
version_contextthru.common.v1.VersionContext
filterthru.common.v1.Filter
pagethru.common.v1.PageRequest
min_consensusthru.common.v1.ConsensusStatus

ListOwnedAccountsResponse

FieldTypeDescription
accountsrepeated ``thru.core.v1.Account
pagethru.common.v1.PageResponse

ListTransactionsForAccountRequest

FieldTypeDescription
accountthru.core.v1.Pubkey
pagethru.common.v1.PageRequest

ListTransactionsForAccountResponse

FieldTypeDescription
signaturesrepeated ``thru.core.v1.Signature
pagethru.common.v1.PageResponse

TransactionStatus

FieldTypeDescription
signaturethru.core.v1.Signature
consensus_statusthru.common.v1.ConsensusStatus
execution_resultthru.core.v1.TransactionExecutionResult