Query method (specified block)
api/v3
Request Body - Content-Type: application/json;charset=utf-8
Parameter | Required | Description |
| Yes* | The hash value of the block |
| Yes* | The height value of the block |
| No | Include blocks within the specified range. (Default: 1) |
If the value of range
is positive and greater than 1, a list of blocks starting from the specified hash
or height
is returned. If the range
is negative, the list of blocks ending from the specified hash
or height
is returned.
*Only one of either the hash
or height
parameter should be used. If both are passed as query parameters, the hash
parameter is used.GET/api/v3/block?{height}&{range}GET/api/v3/block?{hash}&{range}
Example request with height specified
Example request with hash specified
Last updated