get_block_by_hash
Retrieve blockchain block details using a specific block hash. Supports multiple networks, including BSC, Ethereum, and others, with BSC mainnet as default.
Instructions
Get a block by hash
Input Schema
Name | Required | Description | Default |
---|---|---|---|
blockHash | Yes | The block hash to look up | |
network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"blockHash": {
"description": "The block hash to look up",
"type": "string"
},
"network": {
"default": "bsc",
"description": "Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet.",
"type": "string"
}
},
"required": [
"blockHash"
],
"type": "object"
}