Messages
Block
| Field | Type | Description | 
|---|---|---|
header | BlockHeader | |
footer | BlockFooter | |
body | bytes | |
consensus_status | thru.common.v1.ConsensusStatus | 
BlockFooter
| Field | Type | Description | 
|---|---|---|
signature | Signature | |
status | ExecutionStatus | |
consumed_compute_units | uint64 | |
consumed_state_units | uint32 | 
BlockHeader
| Field | Type | Description | 
|---|---|---|
slot | uint64 | |
block_hash | BlockHash | |
header_signature | Signature | |
version | uint32 | |
producer | Pubkey | |
expiry_timestamp | google.protobuf.Timestamp | |
start_slot | uint64 | |
expiry_after | uint32 | |
max_block_size | uint32 | |
max_compute_units | uint64 | |
max_state_units | uint32 | |
price | uint64 | 
RawBlock
| Field | Type | Description | 
|---|---|---|
slot | uint64 | |
raw_block | bytes | 
Enums
BlockView
BlockView controls how much of a block resource is returned.| Value | Number | Description | 
|---|---|---|
BLOCK_VIEW_UNSPECIFIED | 0 | |
BLOCK_VIEW_HEADER_ONLY | 1 | |
BLOCK_VIEW_HEADER_AND_FOOTER | 2 | |
BLOCK_VIEW_BODY_ONLY | 3 | |
BLOCK_VIEW_FULL | 4 | 
ExecutionStatus
ExecutionStatus enumerates block execution results.| Value | Number | Description | 
|---|---|---|
EXECUTION_STATUS_UNSPECIFIED | 0 | |
EXECUTION_STATUS_PENDING | 1 | |
EXECUTION_STATUS_EXECUTED | 2 | |
EXECUTION_STATUS_FAILED | 3 |