Get blocks by version
This endpoint allows you to get the transactions in a block and the corresponding block information given a version in the block.
Last updated
Was this helpful?
This endpoint allows you to get the transactions in a block and the corresponding block information given a version in the block.
Last updated
Was this helpful?
Was this helpful?
// Request
curl -X GET -H 'Content-Type: application/json' https://movement.blockpi.network/rpc/v1/your_api_key/v1/blocks/by_version/1
// Result
{
"block_height": "1",
"block_hash": "0xae57c688b78602035ff36d54f9cd72bb2c8e64129705e6c70d8fa942a1cc0a3f",
"block_timestamp": "1732636311639215",
"first_version": "1",
"last_version": "3",
"transactions": null
}