For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Address Token Balance

Get details of a list of wallets, including their explorer Url & balance

Get Wallets Details API

Use this method if you want to get all tokens of a list of wallet addresses for some desired blockchains. Note that this endpoint is slow since it queries for all tokens an address is holding and balance of each one. We recommend to call the RPC directly or use single token balance method whenever possible.

If you are using Rango Public Test Api Key for testing the API, make sure to use "https://public-api.rango.exchange" for endpoint calls. If you have access to a Private API Key, you must use "https://api.rango.exchange"

const walletDetails = await rangoClient.getWalletsDetails({
    walletAddresses: [{
        blockchain: "BSC", 
        address: "0xeb2629a2734e272bcc07bda959863f316f4bd4cf"
    }]
})
const response = await axios.get('https://public-api.rango.exchange/wallets/details', {
  params: {
    'address': 'BSC.0xeb2629a2734e272bcc07bda959863f316f4bd4cf',
    'apiKey': 'c6381a79-2817-4602-83bf-6a641a409e32'
  }
});
curl --request GET \
     --url 'https://public-api.rango.exchange/wallets/details?address=BSC.0xeb2629a2734e272bcc07bda959863f316f4bd4cf&apiKey=c6381a79-2817-4602-83bf-6a641a409e32' 

Wallets Details Request

  • walletAddresses *

    • Description: List of user wallet addresses for desired blockchains.

Wallets Details Response

  • wallets

    • Description: List of wallets and their assets.

Last updated