anchor-x402
v0.3.2x402-paid agent tools: 18 over HTTP, 14 over stdio.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
anchor_hash
Anchor a 32-byte hash to BOTH Base mainnet (as EIP-1559 calldata) and Solana mainnet (via the Memo program) in a single call. Returns both transaction hashes plus block-explorer URLs as cryptographic proof of when the hash existed. Pure infrastructure — no opinions about content. Use for DAO vote receipts, AI decision attestations, contract notarization, scientific data integrity, audit trails. $0.005 USDC.
| Parameter | Type | Description |
|---|---|---|
data | Arbitrary JSON to be canonicalized + SHA-256'd by the server. Mutually exclusive with `hash`. | |
hash | string | Pre-computed 32-byte hex hash (64 chars, no 0x prefix). Mutually exclusive with `data`. |
note | string | Optional 200-char note included in the response (NOT on-chain). |
screen_wallet
Wallet risk pre-flight for agent payments. OFAC SDN sanctions (Tornado Cash, Lazarus Group, Hydra Market, Blender.io, etc.) plus address-reputation (drainer, phishing, mixer, laundering) from GoPlus, resolved to an allow/review/block recommendation with a 0-100 risk score and per-signal detail. Use before any treasury transfer, KYC onboarding, vendor diligence, or marketplace counterparty check. $0.02 USDC.
| Parameter | Type | Description |
|---|---|---|
wallet * | string | EVM 0x… address (40 hex) or Solana base58 pubkey. |
attest_decision
Attest an agent decision over (input_hash, output_hash, decision) with domain separation: supply your own wallet signature, or omit `signature`/`scheme` and the anchor-x402 treasury signs for you (ideal for wallet-less agents) — then dual-chain anchor the Merkle root on Base and Solana mainnet. Returns the signer, on-chain proof URLs, and a free re-verify URL (POST /v1/attest/verify). Use when an AI agent's decision needs a cryptographic, auditable receipt — autonomous trade approvals, AI-assisted contract decisions, model-output attestation for liability records. $0.010 USDC.
| Parameter | Type | Description |
|---|---|---|
decision * | string | Free-form short label, e.g. "APPROVED", "REJECTED", "CONFIDENCE=0.93" (max 64 chars). |
input_hash * | string | 64-char hex SHA-256 of the agent's input. |
output_hash * | string | 64-char hex SHA-256 of the agent's output / decision payload. |
scheme | string | Signature scheme (required only when you supply a signature). |
signature | string | 0x-prefixed hex (eip191) or base58 (ed25519). Omit to have the anchor-x402 treasury sign for you. |
signer_pubkey | string | Required for ed25519 (Solana base58 pubkey). |
decode_tx
Structured decode of any mainnet transaction by hash. Supply chain ('base' | 'ethereum' | 'solana') and tx_hash. Returns from/to/value/gas/status/calldata for EVM, or slot/fee/signers/program_calls for Solana. Mined txs cached in-process. Use for tx inspection, audit, agent UX (rendering tx summaries to users). $0.001 USDC.
| Parameter | Type | Description |
|---|---|---|
chain * | string | |
tx_hash * | string | EVM 0x+64hex or Solana base58 signature. |
resolve_name
Cross-chain name resolution. Pass a name like 'vitalik.eth' or 'bonfida.sol' and get back the resolved address(es) across supported registries. Currently supports ENS (.eth) and Bonfida SNS (.sol). Cached 1h server-side. $0.001 USDC.
| Parameter | Type | Description |
|---|---|---|
name * | string | Human-readable name, e.g. 'vitalik.eth' or 'bonfida.sol'. |
token_price
USD spot price for any major token. Pass either `symbol` (BTC, ETH, SOL, USDC, etc.) OR (chain + contract). Returns USD price, 24h change percent, market cap, fetched-at timestamp. CoinGecko-backed, cached 60s. $0.001 USDC.
| Parameter | Type | Description |
|---|---|---|
chain | string | Chain slug: base, ethereum, solana, polygon, arbitrum, optimism, bsc, avalanche. |
contract | string | Token contract address. Required with chain. |
symbol | string | Token symbol like 'ETH'. Mutually exclusive with chain+contract. |
decode_calldata
Decode raw EVM calldata into a human-readable function name, canonical signature, and typed parameter values. Resolves the 4-byte selector against openchain.xyz's signature directory, then ABI-decodes the args. Use for tx inspection before signing, mempool analysis, debug. EVM-only (chain='ethereum'); 'solana' returns 400. $0.001 USDC.
| Parameter | Type | Description |
|---|---|---|
calldata_hex * | string | Raw EVM calldata (>=4 byte selector), with or without 0x prefix. |
chain * | string | EVM-only; 'solana' returns 400. |
contract_address | string | Optional. Reserved for future on-chain ABI lookups. |
parse_datetime
Parse any freeform datetime string ('tomorrow at noon', 'yesterday', '2026-05-13T15:30Z', 'in 2 hours') into a fully structured normalized form: ISO 8601, unix epoch, components (year/month/day/hour/min/sec/weekday), relative seconds + human form, confidence score. Saves agent LLM tokens on date parsing. $0.001 USDC.
| Parameter | Type | Description |
|---|---|---|
input * | string | Freeform datetime string. |
base_time | string | Optional ISO 8601 reference; defaults to now UTC. |
timezone | string | Optional IANA tz name (e.g. 'America/New_York'); defaults to UTC. |
intel_wallet
Unified wallet intelligence bundle. ONE call returns balances on Base + Ethereum + Solana, USDC across chains, transaction count, ENS/SNS reverse lookup, and sanctions verdict — all aggregated from 8–10 parallel free public sources. Replaces a wallet-investigation script with a single $0.005 call. Use for KYB pre-flight, counterparty research, fraud detection. $0.005 USDC.
| Parameter | Type | Description |
|---|---|---|
wallet * | string | EVM 0x… address (40 hex) or Solana base58 pubkey. |
roast
Witty, observational roast of any target — a wallet address, tweet, code snippet, startup idea, person, meme, anything. Returns a 3-5 paragraph LLM roast and a one-sentence neutral summary of the target. Clever, not mean-spirited. Use for entertainment, demo content, social. $0.05 USDC.
| Parameter | Type | Description |
|---|---|---|
target * | string | Anything to roast — free text up to 8000 chars. |
oracle
Yes/no oracle with dual-chain anchored verdict. LLM answers YES / NO / MAYBE with one-sentence reason, then anchors sha256(question|answer|timestamp) to Base + Solana mainnet so anyone can prove the question was asked at a specific time. Use for prediction-market commits, conditional contracts, time-stamped opinions, settling bets. $0.05 USDC.
| Parameter | Type | Description |
|---|---|---|
question * | string | A yes/no question (max 1000 chars). |
tldr
Summarize a URL or pasted text into 3-5 concise bullets. Fetches up to 500KB on the URL path, strips HTML with BeautifulSoup. Use for research distillation, link-rot insurance, agent reading lists. Exactly one of `text` or `url`. $0.01 USDC.
| Parameter | Type | Description |
|---|---|---|
text | string | Pasted text to summarize. Omit if providing `url`. |
url | string | URL to fetch + summarize. Omit if providing `text`. |
aura
Aura read of any target — returns color (free-form e.g. 'molten gold with copper veins'), tier (S/A/B/C/D/F), score (0-9999), and a 2-3 sentence punchy description. Universal input — wallet, tweet, project, person, idea, meme. Use for viral / shareable content, brand vibes, social. $0.01 USDC.
| Parameter | Type | Description |
|---|---|---|
target * | string | Anything to read the aura of (max 4000 chars). |
grade
Academic letter grade (A+ to F) with 3-7 red-pen marginalia one-liners and a one-paragraph teacher summary. Universal input — code, pitch deck, tweet, wallet, idea. Use for sharp feedback at low cost, prompt engineering eval, pre-investment screen. $0.01 USDC.
| Parameter | Type | Description |
|---|---|---|
target * | string | Anything to grade (max 6000 chars). |