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
ListOwnedAccounts
List accounts owned by a public key.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
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.core.v1.Signature | |
program | thru.core.v1.Pubkey | |
payload | bytes | |
slot | uint64 | |
call_idx | uint32 | |
program_idx | uint32 | |
payload_size | uint32 |
GenerateStateProofRequest
| Field | Type | Description |
|---|---|---|
request | thru.core.v1.StateProofRequest |
GenerateStateProofResponse
| Field | Type | Description |
|---|---|---|
proof | thru.core.v1.StateProof |
GetAccountRequest
| Field | Type | Description |
|---|---|---|
address | thru.core.v1.Pubkey | |
view | thru.core.v1.AccountView | |
version_context | thru.common.v1.VersionContext | |
min_consensus | thru.common.v1.ConsensusStatus | |
data_slice | thru.core.v1.DataSlice |
GetBlockRequest
| Field | Type | Description |
|---|---|---|
slot | uint64 | |
block_hash | thru.core.v1.BlockHash | |
view | thru.core.v1.BlockView | |
min_consensus | thru.common.v1.ConsensusStatus |
GetEventRequest
| Field | Type | Description |
|---|---|---|
event_id | string | |
version_context | thru.common.v1.VersionContext |
GetHeightRequest
GetHeightResponse
| Field | Type | Description |
|---|---|---|
finalized | uint64 | |
locally_executed | uint64 | |
cluster_executed | uint64 |
GetRawAccountRequest
| Field | Type | Description |
|---|---|---|
address | thru.core.v1.Pubkey | |
view | thru.core.v1.AccountView | |
version_context | thru.common.v1.VersionContext | |
min_consensus | thru.common.v1.ConsensusStatus |
GetRawBlockRequest
| Field | Type | Description |
|---|---|---|
slot | uint64 | |
block_hash | thru.core.v1.BlockHash | |
min_consensus | thru.common.v1.ConsensusStatus |
GetRawTransactionRequest
| Field | Type | Description |
|---|---|---|
signature | thru.core.v1.Signature | |
version_context | thru.common.v1.VersionContext | |
min_consensus | thru.common.v1.ConsensusStatus |
GetTransactionRequest
| Field | Type | Description |
|---|---|---|
signature | thru.core.v1.Signature | |
view | thru.core.v1.TransactionView | |
version_context | thru.common.v1.VersionContext | |
min_consensus | thru.common.v1.ConsensusStatus |
GetTransactionStatusRequest
| Field | Type | Description |
|---|---|---|
signature | thru.core.v1.Signature |
GetVersionRequest
GetVersionResponse
| Field | Type | Description |
|---|---|---|
versions | repeated ``GetVersionResponse.VersionsEntry |
VersionsEntry
| Field | Type | Description |
|---|---|---|
key | string | |
value | string |
ListBlocksRequest
| Field | Type | Description |
|---|---|---|
filter | thru.common.v1.Filter | |
page | thru.common.v1.PageRequest | |
view | thru.core.v1.BlockView | |
min_consensus | thru.common.v1.ConsensusStatus |
ListBlocksResponse
| Field | Type | Description |
|---|---|---|
blocks | repeated ``thru.core.v1.Block | |
page | thru.common.v1.PageResponse |
ListOwnedAccountsRequest
| Field | Type | Description |
|---|---|---|
owner | thru.core.v1.Pubkey | |
view | thru.core.v1.AccountView | |
version_context | thru.common.v1.VersionContext | |
filter | thru.common.v1.Filter | |
page | thru.common.v1.PageRequest | |
min_consensus | thru.common.v1.ConsensusStatus |
ListOwnedAccountsResponse
| Field | Type | Description |
|---|---|---|
accounts | repeated ``thru.core.v1.Account | |
page | thru.common.v1.PageResponse |
ListTransactionsForAccountRequest
| Field | Type | Description |
|---|---|---|
account | thru.core.v1.Pubkey | |
page | thru.common.v1.PageRequest |
ListTransactionsForAccountResponse
| Field | Type | Description |
|---|---|---|
signatures | repeated ``thru.core.v1.Signature | |
page | thru.common.v1.PageResponse |
TransactionStatus
| Field | Type | Description |
|---|---|---|
signature | thru.core.v1.Signature | |
consensus_status | thru.common.v1.ConsensusStatus | |
execution_result | thru.core.v1.TransactionExecutionResult |