Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
data— the 32-byte hash of the block.boolean— iftrue, returns the full transaction objects; iffalse, returns only the hashes of the transactions.
Response
result— the block object, ornullwhen no block was found. See eth_getBlockByNumber for the full response structure.
eth_getBlockByHash code examples
Use case
A practical use case foreth_getBlockByHash is verifying block data when you have a specific block hash from a transaction receipt or external source.Body
application/json