Create a new exchange (swap). Use type: "private" or type: "standard" for centralized exchanges or type: "dex" for decentralized exchanges.
Documentation Index
Fetch the complete documentation index at: https://docs.houdiniswap.com/llms.txt
Use this file to discover all available pages before exploring further.
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)
Sender's wallet address for refunds if a fixed-rate swap fails. Required when the quote was created with fixed: true.
200EIP-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.
WAITING_FOR_DEPOSIT, DEPOSIT_DETECTED, EXCHANGE_IN_PROGRESS, SENDING_TO_INTERMEDIARY, REACHED_INTERMEDIARY, INITIATING_SECOND_EXCHANGE, SECOND_EXCHANGE_IN_PROGRESS, SENDING_TO_RECEIVER, SWAP_COMPLETED, EXPIRED, FAILED, REFUNDED, DELETED 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, tc, 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