Blocks API

Endpoints for retrieving block information from the Deccord blockchain

Get Block Height
Retrieve the current block height from the blockchain

Endpoint

GET /api/blocks

Code Examples

curl https://api.deccord.com/api/blocks

Response Format

{
  "height": 123456
}
Try It Out
Test the API endpoint directly in your browser