Last updated on January 1, 1970
1 min read
Method (block_list)
block_list
Discover how to retrieve a list of blocks using the GetBlock Explorer API. Harness the power of blockchain data for your applications seamlessly.
Example
POST /block/list
Request
curl --location --request POST 'https://near.getblock.io/explorer/block/list' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'x-api-key: YOUR-API-KEY' \
--data-raw '{
"count": 100,
"offset": 0
}'
Response
[
{
"author": "bzam6yjpnfnxsdmjf6pw.poolv1.near",
"created_at": 1655390203442722000,
"gas_price": "100000000",
"gas_used": "65762634519528",
"hash": "F98BtBgQKTYD9VB36ArLLVkt6rhepdis3MUHyHnhSvvo",
"height": 67851339,
"receipts": 12,
"tx_count": 10
}
]
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }