Skip to main content
POST
Swap quote — fans out to all providers, returns ranked best route

Authorizations

x-api-key
string
header
required

API key provided by WalletSuite team

Body

application/json

Quote request: returns the best route across all enabled providers.

srcChain
string
required

Source chain key (lowercase).

Example:

"ethereum"

dstChain
string
required

Destination chain key (lowercase).

Example:

"ethereum"

srcToken
string
required

Source token address (EVM hex / Solana mint), native, or the EVM EEEE sentinel.

Example:

"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"

dstToken
string
required

Destination token address.

Example:

"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"

srcAmount
integer
required

Source amount in raw base units (wei, lamports, sats).

Example:

10000000000000000

fromAddress
string
required

Sender address on srcChain.

Example:

"0xYourEvmWalletHere"

toAddress
string

Recipient address on dstChain. Defaults to fromAddress.

Example:

"0xYourEvmWalletHere"

slippageBps
integer<int32>
default:100

Slippage tolerance in basis points (10 = 0.1%).

Example:

100

srcSymbol
string

Optional source token symbol (required for THORChain ERC-20 pools).

Example:

"WETH"

dstSymbol
string

Optional destination token symbol.

Example:

"USDC"

srcDecimals
integer<int32>

Source token decimals (required for non-EVM aggregator routing).

Example:

18

dstDecimals
integer<int32>

Destination token decimals.

Example:

6

provider
string

Restrict the fanout to a single provider id.

Example:

"oneinch"

excludeProviders
string[]

Provider ids to skip during fanout.

Example:

Response

200 - */*

OK

ok
boolean
required
code
string
required
message
string
required
data
object