BalancesController_getBalances
GEThttps://api.socket.tech/v2/balances
BalancesController_getBalances
Request​
Query Parameters
userAddress stringrequired
Example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
Header Parameters
API-KEY string
Responses​
- 200
Returns the balance of all tokens for a user address on all supported chains
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
success booleanrequired
result
object[]
required
chainId numberrequired
address stringrequired
name stringrequired
symbol stringrequired
decimals numberrequired
logoURI stringrequired
amount numberrequired
{
"success": true,
"result": [
{
"chainId": 0,
"address": "string",
"name": "string",
"symbol": "string",
"decimals": 0,
"logoURI": "string",
"amount": 0
}
]
}
Loading...