Skip to main content
Run the exact same quote then execute then submit-signature then status flow from the Quickstart, end to end, with nothing at stake: no funds move, and RAVN never bills or meters the call.

Turn it on

Set sandbox: true on POST /quote (or /x402/quote, same contract):
sandbox doesn’t touch pricing: the quote you get back is still live and real. It only changes what happens once you act on it. The flag rides through the opaque quoteToken automatically, so every later call that takes that token (/execute, /submit-signature, /status, or their /x402/* equivalents) sees it too, with no separate flag to pass anywhere else. A sandbox quoteToken works interchangeably across the plain and x402 endpoints, same as a real one.

What changes downstream

THORChain with BTC as the source, and Chainflip, aren’t supported in sandbox mode: both can trigger a real on-chain cost as part of building the execution, which sandbox mode has no way to fake away. If your quote’s winner is either one, /execute returns 500 INTERNAL with a message naming the venue instead of an execution payload. Pass excludeVenues: ["thorchain", "chainflip"] on /quote while testing. Every route that includes either venue always has at least one other real venue in the race, so excluding them is never a dead end.
A sandbox swap never touches RAVN’s swap fee accounting on either the free REST endpoints or their x402 equivalents, so it’s safe to hit repeatedly while integrating. On x402 specifically, that’s separate from the per-call USDC access fee: that payment gate doesn’t look at sandbox and still charges normally, sandbox mode only saves you from moving swap funds, not from the cost of the call itself.