v1

latestOpenAPI 3.0.02026-07-2614133121.9 KB
Fungible

This supports cross-chain actions among EVM chains, Cosmos chains, and between them. Returns minimal number of messages required to execute a multi-chain swap or transfer. Input consists of the output of route with additional information required for message construction (e.g. destination addresses for each chain)

post/v2/fungible/msgs

Request body

source_asset_denomstring

Denom of the source asset

source_asset_chain_idstring

Chain-id of the source asset

dest_asset_denomstring

Denom of the destination asset

dest_asset_chain_idstring

Chain-id of the destination asset

amount_instring

Amount of source asset to be transferred or swapped

amount_outstring

Amount of destination asset out

address_liststring[]

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

estimated_amount_outstring
slippage_tolerance_percentstring

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

chain_ids_to_affiliatesobject

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.

timeout_secondsstring

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

enable_gas_warningsboolean

Whether to enable gas warnings for intermediate and destination chains

fee_payer_addressstring

Alternative address to use for paying for fees, currently only for SVM source CCTP transfers, in b58 format.

Response

The messages required to execute the swap, as JSON.

min_amount_outstring

Minimum possible output after all operations, including fees and slippage