Skip to main content
POST
eth_getBlockByHash
Tempo API method that returns information about a block specified by its hash. This method can return full transaction objects or just transaction hashes depending on the second parameter.
Get your 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.
Tempo blocks include additional fields not found in standard Ethereum blocks: mainBlockGeneralGasLimit, sharedGasLimit, and timestampMillisPart for sub-second precision.

Parameters

  • blockHash — the hash of the block to retrieve
  • fullTransactions — if true, returns full transaction objects; if false, returns only transaction hashes

Response

  • result — a block object, or null if no block was found:
    • number — the block number
    • hash — the block hash
    • parentHash — hash of the parent block
    • timestamp — block timestamp in seconds
    • timestampMillisPart — sub-second timestamp (0-999 ms), Tempo-specific
    • transactions — array of transaction objects or hashes
    • Additional Tempo fields for payment lanes gas limits

eth_getBlockByHash code examples

Body

application/json
jsonrpc
string
default:2.0
method
string
default:eth_getBlockByHash
params
any[]

Block hash and boolean for full transactions

id
integer
default:1

Response

200 - application/json

The block information

jsonrpc
string
id
integer
result
object | null

Block object or null if not found

Last modified on June 25, 2026