Skip to main content
POST

Body

application/json
source_asset_denom
string

Denom of the source asset

source_asset_chain_id
string

Chain-id of the source asset

dest_asset_denom
string

Denom of the destination asset

dest_asset_chain_id
string

Chain-id of the destination asset

amount_in
string

Amount of source asset to be transferred or swapped. Only one of amount_in and amount_out should be provided.

amount_out
string

Amount of destination asset to receive. Only one of amount_in and amount_out should be provided. If amount_out is provided for a swap, the route will be computed to give exactly amount_out.

cumulative_affiliate_fee_bps
string | null

Cumulative fee to be distributed to affiliates, in bps (optional)

swap_venues
object[]

Swap venues to consider, if provided (optional)

allow_unsafe
boolean

Toggles whether the api should return routes that fail price safety checks.

experimental_features
string[]

Array of experimental features to enable

allow_multi_tx
boolean

Whether to allow route responses requiring multiple transactions

bridges
enum<string>[]

Array of bridges to use

Bridge Type:

  • IBC - IBC Bridge
  • AXELAR - Axelar Bridge
  • CCTP - CCTP Bridge
  • HYPERLANE - Hyperlane Bridge
  • OPINIT - Opinit Bridge
  • GO_FAST - Go Fast Bridge
  • STARGATE - Stargate Bridge
  • LAYER_ZERO - Layerzero Bridge
  • EUREKA - IBC Eureka Bridge
Available options:
IBC,
AXELAR,
CCTP,
HYPERLANE,
OPINIT,
GO_FAST,
STARGATE,
LAYER_ZERO,
EUREKA
smart_relay
boolean

Indicates whether this transfer route should be relayed via Skip's Smart Relay service - true by default.

smart_swap_options
object
allow_swaps
boolean

Whether to allow swaps in the route

go_fast
boolean

Whether to enable Go Fast routes

Response

Swap and transfer route summary & quote

amount_in
string
required

Amount of source asset to be transferred or swapped

amount_out
string
required

Amount of destination asset out

chain_ids
string[]
required

Chain-ids of all chains of the transfer or swap, in order of usage by operations in the route

required_chain_addresses
string[]
required

All chain-ids that require an address to be provided for, in order of usage by operations in the route

dest_asset_chain_id
string
required

Chain-id of the destination asset

dest_asset_denom
string
required

Denom of the destination asset

estimated_amount_out
string
required

Amount of destination asset out, if a swap is performed

operations
object[]
required

Array of operations required to perform the transfer or swap

source_asset_chain_id
string
required

Chain-id of the source asset

source_asset_denom
string
required

Denom of the source asset

txs_required
integer
required

Number of transactions required to perform the transfer or swap

estimated_route_duration_seconds
integer
required

The estimated time in seconds for the route to execute

does_swap
boolean

Whether this route performs a swap

swap_venues
object[]

Swap venue on which the swap is performed, if a swap is performed

usd_amount_in
string

Amount of the source denom, converted to USD value

usd_amount_out
string

Amount of the destination denom expected to be received, converted to USD value

swap_price_impact_percent
string | null

Price impact of the estimated swap, if present. Measured in percentage e.g. "0.5" is .5%

warning
object | null

Indicates if the route is unsafe due to poor execution price or if safety cannot be determined due to lack of pricing information

estimated_fees
object[]

Indicates fees incurred in the execution of the transfer