Fetches the block object associated with the provided hash.
Parameters
DATA, 32 Bytes - Block Hash.Boolean- Returns full transaction details iftrue, or only hashes iffalse.
Example
Request
curl -X POST 'https://api.shasta.trongrid.io/jsonrpc' --data '{
"jsonrpc": "2.0",
"method": "eth_getBlockByHash",
"params": ["0x0000000000f9cc56243898cbe88685678855e07f51c5af91322c225ce3693868", false],
"id": 1
}'Response
{"jsonrpc":"2.0","id":1,"result":null}