Skip to main content
POST
zks_getAllAccountBalances

Body

application/json
jsonrpc
string
default:2.0
required

JSON-RPC version

method
string
default:zks_getAllAccountBalances
required

The method to call

params
any[]
required

Call parameters

id
integer
default:1
required

Request identifier

Response

200 - application/json

Returns all token balances for the account

jsonrpc
string
Example:

"2.0"

id
integer
Example:

1

result
object

Map of token addresses to balances

Example: