Fungible
Post /v2/fungible/assets_between_chains
Fungible
Post /v2/fungible/assets_between_chains
Given 2 chain IDs, returns a list of equivalent assets that can be transferred
POST
/
v2
/
fungible
/
assets_between_chains
curl --request POST \
--url https://api.skip.build/v2/fungible/assets_between_chains \
--header 'Content-Type: application/json' \
--data '{
"source_chain_id": "cosmoshub-4",
"dest_chain_id": "osmosis-1"
}'
{
"assets_between_chains": [
{
"asset_on_source": {
"denom": "uatom",
"chain_id": "cosmoshub-4",
"origin_denom": "uatom",
"origin_chain_id": "cosmoshub-4",
"trace": "",
"is_cw20": false,
"is_evm": false,
"symbol": "ATOM",
"name": "ATOM",
"logo_uri": "https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.png",
"decimals": 6,
"description": "The native staking and governance token of the Cosmos Hub.",
"coingecko_id": "cosmos",
"recommended_symbol": "ATOM"
},
"asset_on_dest": {
"denom": "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2",
"chain_id": "osmosis-1",
"origin_denom": "uatom",
"origin_chain_id": "cosmoshub-4",
"trace": "transfer/channel-0",
"is_cw20": false,
"is_evm": false,
"symbol": "ATOM",
"name": "ATOM",
"logo_uri": "https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.png",
"decimals": 6,
"description": "The native staking and governance token of the Cosmos Hub.",
"coingecko_id": "cosmos",
"recommended_symbol": "ATOM"
},
"txs_required": 1,
"bridges": [
"IBC"
]
}
]
}
Body
application/json
Response
200
application/json
OK
The response is of type object
.
curl --request POST \
--url https://api.skip.build/v2/fungible/assets_between_chains \
--header 'Content-Type: application/json' \
--data '{
"source_chain_id": "cosmoshub-4",
"dest_chain_id": "osmosis-1"
}'
{
"assets_between_chains": [
{
"asset_on_source": {
"denom": "uatom",
"chain_id": "cosmoshub-4",
"origin_denom": "uatom",
"origin_chain_id": "cosmoshub-4",
"trace": "",
"is_cw20": false,
"is_evm": false,
"symbol": "ATOM",
"name": "ATOM",
"logo_uri": "https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.png",
"decimals": 6,
"description": "The native staking and governance token of the Cosmos Hub.",
"coingecko_id": "cosmos",
"recommended_symbol": "ATOM"
},
"asset_on_dest": {
"denom": "ibc/27394FB092D2ECCD56123C74F36E4C1F926001CEADA9CA97EA622B25F41E5EB2",
"chain_id": "osmosis-1",
"origin_denom": "uatom",
"origin_chain_id": "cosmoshub-4",
"trace": "transfer/channel-0",
"is_cw20": false,
"is_evm": false,
"symbol": "ATOM",
"name": "ATOM",
"logo_uri": "https://raw.githubusercontent.com/cosmos/chain-registry/master/cosmoshub/images/atom.png",
"decimals": 6,
"description": "The native staking and governance token of the Cosmos Hub.",
"coingecko_id": "cosmos",
"recommended_symbol": "ATOM"
},
"txs_required": 1,
"bridges": [
"IBC"
]
}
]
}