block

Pack: blockchair · Endpoint: https://gateway.pipeworx.io/blockchair/mcp

Block details by hash or height.

Parameters

NameTypeRequiredDescription
chainstringyes
hash_or_heightstringyesBlock hash (hex) or numeric height as string.

Example call

Arguments

{
  "chain": "bitcoin",
  "hash_or_height": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f"
}

curl

curl -X POST https://gateway.pipeworx.io/blockchair/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"block","arguments":{"chain":"bitcoin","hash_or_height":"000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('block', {
  "chain": "bitcoin",
  "hash_or_height": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f"
});

More examples

{
  "chain": "ethereum",
  "hash_or_height": "19000000"
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "Block details including hash, height, transactions, and metadata"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "blockchair": {
      "url": "https://gateway.pipeworx.io/blockchair/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 7, 2026