Blocks API
Endpoints for querying block information and blockchain status.
Blockchain Status
| Endpoint | Description | Method |
|---|---|---|
| getBlockchainStatus | Get blockchain status | GET |
Block Queries
| Endpoint | Description | Method |
|---|---|---|
| getBlock | Get block by ID/height | GET |
| getBlockId | Get block ID at height | GET |
| getBlocks | Get blocks by height range | GET |
| getECBlock | Get EC block by timestamp | GET |
Time
| Endpoint | Description | Method |
|---|---|---|
| getTime | Get server time | GET |
| getEpochTime | Convert Unix time to epoch time | GET |
Utilities
| Endpoint | Description | Method |
|---|---|---|
| getConstants | Get network constants | GET |
Source Files
All block-related endpoints are implemented in the GetBlock.java family of classes and documented via JSONData.block().
Tags
BLOCKS