GET
/
sdk
/
{environmentId}
/
chains
/
{chainName}
/
balances
Get the token balances for an account
curl --request GET \
  --url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/chains/{chainName}/balances
[
  {
    "networkId": 123,
    "address": "0xbF394748301603f18d953C90F0b087CBEC0E1834",
    "name": "<string>",
    "symbol": "<string>",
    "decimals": 123,
    "logoURI": "<string>",
    "balance": 123,
    "rawBalance": 123,
    "price": 123,
    "marketValue": 123
  }
]

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

chainName
enum<string>
required
Available options:
EVM,
SOL,
BTC

Query Parameters

networkId
number
accountAddress
string
required
includePrices
boolean
includeNative
boolean

Response

List of token balances

address
string
required

Valid blockchain wallet address, must be an alphanumeric string without any special characters

Maximum length: 255
Example:

"0xbF394748301603f18d953C90F0b087CBEC0E1834"

name
string
required
symbol
string
required
decimals
integer
required
logoURI
string
required
balance
number
required
rawBalance
number
required
networkId
integer
price
number
marketValue
number