Error
QueryService
Get block by slot or hash.
GET
Error
Documentation Index
Fetch the complete documentation index at: https://docs.thru.org/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
32-byte block hash buffer.
Query Parameters
Available options:
BLOCK_VIEW_UNSPECIFIED, BLOCK_VIEW_HEADER_ONLY, BLOCK_VIEW_HEADER_AND_FOOTER, BLOCK_VIEW_BODY_ONLY, BLOCK_VIEW_FULL - CONSENSUS_STATUS_UNSPECIFIED: CONSENSUS_STATUS_UNSPECIFIED indicates the consensus status is unknown.
- CONSENSUS_STATUS_OBSERVED: CONSENSUS_STATUS_OBSERVED indicates the resource has been observed but not yet confirmed in a finalized block.
- CONSENSUS_STATUS_INCLUDED: CONSENSUS_STATUS_INCLUDED indicates the resource has been included in the ledger but may not be finalized.
- CONSENSUS_STATUS_FINALIZED: CONSENSUS_STATUS_FINALIZED indicates the resource is finalized for a slot.
- CONSENSUS_STATUS_LOCALLY_EXECUTED: CONSENSUS_STATUS_LOCALLY_EXECUTED indicates the local node executed the resource but broader cluster finality may not have been achieved.
- CONSENSUS_STATUS_CLUSTER_EXECUTED: CONSENSUS_STATUS_CLUSTER_EXECUTED indicates the entire cluster has executed and agreed on the resource.
Available options:
CONSENSUS_STATUS_UNSPECIFIED, CONSENSUS_STATUS_OBSERVED, CONSENSUS_STATUS_INCLUDED, CONSENSUS_STATUS_FINALIZED, CONSENSUS_STATUS_LOCALLY_EXECUTED, CONSENSUS_STATUS_CLUSTER_EXECUTED Response
A successful response.
Block represents a fully decoded block resource.
BlockHeader describes metadata about a block.
BlockFooter captures execution result metadata for a block.
Pattern:
^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ConsensusStatus represents the minimum consensus level a resource has achieved when returned by the service.
- CONSENSUS_STATUS_UNSPECIFIED: CONSENSUS_STATUS_UNSPECIFIED indicates the consensus status is unknown.
- CONSENSUS_STATUS_OBSERVED: CONSENSUS_STATUS_OBSERVED indicates the resource has been observed but not yet confirmed in a finalized block.
- CONSENSUS_STATUS_INCLUDED: CONSENSUS_STATUS_INCLUDED indicates the resource has been included in the ledger but may not be finalized.
- CONSENSUS_STATUS_FINALIZED: CONSENSUS_STATUS_FINALIZED indicates the resource is finalized for a slot.
- CONSENSUS_STATUS_LOCALLY_EXECUTED: CONSENSUS_STATUS_LOCALLY_EXECUTED indicates the local node executed the resource but broader cluster finality may not have been achieved.
- CONSENSUS_STATUS_CLUSTER_EXECUTED: CONSENSUS_STATUS_CLUSTER_EXECUTED indicates the entire cluster has executed and agreed on the resource.
Available options:
CONSENSUS_STATUS_UNSPECIFIED, CONSENSUS_STATUS_OBSERVED, CONSENSUS_STATUS_INCLUDED, CONSENSUS_STATUS_FINALIZED, CONSENSUS_STATUS_LOCALLY_EXECUTED, CONSENSUS_STATUS_CLUSTER_EXECUTED List blocks using pagination and filtering. By default returns blocks ordered from latest slot to the first one.
Previous
Get raw block bytes.
Next