Connections API

List of all tokens which can be swapped from a given token

Connected Assets (Test)

This is an experimental endpoint that you could use to find which tokens can be swapped from a given token using one single step transaction.

curl --request GET \
     --url 'https://api.rango.exchange/basic/connected-assets?from=ETH.USDC--0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48&apiKey=c6381a79-2817-4602-83bf-6a641a409e32' \
     --header 'accept: */*'

Connected Assets Request

Connected Assets Response

Returns a list of Routing Access Item, each having a blockchain and list of assets. If list of assets is empty, it means almost all tokens on this specific chain are accessible from the given token.

Sample Response:

{
    "data": [{
        "blockchain": "ETH",
        "assets": []
    },
    {
        "blockchain": "BSC",
        "assets": []
    },
    {
        "blockchain": "BOBA",
        "assets": [{
            "blockchain": "BOBA",
            "symbol": "USDC",
            "address": "0x66a2a913e447d6b4bf33efbec43aaef87890fbbc"
        }]
    },
    {
        "blockchain": "EVMOS",
        "assets": [{
            "blockchain": "EVMOS",
            "symbol": "CEUSDC",
            "address": "0xe46910336479f254723710d57e7b683f3315b22b"
        }]
    }]
}

Last updated