elements_get_block
Retrieve a Liquid/Elements block by hash or height to inspect blockchain data and support contract interactions.
Instructions
Get block by hash or height
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "elements_get_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | No | Block hash | |
| height | No | Block height |