v2

latestOpenAPI 3.0.12026-07-26334612609.5 KB
SDK

Get account balances for multiple addresses

post/environments/{environmentId}/users/{userId}/balances

Path parameters

environmentIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

ID of the environment

userIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

UUID of the user

Request body

filterSpamTokensboolean

If false, the balance requests will not be filtered for spam tokens

Response

Token balances organized by chain and network

Example response

{
  "chainBalances": [
    {
      "networks": [
        {
          "balances": [
            {
              "address": "0xbF394748301603f18d953C90F0b087CBEC0E1834"
            }
          ]
        }
      ]
    }
  ]
}