v1
latestOpenAPI 3.0.02026-07-26541677.9 KBZKSync API
zks_getAllAccountBalances
Gets all account balances for a given address. The method returns an object with token addresses as keys and their corresponding balances as values. Each key-value pair represents the balance of a specific token held by the account
post/zks_getAllAccountBalances
Request body
Response
Returns all token balances for the account
Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"0x000000000000000000000000000000000000800A": "0x3635c9adc5dea00000"
}
}