eth_getBlockByHash
Reference: Here
Parameters
params: [
"0xdc0818cf78f21a8e70579cb46a43643f78291264dda342ae31049421c82d21ae",
false,
]Returns
Last updated
Was this helpful?
Was this helpful?
// Result
{
"id":83,
"jsonrpc": "2.0",
"result": "0x2abfcdcfa71e54e"
}curl https://mainnet.opbnb.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getBlockByHash","params":["0x6da3168a95ef9f6134d2bda97c1ef07b4c903cf9726d64433fd3d55e089bd0d2", false],"id":1}'
curl https://testnet.opbnb.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_getBlockByHash","params":["0x0cded9ac9b75837367ddcf2af8cec8a1608d7b1c375d85ca0bae73885f1c1e1f", false],"id":1}'