Swing Points Program is Live 🚀 Learn More →

Request a Transfer Quote

get
/v0/transfer/quote

Get a quote for each available route to find the best price.

fromChain
string
required

Source chain slug

Example:
ethereum
fromTokenAddress
string
required

Token address on source chain.

Example:
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
fromUserAddress
string
required

User's wallet address from source chain.

Example:
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
toChain
string
required

Destination chain slug.

Example:
ethereum
toTokenAddress
string
required

Token address on the destination chain.

toTokenSymbol
string
required

Token symbol on the destination chain.

toUserAddress
string
required

User's wallet address on the destination chain.

tokenAmount
string
required

Token amount in minimal divisible unit (Wei)

Example:
1000000
tokenSymbol
string
required

Token symbol on the source chain.

contractCall
boolean

Optionally set to true or false to identify contract call

debug
string

Optionally set to any value - to return more verbose details on quote

fee
number

The percentage of fee charged by partners in Basis Points (BPS) units. This will override the default fee rate configured via platform. 1 BPS = 0.01%. The maximum value is 1000 (which equals 10%). The minimum value is 1 (which equals 0.01%).

>= 1<= 1000
includeDEXS
string

Advanced option to specify exact DEXes to utilize in the quote. This will impact prices and quote availability. If the DEX key is invalid, it will revert to default behaviour. Each dex-aggregator is '|' seperated and then followed by a comma separated list of DEX names for each aggregator. See example: paraswap:Aerodrome|openocean:12

Example:
paraswap:Aerodrome|openocean:12
maxSlippage
number

An optional percentage value passed as a decimal between 0 and 1. (i.e 0.02 = 2%). Defaults to 3%. Your transaction will revert if the price changes unfavorably by more than this percentage.

Example:
0.01
nativeStaking
boolean

Optionally set to true or false to identify cosmos native staking

partner
string

Optional Contract Address of pre-determined list of Swing Partners

projectId
string

Optional Project Identifier. Will return project-specific quote

skipGasEstimate
boolean

Optionally set to true or false to skip gas estimations to speed up quote response times

Parameters
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
: