bb_getBlockHash RPC Method
Please note that this RPC method requires the Polygon Blockbook JSON-RPC add-on enabled on your QuickNode endpoint.
Parameters
blockHeight
integer
REQUIRED
The block height
Returns
result
object
A result object with the following field:
blockHash
string
The hash of the block at the given height
Request
1curl --location 'https://docs-demo.matic.quiknode.pro/' \2--header 'Content-Type: application/json' \3--data '{4"method": "bb_getBlockHash",5"params": [6194416917],8"id": 1,9"jsonrpc": "2.0"10}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free