Get Direct Tokens

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

Connected Assets API

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.

const connectedAssets = await rango.connectedAssets({
    from: {
        "blockchain": "ETH", 
        "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
    }
})
Connected Assets Swagger

Connected Assets Request

  • from* String

    • Description: The asset which is going to be swapped into other assets.

    • Example: ETH--0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48

Connected Assets Response

Returns a list of blockchains + assets of that blockchain that is directly available. Note: If list of assets is empty, it means almost all tokens on this specific chain are accessible from the given token.

  • data

    • Description: List of all possible destination assets for the provided source asset.

Last updated

Was this helpful?