Get blocks by height
This endpoint allows you to get the transactions in a block and the corresponding block information.
Last updated
Was this helpful?
This endpoint allows you to get the transactions in a block and the corresponding block information.
Last updated
Was this helpful?
Was this helpful?
// Request
curl -X GET -H 'Content-Type: application/json' https://aptos.blockpi.network/aptos/v1/your_api_key/v1/blocks/by_height/3617300?with_transactions=true
// Result
{
"block_height": "3617300",
"block_hash": "0x476a4ef5f0860e246cc11be465a2af1abac579feecaa9b6577d89b86a087bf8c",
"block_timestamp": "1666770485746778",
"first_version": "13287613",
"last_version": "13287614",
"transactions": [<array of transactions>]
}