get_block

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

“Block [N] details” / “what was in block [hash]” / “miner / proposer of block [X]” — block detail by number or hash. Returns timestamp, gas used, transaction count, miner / validator, parent / next blocks. Use for chain forensics, block-time analysis.

Parameters

NameTypeRequiredDescription
chainstringyes
block_number_or_hashstringyes

Example call

Arguments

{
  "chain": "ethereum",
  "block_number_or_hash": "18000000"
}

curl

curl -X POST https://gateway.pipeworx.io/blockscout/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_block","arguments":{"chain":"ethereum","block_number_or_hash":"18000000"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_block', {
  "chain": "ethereum",
  "block_number_or_hash": "18000000"
});

More examples

{
  "chain": "polygon",
  "block_number_or_hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "Block detail from Blockscout API"
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026