tip_height

Pack: blockstream-info · Endpoint: https://gateway.pipeworx.io/blockstream-info/mcp

Current block height of the chain tip.

Parameters

NameTypeRequiredDescription
networkstringnomainnet (default) | testnet

Example call

Arguments

{
  "network": "mainnet"
}

curl

curl -X POST https://gateway.pipeworx.io/blockstream-info/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tip_height","arguments":{"network":"mainnet"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('tip_height', {
  "network": "mainnet"
});

More examples

{
  "network": "testnet"
}

Response shape

Always returns: height

FieldTypeDescription
heightnumberCurrent block height of the chain tip
Full JSON Schema
{
  "type": "object",
  "properties": {
    "height": {
      "type": "number",
      "description": "Current block height of the chain tip"
    }
  },
  "required": [
    "height"
  ]
}

Connect

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

{
  "mcpServers": {
    "blockstream-info": {
      "url": "https://gateway.pipeworx.io/blockstream-info/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026