Build exact-input swap transactions without broadcasting them.
Recommended unsigned flow
Omit wallets.privateKey. The response contains unsignedTransactions; sign every entry locally, then submit the signed values through /swap/api/v1/transaction with type: "submit".
If wallets.privateKey is supplied, the response contains signed transactions in result. Avoid this mode unless your backend can handle private keys securely.
Supported routes
| Chain | Exchanges/routes |
|---|---|
| Solana | Pump.fun, PumpAMM, Raydium CLMM/CPMM, Jupiter |
| Ethereum | Uniswap V2/V3 |
| Base | Uniswap V2/V3 |
| BSC | Fourmeme, PancakeSwap V2 |
Only exact-input swaps are supported. Route availability can vary by deployment configuration.
Jupiter
Jupiter supports Solana only, returns exactly one unsigned transaction, does not support tax or buildAndSubmit, and ignores MEV settings. Sign the returned transaction without modifying its message. When submitting, return the unchanged requestId and lastValidBlockHeight; the order is bound to the API credential and cannot be replayed after successful execution.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||