Create a new exchange (swap). Use type: "private" or type: "standard" for centralized exchanges or type: "dex" for decentralized exchanges.
Request body for creating a new exchange
Destination wallet address where funds will be sent
1 - 200Quote ID from a prior quote response. Amount, from token, to token, and swap provider are retrieved from the provided quote. For CEX exchanges, if the exchange fails with the chosen swap provider, it will fallback to the next best route.
Source wallet address (required for DEX, ignored for CEX)
EIP-712 signatures for permit-based approvals (DEX only)
Destination tag / memo (e.g. for XRP, XLM)
64Wallet info string
256Exchange created
A class representation of the BSON ObjectId type.
INITIALIZING, NEW, WAITING, CONFIRMING, EXCHANGING, ANONYMIZING, FINISHED, EXPIRED, FAILED, REFUNDED, DELETED NEW, WAITING, CONFIRMING, EXCHANGING, FINISHED, EXPIRED, FAILED, REFUNDED, SENDING, VERIFYING, FALLBACK NEW, WAITING, CONFIRMING, EXCHANGING, FINISHED, EXPIRED, FAILED, REFUNDED, SENDING, VERIFYING, FALLBACK -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8 Exchange In
ch, cl, cn, el, le, se, ss, sz, sp, eb, nx, cc, qx, sw, dl, ad, wh, cf, un, jp, mn, rd, ps, cs, kd, ct, zx, wc, su, bd, tt, sd, bg, ab 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ETA time, depending on swap
Stable coin analitical data