Swap
Source chain ID (e.g., bitcoin, solana, 1, 56 )
Source token contract address. Use an empty string for native assets.
Destination chain ID (e.g., bitcoin, solana, 1, 56 )
Destination token contract address. Use an empty string for native assets.
Amount of the source token to swap (in base units)
Sender wallet address (used for generating transaction data)
Recipient wallet address (default: same as sender)
Maximum slippage in basis points (1% = 100 bps). Default behavior is provider-defined.
Referrer wallet address to receive a portion of the trade fee. Requires referralFeeBps to be set.
Referral fee in basis points (max 1000 = 10%). Requires referrer to be specified.
Comma-separated list of provider IDs to include in routing (e.g., "thorchain,1inch,0x").
Comma-separated list of provider IDs to exclude from routing (e.g., "thorchain,1inch,0x").
Default Response
Source chain ID
Source token address (or empty for native assets)
Destination chain ID
Destination token address (or empty for native assets)
Allowed slippage in basis points
Amount of source token to swap (in base units)
Sender wallet address
Recipient wallet address
Referrer address to receive trading fees
Referral fee percentage in bps
List of providers to include
List of providers to exclude
Default Response
Last updated