Skip to content

Get EVM Block

GET /api/evm/block/v1
NameInTypeRequiredDescription
block_numberqueryinteger
block_startqueryintegerStart of block range (inclusive)
block_endqueryintegerEnd of block range (inclusive)
timestamp_startqueryintegerStart of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive)
timestamp_endqueryintegerEnd of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive)
pagequeryinteger
limitqueryinteger0-200
orderquery

Media: application/json

Schema
{
"type": "object",
"required": [
"pagination",
"data"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"number",
"timestamp",
"size",
"difficulty",
"total_difficulty",
"gas_limit",
"gas_used",
"base_fee_per_gas",
"hash",
"parent_hash",
"sha_3_uncles",
"state_root",
"miner",
"extra_data"
],
"properties": {
"base_fee_per_gas": {
"type": "string"
},
"difficulty": {
"type": "string"
},
"extra_data": {
"type": "string"
},
"gas_limit": {
"type": "string"
},
"gas_used": {
"type": "string"
},
"hash": {
"type": "string"
},
"miner": {
"type": "string"
},
"nonce": {
"type": "string",
"nullable": true
},
"number": {
"type": "integer",
"format": "int32"
},
"parent_hash": {
"type": "string"
},
"sha_3_uncles": {
"type": "string"
},
"size": {
"type": "integer",
"format": "int32"
},
"state_root": {
"type": "string"
},
"timestamp": {
"type": "string",
"format": "date-time"
},
"total_difficulty": {
"type": "string"
},
"transaction_root": {
"type": "string",
"nullable": true
},
"uncles": {
"type": "string",
"nullable": true
}
}
}
},
"pagination": {
"type": "object",
"required": [
"current_page",
"per_page",
"total_items",
"total_pages"
],
"properties": {
"current_page": {
"type": "integer",
"format": "int32"
},
"next_page": {
"type": "integer",
"format": "int32",
"nullable": true
},
"per_page": {
"type": "integer",
"format": "int32"
},
"prev_page": {
"type": "integer",
"format": "int32",
"nullable": true
},
"total_items": {
"type": "integer",
"format": "int32"
},
"total_pages": {
"type": "integer",
"format": "int32"
}
}
}
}
}
Examples
{
"Result": {
"value": "{}"
}
}

Interactive request console coming soon. In the meantime you can use the OpenAPI spec with any client (Insomnia, Bruno, Scalar, curl).

All Taostats API requests require an Authorization header containing your API key. See Getting Started.