get_block_by_number
Retrieve block details by specifying the block number and network for BNB Chain or other supported networks. Defaults to BSC mainnet if no network is provided.
Instructions
Get a block by number
Input Schema
Name | Required | Description | Default |
---|---|---|---|
blockNumber | Yes | The block number 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": {
"blockNumber": {
"description": "The block number 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": [
"blockNumber"
],
"type": "object"
}