eth_getBlockByHash
Returns block information by hash.
Last updated
Was this helpful?
Was this helpful?
// Request
curl https://linea.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_getBlockByHash","params":["0x594f2b6aeb84eeddcdf2888c6092a16ee3c20fc007fff953e8d0055d735f419d",false],"id":1}'
// Result
{
"jsonrpc": "2.0",
"id": 1,
"result": {described as above}
}