Parameters
- BlockNumberinteger
The block number for which you want to obtain the corresponding block hash. If not provided, the request will return the hash for the latest block
Returns
- resultstring
The block hash of the specified block number
Request
Response
1{2"jsonrpc": "2.0",3"result": "0x9e5972d2a3288f38a000221c3f411e15437f3eb86f44b5d454c45f15af6cd25b",4"id": 15}
1{2"jsonrpc": "2.0",3"result": "0x9e5972d2a3288f38a000221c3f411e15437f3eb86f44b5d454c45f15af6cd25b",4"id": 15}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free