chain_info
Pack: nist-beacon · Endpoint: https://gateway.pipeworx.io/nist-beacon/mcp
Chain metadata.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
chain_id | number | yes |
Example call
Arguments
{
"chain_id": 1
}
curl
curl -X POST https://gateway.pipeworx.io/nist-beacon/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"chain_info","arguments":{"chain_id":1}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('chain_info', {
"chain_id": 1
});
Response shape
| Field | Type | Description |
|---|---|---|
chain | object | Chain metadata object |
statusCode | integer | HTTP status code |
Full JSON Schema
{
"type": "object",
"properties": {
"chain": {
"type": "object",
"description": "Chain metadata object"
},
"statusCode": {
"type": "integer",
"description": "HTTP status code"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"nist-beacon": {
"url": "https://gateway.pipeworx.io/nist-beacon/mcp"
}
}
}
See Getting Started for client-specific install steps.