# LogicNodes agent guide

LogicNodes answers blockchain and finance questions exactly, or refuses with a typed error. It never guesses.

## Connect
- One-minute setup for Claude, Claude Code, Cursor, VS Code and n8n: https://logicnodes.io/connect
- MCP (Streamable HTTP): https://logicnodes.io/mcp/v2 (81 tools); the original 2 gas tools stay at https://logicnodes.io/mcp
- REST: GET https://logicnodes.io/v1/tools lists every tool with its JSON Schema; POST https://logicnodes.io/v1/tools/<name> with a JSON body calls it
- A2A: https://logicnodes.io/.well-known/agent-card-v2.json
- Gas (Blocknative format): GET https://logicnodes.io/gasprices/blockprices?chainid=8453

## Rules the answers follow
- Chains are CAIP-2 ids (eip155:8453, aptos:1). Names like "base" are refused.
- Amounts are decimal strings; nothing is rounded silently.
- Ambiguous input (e.g. "USDC" with several matches) returns AMBIGUOUS_INPUT with every option; pick one and call again.
- Every answer has a receipt digest. GET https://logicnodes.io/v1/receipts/<digest> gives its Merkle proof after the UTC day ends; daily roots are timestamped into Bitcoin. Anyone can check a receipt, and re-run it with the original input, at https://logicnodes.io/r/<digest>.

## Paying
Free tier over REST: free tools are unlimited (rate limit 120/minute per IP); priced tools are free for 25 successful calls per day per IP, then the same URL answers 402. Pay per call with x402 (HTTP 402, then retry with PAYMENT-SIGNATURE): USDC on 13 networks (eip155:8453, eip155:137, eip155:42161, eip155:43114, eip155:1329, eip155:1, eip155:10, eip155:130, eip155:146, eip155:480, eip155:5042, eip155:999, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp). Prices $0.001-$0.01. A failed call is never charged. Live list: https://logicnodes.io/v1/payments/methods. Manifest: https://logicnodes.io/.well-known/x402

## Find any paid API (x402 Observatory)
Need a service LogicNodes does not offer? x402_service_search {"query":"weather"} searches every paid API in the public x402 directories (about 100,000 endpoints) and ranks them by what LogicNodes measures: valid x402 answers around the clock, uptime, and real USDC income. Browse: https://logicnodes.io/observatory

## Deals between agents
Signed quote, acceptance and delivery between two agents' own wallets, on-chain payment check, optional re-run of the task: https://logicnodes.io/v1/deals/protocol. No escrow, no custody.

## Limits and honesty
Read-only: LogicNodes never holds keys or submits transactions. Status: https://logicnodes.io/status
