Foundry x402 REST usage
Base transaction explained from the chain: success or reverted, block and time, from, to, ETH value, method selector, gas used and fee, contract created, and every ERC-20 transfer decoded with token symbol and amount. In...
550 services carry this tag in their source record. Tags come from the provider, not from us — a tag is a claim about what the service does, not proof that it does it well.
Base transaction explained from the chain: success or reverted, block and time, from, to, ETH value, method selector, gas used and fee, contract created, and every ERC-20 transfer decoded with token symbol and amount. In...
Use when an agent or seller must confirm a payment before delivering: checks a Base, Base Sepolia or Solana transaction for a USDC transfer to pay_to of at least amount. Input: tx (hash or signature), pay_to, network (de...
Next transaction nonce for any Base wallet via eth_getTransactionCount (latest + pending) - how many transactions it has sent and how many are still pending.
One answer with every tip topic (Solana slot/height, Solana priority-fee percentiles, on-chain SOL/USD, Base gas and Ethereum gas), each with its seq, observedAt and age. Served from the shared hub: each topic refreshes...
Current Base mainnet gas price (wei/gwei), EIP-1559 base_fee_gwei/priority_fee_gwei, and gas_price_usd. Use when an agent must estimate gas cost in USD before sending a Base transaction.
EVM Nonce Gap Check: calculates the gap between pending and proposed transaction nonces using only bounded caller-supplied values. Call when you need a bounded evm nonce gap check result before signing, submitting, repla...
Native ETH balance for one Base network address, read live from a public Base RPC node (eth_getBalance) and returned with the snapshot block it was read at.
Preflight an unfamiliar x402 paid API before spending. Validate the live 402 payment challenge, network, USDC asset, amount, payTo recipient, TLS, redirects, manifest presence, latency, and provenance. Returns determinis...
Base Transaction Lookup: status, from/to, value, fee, block and decoded ERC-20 transfers of a Base mainnet transaction. $0.002 per call.
ERC-20 token metadata: name, symbol, decimals and total supply for any token contract on Base, Polygon, Arbitrum, Optimism or Ethereum.
Real-time Base mainnet gas price signal (low/normal/high vs. recent average) — a recommendation on whether now is a cheap time to transact. Experimental/informational only — not financial advice.
Simulate a Base mainnet transaction before submitting it — real eth_estimateGas + eth_call against the given {to, data, value}, returns whether it would succeed, estimated gas, and estimated cost. POST body required. Exp...
Audit real gas spend across up to 20 Base mainnet transaction hashes you provide — total/average gas used, cost in ETH, per-tx breakdown. POST body required. Experimental/informational only — not financial advice.
A deterministic Base chain identity and official USDC contract-presence check. No request body. Not a token-risk report, transaction simulation, or payment proof.
Profile of a Base address: wallet (EOA), EIP-7702 delegated wallet or contract; transaction count; ETH and USDC balances; its primary Basename; the token it is, if it is an ERC-20; and the x402 seller it receives payment...
EVM Amount Min Check: checks an actual raw amount against a minimum raw amount using only bounded caller-supplied values. Call when you need a bounded evm amount min check result before signing, submitting, replacing, or...
EVM Finality Depth Check: checks confirmation count against a caller-required depth using only bounded caller-supplied values. Call when you need a bounded evm finality depth check result before signing, submitting, repl...
EVM Priority Fee Ratio: calculates the priority-fee share of the total fee cap using only bounded caller-supplied values. Call when you need a bounded evm priority fee ratio result before signing, submitting, replacing,...
EVM Signature V Classify: classifies common signature recovery and EIP-155 v values using only bounded caller-supplied values. Call when you need a bounded evm signature v classify result before signing, submitting, repl...
EVM Slippage Bounds Check: checks expected and minimum output against a maximum slippage policy using only bounded caller-supplied values. Call when you need a bounded evm slippage bounds check result before signing, sub...
EVM Token Balance Budget: checks caller-supplied raw token balance against transfer amount using only bounded caller-supplied values. Call when you need a bounded evm token balance budget result before signing, submittin...
EVM Transfer Recipient Check: compares an encoded recipient address with the intended recipient using only bounded caller-supplied values. Call when you need a bounded evm transfer recipient check result before signing,...
Read the transaction count of an address on Base. POST {"address":"0x..."} with an optional {"pending":true} to include the mempool. Returns the nonce an agent should use for its next transaction.
Determine whether an address on Base is a contract or an externally owned account. POST {"address":"0x..."} and receive isContract, the bytecode size in bytes and its keccak-256 hash. Useful before sending funds to an un...