src_chain, dst_chain | yes | Lowercase chain names. Equal values produce a same-chain swap quote. |
src_token, dst_token | yes | Token addresses from the catalog. |
trade_type | yes | Which side amount fixes and whether the output is guaranteed. See Trade types. |
amount | yes | Decimal string in base units: source token’s for exact input, destination token’s for expected output. |
recipient | yes | Destination address. Must match the destination chain’s address format. |
refund_address | yes | Source-chain address a refund is paid to. |
depositor | no | Source-chain wallet that will sign the deposit. Defaults to refund_address. Set it when another wallet deposits: a Solana deposit that swaps first is built for this wallet. |
gas_drop | yes | Native asset to deliver on the destination, in base units. Empty string for none. |
slippage_bps | no | Slippage for the whole route: min_amount_out is amount_out less this. Omit to let the operator pick a tier for each leg. See Slippage. |
src_slippage_bps | no | Floor for the source swap leg. Applies only when slippage_bps is omitted. |
referrers | no | Referrer addresses and their basis points. Request the quote with your API key: a keyless quote validates the list, then drops it and charges no referrer fee. See Referral program. |
gasless | no | Price the quote for a relayed, signature-only deposit. See Sponsoring gas. |
sponsor_fees | no | With gasless, charge the relay gas to your partner funding balance. Requires an API key. See Sponsoring gas. |
sponsor_gas_max | no | With sponsor_fees, the most relay gas your balance covers, in base units of the source chain’s native asset. The rest comes out of the user’s output. See Sponsoring gas. |