Test NEAR Intents
swaps before they
cost anything.
Tidepool is a 1Click-compatible testnet sandbox: the official verifier, test tokens, a live maker and the same Swap API. Point your app or agent at it and run the full flow end to end.
// the only change from mainnet 1Click import { OpenAPI, OneClickService } from '@defuse-protocol/one-click-sdk-typescript'; OpenAPI.BASE = 'https://www.usetidepool.tech'; const q = await OneClickService.getQuote({ originAsset: 'nep141:usdc…', destinationAsset: 'nep141:wnear…', amount: '5000000', dry: false, }); // → depositAddress, then poll /v0/status → SUCCESS
The flow
Quote. Deposit. Settle.
refundTo.POST /v0/quote returns a price and a one-time deposit address.
Send amountIn to that address on NEAR or inside the verifier.
The maker fills it in one execute_intents call. Poll /v0/status for SUCCESS.
Production-shaped, zero-risk.
defuse v0.4.2, byte-identical to the GitHub release and re-checked by /v0/health.
Same /v0/quote, /v0/status and schemas. The official TypeScript SDK works with one line changed.
Quotes every pair from live prices and settles atomically with signed intents.
Partial deposits, missed deadlines and slippage all refund on chain, exactly like production.
USDC, USDT, wNEAR, wBTC, ETH and XAUT to a wallet or an intents balance, in one call.
llms.txt, llms-full.txt, AGENTS.md, OpenAPI and every page as Markdown.
Built for humans and agents
Every page ships as Markdown, with one-click Copy and Open in ChatGPT or Claude.