> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abs.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# 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



## OpenAPI

````yaml /api-reference/openapi.json post /zks_getAllAccountBalances
openapi: 3.0.0
info:
  title: Abstract JSON-RPC API
  description: JSON-RPC API documentation for Abstract blockchain
  version: 1.0.0
servers:
  - url: https://api.mainnet.abs.xyz
    description: Abstract Mainnet
security: []
tags:
  - name: Overview
    description: Overview of the Abstract JSON-RPC API
  - name: Ethereum API
    description: Standard Ethereum JSON-RPC methods
  - name: ZKSync API
    description: ZKSync-specific JSON-RPC methods
paths:
  /zks_getAllAccountBalances:
    post:
      tags:
        - ZKSync API
      summary: zks_getAllAccountBalances
      description: >-
        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
      operationId: zks_getAllAccountBalances
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - method
                - id
                - params
              properties:
                jsonrpc:
                  type: string
                  default: '2.0'
                  description: JSON-RPC version
                method:
                  type: string
                  default: zks_getAllAccountBalances
                  description: The method to call
                params:
                  type: array
                  items: {}
                  description: Call parameters
                  default:
                    - '0x06639F064b82595F3BE7621F607F8e8726852fCf'
                id:
                  type: integer
                  default: 1
                  description: Request identifier
            example:
              jsonrpc: '2.0'
              id: 1
              method: zks_getAllAccountBalances
              params:
                - '0x1111111111111111111111111111111111111111'
      responses:
        '200':
          description: Returns all token balances for the account
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  id:
                    type: integer
                    example: 1
                  result:
                    type: object
                    description: Map of token addresses to balances
                    additionalProperties:
                      type: string
                      description: Token balance in hexadecimal format
                    example:
                      '0x000000000000000000000000000000000000800A': '0x3635c9adc5dea00000'
              example:
                jsonrpc: '2.0'
                result:
                  '0x000000000000000000000000000000000000800A': '0x3635c9adc5dea00000'
                id: 1

````