Methods
GetHeight
Get block heightsRequest message type
Response message type
GetAccount
Get account information.Request message type
Response message type
GetRawAccount
Get account raw bytes.Request message type
Response message type
GetTransaction
Get transaction by signature.Request message type
Response message type
GetRawTransaction
Get raw transaction by signature.Request message type
Response message type
GetBlock
Get block by slot or hash.Request message type
Response message type
GetRawBlock
Get raw block bytes.Request message type
Response message type
ListAccounts
List accounts using CEL-based filtering.Request message type
Response message type
ListBlocks
List blocks using pagination and filtering. By default returns blocks ordered from latest slot to the first one.Request message type
Response message type
ListTransactionsForAccount
List executed transaction signatures involving an account.Request message type
Response message type
GetEvent
Get a specific event by ID.Request message type
Response message type
ListEvents
List events with CEL filtering and pagination. Returns events ordered from most recent to older.Request message type
Response message type
ListTransactions
List executed transactions with CEL filtering and pagination. Returns transactions ordered from most recent to older.Request message type
Response message type
GetTransactionStatus
Get derived transaction status metadata.Request message type
Response message type
GenerateStateProof
Generate an account state proof snapshot.Request message type
Response message type
GetVersion
Get component version strings.Request message type
Response message type
Messages
Event
| Field | Type | Description |
|---|---|---|
event_id | string | |
transaction_signature | thru.common.v1.Signature | |
program | optional ``thru.common.v1.Pubkey | |
payload | optional ``bytes | |
slot | optional ``uint64 | |
call_idx | optional ``uint32 | |
program_idx | optional ``uint32 | |
payload_size | optional ``uint32 | |
block_offset | optional ``uint32 | |
timestamp | optional ``google.protobuf.Timestamp |
GenerateStateProofRequest
| Field | Type | Description |
|---|---|---|
request | thru.core.v1.StateProofRequest |
GenerateStateProofResponse
| Field | Type | Description |
|---|---|---|
proof | thru.core.v1.StateProof |
GetAccountRequest
| Field | Type | Description |
|---|---|---|
address | thru.common.v1.Pubkey | |
view | optional ``thru.core.v1.AccountView | |
version_context | thru.common.v1.VersionContext | |
min_consensus | optional ``thru.common.v1.ConsensusStatus | |
data_slice | optional ``thru.core.v1.DataSlice |
GetBlockRequest
| Field | Type | Description |
|---|---|---|
slot | uint64 | |
block_hash | thru.core.v1.BlockHash | |
view | optional ``thru.core.v1.BlockView | |
min_consensus | optional ``thru.common.v1.ConsensusStatus |
GetEventRequest
| Field | Type | Description |
|---|---|---|
event_id | string | |
version_context | optional ``thru.common.v1.VersionContext |
GetHeightRequest
GetHeightResponse
| Field | Type | Description |
|---|---|---|
finalized | uint64 | |
locally_executed | uint64 | |
cluster_executed | uint64 |
GetRawAccountRequest
| Field | Type | Description |
|---|---|---|
address | thru.common.v1.Pubkey | |
view | optional ``thru.core.v1.AccountView | |
version_context | thru.common.v1.VersionContext | |
min_consensus | optional ``thru.common.v1.ConsensusStatus |
GetRawBlockRequest
| Field | Type | Description |
|---|---|---|
slot | uint64 | |
block_hash | thru.core.v1.BlockHash | |
min_consensus | optional ``thru.common.v1.ConsensusStatus |
GetRawTransactionRequest
| Field | Type | Description |
|---|---|---|
signature | thru.common.v1.Signature | |
version_context | thru.common.v1.VersionContext | |
min_consensus | optional ``thru.common.v1.ConsensusStatus |
GetTransactionRequest
| Field | Type | Description |
|---|---|---|
signature | thru.common.v1.Signature | |
view | optional ``thru.core.v1.TransactionView | |
version_context | thru.common.v1.VersionContext | |
min_consensus | optional ``thru.common.v1.ConsensusStatus |
GetTransactionStatusRequest
| Field | Type | Description |
|---|---|---|
signature | thru.common.v1.Signature |
GetVersionRequest
GetVersionResponse
| Field | Type | Description |
|---|---|---|
versions | repeated ``GetVersionResponse.VersionsEntry |
VersionsEntry
| Field | Type | Description |
|---|---|---|
key | string | |
value | string |
ListAccountsRequest
| Field | Type | Description |
|---|---|---|
view | optional ``thru.core.v1.AccountView | |
version_context | optional ``thru.common.v1.VersionContext | |
filter | optional ``thru.common.v1.Filter | CEL filter expression (REQUIRED). See message documentation for examples. |
page | optional ``thru.common.v1.PageRequest | |
min_consensus | optional ``thru.common.v1.ConsensusStatus |
ListAccountsResponse
| Field | Type | Description |
|---|---|---|
accounts | repeated ``thru.core.v1.Account | |
page | optional ``thru.common.v1.PageResponse |
ListBlocksRequest
| Field | Type | Description |
|---|---|---|
filter | optional ``thru.common.v1.Filter | CEL filter expression (OPTIONAL). See message documentation for examples. |
page | optional ``thru.common.v1.PageRequest | |
view | optional ``thru.core.v1.BlockView | |
min_consensus | optional ``thru.common.v1.ConsensusStatus |
ListBlocksResponse
| Field | Type | Description |
|---|---|---|
blocks | repeated ``thru.core.v1.Block | |
page | optional ``thru.common.v1.PageResponse |
ListEventsRequest
| Field | Type | Description |
|---|---|---|
filter | optional ``thru.common.v1.Filter | CEL filter expression (OPTIONAL). See message documentation for examples. |
page | optional ``thru.common.v1.PageRequest | |
version_context | optional ``thru.common.v1.VersionContext | |
min_consensus | optional ``thru.common.v1.ConsensusStatus |
ListEventsResponse
| Field | Type | Description |
|---|---|---|
events | repeated ``Event | |
page | optional ``thru.common.v1.PageResponse |
ListTransactionsForAccountRequest
| Field | Type | Description |
|---|---|---|
account | thru.common.v1.Pubkey | |
page | optional ``thru.common.v1.PageRequest | |
filter | optional ``thru.common.v1.Filter | Optional CEL filter applied after the account constraint. |
ListTransactionsForAccountResponse
| Field | Type | Description |
|---|---|---|
signatures | repeated ``thru.common.v1.Signature | |
page | optional ``thru.common.v1.PageResponse | |
transactions | repeated ``thru.core.v1.Transaction |
ListTransactionsRequest
| Field | Type | Description |
|---|---|---|
filter | optional ``thru.common.v1.Filter | CEL filter expression (OPTIONAL). See message documentation for examples. |
page | optional ``thru.common.v1.PageRequest | |
return_events | optional ``bool | Whether to include event data in results (default: false) |
version_context | optional ``thru.common.v1.VersionContext | |
min_consensus | optional ``thru.common.v1.ConsensusStatus |
ListTransactionsResponse
| Field | Type | Description |
|---|---|---|
transactions | repeated ``thru.core.v1.Transaction | |
page | optional ``thru.common.v1.PageResponse |
TransactionStatus
| Field | Type | Description |
|---|---|---|
signature | thru.common.v1.Signature | |
consensus_status | optional ``thru.common.v1.ConsensusStatus | |
execution_result | optional ``thru.core.v1.TransactionExecutionResult |