Swap — across chains or on Base
Across chains — NEAR, Base, Ethereum, Solana, Bitcoin and more — through NEAR Intents: get a one-time deposit address, send from your own wallet, and the output arrives at your address, usually within a minute. On Base, connect a wallet and swap at the best price across Base DEXes, with the route shown before you sign. Funds never pass through us. Buying an unknown token runs our safety check first.
A good-till-block or conditional order with no limit-order contract and nobody holding the trade. Base keeps your signed transaction dormant until every condition holds — a deadline block, a flashblock position, a balance floor, or a caller-supplied storage predicate for a price — then includes it. We never hold funds or keys: you sign and submit to Base's sequencer.
Agents: the same swap is GET /api/x402/near-swap (cross-chain), GET /api/x402/base-swap (on Base, ready-to-sign transaction), and GET /api/x402/base-swap-validity (conditional — a Cobalt validity transaction).