private: true on the quote and the build.
Ghost Mode is EVM-only today. Non-EVM chains (Solana, Bitcoin, Sui) route through the public flow,
private: true is ignored.Setup
Steps
1
Quote
Request a private quote by setting
private: true at the top level. Routing is restricted to providers that support a private mempool.private is a top-level flag, not a per-leg one. Other quote options are in advanced quote fields.2
Approve
Identical to a normal bridge: approval is on the source chain, and
AutoPermit stays gasless where the token allows.Approvals are public by design: only the trade itself is routed privately. Other approval flows: Check allowance and Approval mechanisms.
3
Build
Carry the flag through to the build, set
private: true on the request too, so the transaction is submitted through the private relay.Set
private on both the quote and the build. The response echoes private back so you can confirm the route was honored. Full request shape: Execute trade.4
Status
Track it exactly like a normal bridge: poll to a terminal state.
Private routing can add slight latency versus the public mempool. See Track trade status for the polling helper.
End-to-end
API usage
Set"private": true on both the quote and the build; status is unchanged.
Public vs Ghost Mode
Read more in Ghost Mode.