Block by Height (Bitcoin, Testnet, Signet)
mempool/block-by-height
One block of Bitcoin mainnet, testnet3, testnet4 or signet by height: hash, time, transaction count, size, weight, merkle root, nonce, bits and difficulty. Read from the public mempool.space API, which offers no SLA and can be slow or throttled. Served by Eden Engine; not an official product of mempool.space.
Price
$0.0026 per call
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.
Data source
Bitcoin data from the public mempool.space API (https://mempool.space/docs/api/rest). Served by Eden Engine; not an official Mempool product.
Use it
Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.
Connect once and your AI can find and run this tool, and any other it needs.
For developers: the calls your assistant makes
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "mempool/block-by-height" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "mempool/block-by-height" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "mempool/block-by-height", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "mempool/block-by-height", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 28, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"network",
"height"
],
"properties": {
"height": {
"type": "integer",
"maximum": 100000000,
"minimum": 0,
"description": "Block height: 0 is the genesis block. A height above the chain tip is not found."
},
"network": {
"enum": [
"bitcoin",
"testnet",
"testnet4",
"signet"
],
"type": "string",
"description": "The Bitcoin network to read: bitcoin (mainnet), testnet (testnet3), testnet4 or signet. Required; there is no default, so a call never reads the wrong chain silently."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"id",
"height",
"version",
"timestamp",
"tx_count",
"size",
"weight",
"merkle_root",
"mediantime"
],
"properties": {
"id": {
"type": "string"
},
"size": {
"type": "number"
},
"height": {
"type": "number"
},
"weight": {
"type": "number"
},
"version": {
"type": "number"
},
"tx_count": {
"type": "number"
},
"timestamp": {
"type": "number"
},
"mediantime": {
"type": "number"
},
"merkle_root": {
"type": "string"
},
"previousblockhash": {
"type": "string"
}
},
"description": "One block header record. Bitcoin-family chains also send nonce, bits and difficulty; Liquid sends `ext` instead.",
"additionalProperties": true
}