POST
/
v2
/
fungible
/
msgs_direct
curl --request POST \
  --url https://api.skip.build/v2/fungible/msgs_direct \
  --header 'Content-Type: application/json' \
  --data '{
  "source_asset_denom": "uusdc",
  "source_asset_chain_id": "axelar-dojo-1",
  "dest_asset_denom": "uatom",
  "dest_asset_chain_id": "cosmoshub-4",
  "amount_in": "1500000000",
  "chain_ids_to_addresses": {
    "axelar-dojo-1": "axelar1x8ad0zyw52mvndh7hlnafrg0gt284ga7u3rez0",
    "osmosis-1": "osmo1x8ad0zyw52mvndh7hlnafrg0gt284ga7syxplu",
    "cosmoshub-4": "cosmos1x8ad0zyw52mvndh7hlnafrg0gt284ga7cl43fw"
  },
  "slippage_tolerance_percent": "3",
  "allow_multi_tx": true
}'

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. If this is a swap, only one of amount_in and amount_out should be provided.

amount_out
string

Amount of destination asset out. If this is a swap, 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.

chain_ids_to_addresses
object

Map of chain-ids to receipient and/or sender address for each chain in the path. Since the path is not known to the caller beforehand, the caller should attempt to provide addresses for all chains in the path, and the API will return an error if the path cannot be constructed.

swap_venues
object[]

Swap venues to consider, if provided (optional)

slippage_tolerance_percent
string

Percent tolerance for slippage on swap, if a swap is performed

timeout_seconds
string

Number of seconds for the IBC transfer timeout, defaults to 5 minutes

chain_ids_to_affiliates
object

Map of chain-ids to arrays of affiliates. Since cumulative_affiliate_fee_bps must be provided to retrieve a route, and the swap chain is not known at this time, all chains must have the same cumulative_affiliate_fee_bps otherwise the API will return an error.

post_route_handler
object
allow_multi_tx
boolean

Whether to allow route responses requiring multiple transactions

allow_unsafe
boolean

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

bridges
enum<string>[]

Array of bridges to use

Available options:
IBC,
AXELAR,
CCTP,
HYPERLANE
smart_relay
boolean

Indicates whether this transfer route should be relayed via Skip's Smart Relay service

smart_swap_options
object
allow_swaps
boolean

Whether to allow swaps in the route

enable_gas_warnings
boolean
default: false

Whether to enable gas warnings for intermediate and destination chains

Response

200 - application/json
msgs
object[]
txs
object[]
route
object