Actions20
- Block Number
- Chain ID
- Gas Price
- Get Balance
- Get Block by Hash
- Get Block by Number
- Get Block Tx Count by Hash
- Get Block Tx Count by Number
- Get Code
- Get My Balance
- Get Transaction by Block Hash and Index
- Get Transaction by Block Number and Index
- Get Transaction by Hash
- Get Transaction Count
- Get Transaction Receipt
- Get Uncle Count by Block Hash
- Get Uncle Count by Block Number
- Help
- Peer Count
- Syncing
Get Block by Hash
AI-generatedSummary
Queries Ethereum block details by block hash via the teckel platform, returning either full transaction objects or only hashes.
Inputs
- network — Target network (mainnet or sepolia). Defaults to mainnet.
- block_hash (required) — The block hash to query (0x-prefixed hex).
- is_full — Whether to return full transaction objects (true) or only transaction hashes (false). Defaults to false.
Output shape
A list of items, each containing a JSON object with the block data (including transaction hashes if is_full is false).
The returned JSON structure matches the Ethereum JSON-RPC response for eth_getBlockByHash.
Examples
Example 1: Fetch full block details for a specific mainnet block.
network: mainnet, block_hash: 0x123..., is_full: true
Example 2: Fetch only transaction hashes for a Sepolia block.
network: sepolia, block_hash: 0xabc..., is_full: false