GET
/
sdk
/
{environmentId}
/
chains
/
{chainName}
/
balances
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
chainName
enum<string>
required
Available options:
EVM,
SOL

Query Parameters

networkId
enum<number>
Available options:
0,
1,
10,
137,
42161,
8453
accountAddress
string
required
includePrices
boolean
includeNative
boolean

Response

200
application/json
List of token balances
address
string
required

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

Maximum length: 255
name
string
required
symbol
string
required
decimals
integer
required
logoURI
string
required
balance
number
required
rawBalance
number
required
networkId
integer
price
number
marketValue
number