tip_height
Pack: blockstream-info · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/tip_height for the schema, then POST the same URL with its arguments for the data.
Current block height of the chain tip.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
network | string | no | mainnet (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
| Field | Type | Description |
|---|---|---|
height | number | Current 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 — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the blockstream-info pack
{
"mcpServers": {
"blockstream-info": {
"url": "https://gateway.pipeworx.io/blockstream-info/mcp"
}
}
}
See Getting Started for client-specific install steps.