Call a Blockchain IQ x402 endpoint
call_endpointCalls one catalogue resource with a plain GET. A free resource returns its data. A paid one returns the x402 payment requirements (HTTP 402: price, network, asset, payTo) and is NOT paid by this server, which holds no wallet. To buy: pay with your own x402 client, then call again with the signed payload in payment. Nothing is charged unless the data is delivered.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "call_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Resource id from list_endpoints. | |
| query | No | Query-string parameters named in the resource's params. | |
| payment | No | Optional. The base64 x402 payment payload YOUR client signed for this exact request; forwarded as the PAYMENT-SIGNATURE header. | |
| pathParams | No | Values for {placeholders} in the resource path, e.g. {"chain":"ethereum"}. Letters, digits, dot, dash, underscore. |