POST
/
v2
/
fungible
/
msgs
curl --request POST \
  --url https://api.skip.build/v2/fungible/msgs \
  --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": "1000000",
  "amount_out": "107033",
  "address_list": [
    "axelar1x8ad0zyw52mvndh7hlnafrg0gt284ga7u3rez0",
    "osmo1x8ad0zyw52mvndh7hlnafrg0gt284ga7syxplu",
    "cosmos1x8ad0zyw52mvndh7hlnafrg0gt284ga7cl43fw"
  ],
  "operations": [
    {
      "transfer": {
        "port": "transfer",
        "channel": "channel-3",
        "from_chain_id": "axelar-dojo-1",
        "to_chain_id": "osmosis-1",
        "pfm_enabled": false,
        "supports_memo": true,
        "dest_denom": "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858"
      }
    },
    {
      "swap": {
        "swap_in": {
          "swap_venue": {
            "name": "osmosis-poolmanager",
            "chain_id": "osmosis-1"
          },
          "swap_operations": [
            {
              "pool": "678",
              "denom_in": "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
              "denom_out": "uosmo"
            },
            {
              "pool": "1",
              "denom_in": "uosmo",
              "denom_out": "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2"
            }
          ],
          "swap_amount_in": "1000000"
        },
        "estimated_affiliate_fee": "0ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2",
        "from_chain_id": "osmosis-1",
        "chain_id": "osmosis-1",
        "denom_in": "ibc/D189335C6E4A68B513C10AB227BF1C1D38C746766278BA3EEB4FB14124F1D858",
        "denom_out": "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2"
      }
    },
    {
      "transfer": {
        "port": "transfer",
        "channel": "channel-0",
        "from_chain_id": "osmosis-1",
        "to_chain_id": "cosmoshub-4",
        "pfm_enabled": true,
        "supports_memo": true,
        "dest_denom": "uatom"
      }
    }
  ],
  "slippage_tolerance_percent": "1",
  "chain_ids_to_affiliates": {}
}'

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

amount_out
string

Amount of destination asset out

address_list
string[]

Array of receipient and/or sender address for each chain in the path, corresponding to the chain_ids array returned from a route request

operations
object[]

Array of operations required to perform the transfer or swap

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

post_route_handler
object
chain_ids_to_affiliates
object

Map of chain-ids to arrays of affiliates. The API expects all chains to have the same cumulative affiliate fee bps for each chain specified. If any of the provided affiliate arrays does not have the same cumulative fee, the API will return an error.

enable_gas_warnings
boolean
default: false

Whether to enable gas warnings for intermediate and destination chains

Response

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

Indicates fees incurred in the execution of the transfer