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

# Método RPC getTokenBalanceChangesForMint

> Pagina todos los cambios de balance de las cuentas de token de un mint, incluidas emisiones y quemas, filtrados por propietario, cuenta, tiempo e importe. Parámetros y ejemplos de getTokenBalanceChangesForMint.

Lista todos los cambios de balance en las cuentas de un token: transferencias, emisiones y quemas. Cada fila incluye la cuenta de token, su propietario, el cambio con signo, el balance anterior y posterior, slot y block time.

* Los más recientes primero por defecto. `sortOrder: "asc"` requiere un límite inferior en la primera página: `blockTime` o `slot` con `gte`, `gt` o `eq`. Úsalo para leer desde el lanzamiento.
* Limita la consulta a una wallet con `owner` o a una cuenta de token con `account`.
* Filtra con `direction` (`in`, `out`, `all`), rangos de `blockTime` y `slot` (`gte`, `gt`, `lte`, `lt`, `eq`; block time en segundos Unix) y `minAbsChange` como string entero en unidades raw.
* Las páginas contienen hasta 500 filas (`limit`, 100 por defecto). Pasa el `paginationToken` devuelto con los mismos parámetros para continuar; la última página no lo incluye.
* `signature` se omite en las raras filas cuya firma no se pudo resolver.

Coste: 5 créditos por llamada. Comparte el límite de RPS historial completo con [getTransactionsForAddress](https://docs.solanatracker.io/es/solana-rpc/http/gettransactionsforaddress.md).

Configuración y errores: [inicio rápido RPC](https://docs.solanatracker.io/es/solana-rpc/quickstart.md). Facturación: [créditos y límites](https://docs.solanatracker.io/es/solana-rpc/credits-and-rate-limits.md).


## OpenAPI

````yaml gettokenbalancechangesformint post /
openapi: 3.1.0
info:
  title: Solana RPC
  version: 1.0.0
  description: Solana RPC HTTP method reference.
servers:
  - url: https://rpc-mainnet.solanatracker.io
    description: Mainnet RPC endpoint
security: []
paths:
  /:
    post:
      summary: getTokenBalanceChangesForMint
      description: >-
        Page every token account balance change for a mint, including mints and
        burns, filtered by owner, account, time, slot and size.
      operationId: gettokenbalancechangesformint
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  allOf:
                    - type: string
                      enum:
                        - '2.0'
                      description: The JSON-RPC protocol version.
                      example: '2.0'
                id:
                  allOf:
                    - type: string
                      description: A unique identifier for the request.
                      example: '1'
                method:
                  allOf:
                    - type: string
                      enum:
                        - getTokenBalanceChangesForMint
                      description: The name of the RPC method to invoke.
                      example: getTokenBalanceChangesForMint
                      default: getTokenBalanceChangesForMint
                params:
                  allOf:
                    - type: array
                      description: The mint, then an optional configuration object.
                      default:
                        - EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                        - sortOrder: desc
                          limit: 100
                      items:
                        oneOf:
                          - type: string
                            description: Token mint address, as a base-58 string.
                            example: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                          - type: object
                            description: Optional sorting, filters and paging.
                            properties:
                              sortOrder:
                                type: string
                                enum:
                                  - desc
                                  - asc
                                default: desc
                                description: >-
                                  `desc` returns newest first, `asc` oldest
                                  first. `asc` needs a lower bound on
                                  `blockTime` or `slot` (`gte`, `gt` or `eq`) on
                                  the first page.
                                example: desc
                              limit:
                                type: integer
                                description: Maximum changes per page, 1 to 500.
                                minimum: 1
                                maximum: 500
                                default: 100
                                example: 100
                              direction:
                                type: string
                                enum:
                                  - in
                                  - out
                                  - all
                                default: all
                                description: >-
                                  `in` for increases, `out` for decreases, `all`
                                  for both.
                                example: all
                              owner:
                                type: string
                                description: >-
                                  Only changes to token accounts owned by this
                                  wallet.
                                example: 7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw
                              account:
                                type: string
                                description: Only changes to this token account.
                                example: CSBvQkExysKY55vCQbrrQYCTpdkeGbYNx3ir42SmdhyK
                              blockTime:
                                type: object
                                description: Block time bounds in Unix seconds.
                                properties:
                                  gte:
                                    type: integer
                                    description: Greater than or equal to this Unix time.
                                  gt:
                                    type: integer
                                    description: Greater than this Unix time.
                                  lte:
                                    type: integer
                                    description: Less than or equal to this Unix time.
                                  lt:
                                    type: integer
                                    description: Less than this Unix time.
                                  eq:
                                    type: integer
                                    description: Equal to this Unix time.
                                example:
                                  gte: 1767225600
                                  lt: 1769904000
                              slot:
                                type: object
                                description: Slot bounds.
                                properties:
                                  gte:
                                    type: integer
                                    description: Greater than or equal to this slot.
                                  gt:
                                    type: integer
                                    description: Greater than this slot.
                                  lte:
                                    type: integer
                                    description: Less than or equal to this slot.
                                  lt:
                                    type: integer
                                    description: Less than this slot.
                                  eq:
                                    type: integer
                                    description: Equal to this slot.
                                example:
                                  gte: 411000000
                              minAbsChange:
                                type: string
                                description: >-
                                  Leave out changes smaller than this, in raw
                                  token units (before decimals), as an unsigned
                                  integer string.
                                example: '1000000000'
                              paginationToken:
                                type: string
                                description: >-
                                  The `paginationToken` from the previous page.
                                  Keep the other parameters unchanged while
                                  paging.
              required:
                - jsonrpc
                - id
                - method
                - params
            examples:
              newestFirst:
                summary: Newest changes first
                value:
                  jsonrpc: '2.0'
                  id: 1
                  method: getTokenBalanceChangesForMint
                  params:
                    - EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                    - sortOrder: desc
                      limit: 100
              oneOwner:
                summary: One wallet's incoming changes
                value:
                  jsonrpc: '2.0'
                  id: 1
                  method: getTokenBalanceChangesForMint
                  params:
                    - EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                    - owner: 7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw
                      direction: in
                      limit: 50
              fromLaunch:
                summary: Oldest first from a slot
                value:
                  jsonrpc: '2.0'
                  id: 1
                  method: getTokenBalanceChangesForMint
                  params:
                    - EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                    - sortOrder: asc
                      slot:
                        gte: 411000000
                      limit: 500
              nextPage:
                summary: Next page
                value:
                  jsonrpc: '2.0'
                  id: 1
                  method: getTokenBalanceChangesForMint
                  params:
                    - EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                    - sortOrder: desc
                      limit: 100
                      paginationToken: >-
                        eyJiIjoxNzc1MzU5MzU5LCJ0IjoxODYxNTk5MjE1MjIyODcxLCJzIjo0MTExMDc5MzQsImEiOiJDU0J2UWtFeHlzS1k1NXZDUWJyclFZQ1RwZGtlR2JZTngzaXI0MlNtZGh5SyJ9
      responses:
        '200':
          description: A page of token balance changes for the mint.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    allOf:
                      - type: string
                        enum:
                          - '2.0'
                        description: The JSON-RPC protocol version.
                        example: '2.0'
                  id:
                    allOf:
                      - type: string
                        description: Identifier matching the request.
                        example: '1'
                  result:
                    allOf:
                      - type: object
                        description: One page of token balance changes.
                        properties:
                          data:
                            type: array
                            description: >-
                              Balance changes in the requested order, one per
                              token account per transaction.
                            items:
                              type: object
                              properties:
                                confirmationStatus:
                                  type: string
                                  enum:
                                    - processed
                                    - confirmed
                                    - finalized
                                  description: Commitment of the transaction's slot.
                                  example: finalized
                                change:
                                  type: object
                                  description: The balance change.
                                  properties:
                                    signature:
                                      type: string
                                      description: >-
                                        Signature of the transaction. Omitted
                                        when it could not be resolved.
                                      example: >-
                                        5h6xBEauJ3PK6SWCZ1PGjBvj8vDdWG3KpwATGy1ARAXFSDwt8GFXM7W5Ncn16wmqokgpiKRLuS83KUxyZyv2sUYv
                                    mint:
                                      type: string
                                      description: Token mint address.
                                      example: >-
                                        EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                                    account:
                                      type: string
                                      description: Token account whose balance changed.
                                      example: >-
                                        CSBvQkExysKY55vCQbrrQYCTpdkeGbYNx3ir42SmdhyK
                                    owner:
                                      type: string
                                      description: Wallet that owns the token account.
                                      example: >-
                                        7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw
                                    direction:
                                      type: string
                                      enum:
                                        - in
                                        - out
                                      description: >-
                                        `in` when the balance went up, `out`
                                        when it went down.
                                      example: in
                                    amount:
                                      type: string
                                      description: >-
                                        Size of the change in raw token units,
                                        without sign.
                                      example: '1250000000'
                                    change:
                                      type: string
                                      description: >-
                                        Signed change in raw token units
                                        (`postBalance` minus `preBalance`).
                                      example: '1250000000'
                                    preBalance:
                                      type: string
                                      description: >-
                                        Token balance before the transaction, in
                                        raw units.
                                      example: '1250000000'
                                    postBalance:
                                      type: string
                                      description: >-
                                        Token balance after the transaction, in
                                        raw units.
                                      example: '2500000000'
                                    decimals:
                                      type: integer
                                      description: Decimals of the mint.
                                      example: 6
                                    uiAmount:
                                      type: number
                                      description: >-
                                        Signed change with decimals applied, as
                                        a number.
                                      example: 1250
                                    uiAmountString:
                                      type: string
                                      description: >-
                                        Signed change with decimals applied, as
                                        a string.
                                      example: '1250'
                                    blockTime:
                                      type: integer
                                      description: Block time in Unix seconds.
                                      example: 1775358702
                                    slot:
                                      type: integer
                                      description: Slot of the transaction.
                                      example: 411106512
                                    accountIndex:
                                      type: integer
                                      description: >-
                                        Index of the token account in the
                                        transaction's account keys.
                                      example: 2
                          paginationToken:
                            type: string
                            description: >-
                              Pass this to get the next page. Omitted on the
                              last page.
                            example: >-
                              eyJiIjoxNzc1MzU5MzU5LCJ0IjoxODYxNTk5MjE1MjIyODcxLCJzIjo0MTExMDc5MzQsImEiOiJDU0J2UWtFeHlzS1k1NXZDUWJyclFZQ1RwZGtlR2JZTngzaXI0MlNtZGh5SyJ9
              examples:
                newestFirst:
                  summary: Newest changes first
                  value:
                    jsonrpc: '2.0'
                    id: 1
                    result:
                      data:
                        - confirmationStatus: finalized
                          change:
                            signature: >-
                              5h6xBEauJ3PK6SWCZ1PGjBvj8vDdWG3KpwATGy1ARAXFSDwt8GFXM7W5Ncn16wmqokgpiKRLuS83KUxyZyv2sUYv
                            mint: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                            account: CSBvQkExysKY55vCQbrrQYCTpdkeGbYNx3ir42SmdhyK
                            owner: 7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw
                            direction: in
                            amount: '1250000000'
                            change: '1250000000'
                            preBalance: '1250000000'
                            postBalance: '2500000000'
                            decimals: 6
                            uiAmount: 1250
                            uiAmountString: '1250'
                            blockTime: 1775358702
                            slot: 411106512
                            accountIndex: 2
                        - confirmationStatus: finalized
                          change:
                            signature: >-
                              3cKcTTWWuVbqz1hVfEp9pvkmr2AyJ2rcd6XB2nGNpTwWUPzby5vgwvqLCe1vdwvxvemEjwMUiaaneWnxSJHRLgUy
                            mint: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                            account: BGocb4GEpbTFm8UFV2VsDSaBXHELPfAXrvd4vtt8QWrA
                            owner: H8sMJSCQxfKiFTCfDR3DUMLPwcRbM61LGFJ8N4dK3WjS
                            direction: out
                            amount: '1250000000'
                            change: '-1250000000'
                            preBalance: '7310450000'
                            postBalance: '6060450000'
                            decimals: 6
                            uiAmount: -1250
                            uiAmountString: '-1250'
                            blockTime: 1775358702
                            slot: 411106512
                            accountIndex: 1
                      paginationToken: >-
                        eyJiIjoxNzc1MzU5MzU5LCJ0IjoxODYxNTk5MjE1MjIyODcxLCJzIjo0MTExMDc5MzQsImEiOiJDU0J2UWtFeHlzS1k1NXZDUWJyclFZQ1RwZGtlR2JZTngzaXI0MlNtZGh5SyJ9
        '400':
          description: Bad Request - Invalid request parameters or malformed request.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    allOf:
                      - type: string
                        enum:
                          - '2.0'
                        description: The JSON-RPC protocol version.
                        example: '2.0'
                  error:
                    allOf:
                      - type: object
                        properties:
                          code:
                            type: integer
                            description: The error code.
                            example: -32602
                          message:
                            type: string
                            description: The error message.
                          data:
                            type: object
                            description: Additional data about the error.
                  id:
                    allOf:
                      - type: string
                        description: Identifier matching the request.
                        example: '1'
                refIdentifier: '#/components/schemas/ErrorResponse'
              examples:
                example:
                  value:
                    jsonrpc: '2.0'
                    error:
                      code: -32602
                      message: Invalid params
                    id: 1
        '401':
          description: Unauthorized - Invalid or missing API key.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    allOf:
                      - type: string
                        enum:
                          - '2.0'
                        description: The JSON-RPC protocol version.
                        example: '2.0'
                  error:
                    allOf:
                      - type: object
                        properties:
                          code:
                            type: integer
                            description: The error code.
                            example: -32602
                          message:
                            type: string
                            description: The error message.
                          data:
                            type: object
                            description: Additional data about the error.
                  id:
                    allOf:
                      - type: string
                        description: Identifier matching the request.
                        example: '1'
                refIdentifier: '#/components/schemas/ErrorResponse'
              examples:
                example:
                  value:
                    jsonrpc: '2.0'
                    error:
                      code: -32001
                      message: Unauthorized
                    id: 1
        '429':
          description: Too Many Requests - Rate limit exceeded.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    allOf:
                      - type: string
                        enum:
                          - '2.0'
                        description: The JSON-RPC protocol version.
                        example: '2.0'
                  error:
                    allOf:
                      - type: object
                        properties:
                          code:
                            type: integer
                            description: The error code.
                            example: -32602
                          message:
                            type: string
                            description: The error message.
                          data:
                            type: object
                            description: Additional data about the error.
                  id:
                    allOf:
                      - type: string
                        description: Identifier matching the request.
                        example: '1'
                refIdentifier: '#/components/schemas/ErrorResponse'
              examples:
                example:
                  value:
                    jsonrpc: '2.0'
                    error:
                      code: -32005
                      message: Too many requests
                    id: 1
        '500':
          description: Internal Server Error - An error occurred on the server.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    allOf:
                      - type: string
                        enum:
                          - '2.0'
                        description: The JSON-RPC protocol version.
                        example: '2.0'
                  error:
                    allOf:
                      - type: object
                        properties:
                          code:
                            type: integer
                            description: The error code.
                            example: -32602
                          message:
                            type: string
                            description: The error message.
                          data:
                            type: object
                            description: Additional data about the error.
                  id:
                    allOf:
                      - type: string
                        description: Identifier matching the request.
                        example: '1'
                refIdentifier: '#/components/schemas/ErrorResponse'
              examples:
                example:
                  value:
                    jsonrpc: '2.0'
                    error:
                      code: -32603
                      message: Internal error
                    id: 1
        '503':
          description: Service Unavailable - The service is temporarily unavailable.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    allOf:
                      - type: string
                        enum:
                          - '2.0'
                        description: The JSON-RPC protocol version.
                        example: '2.0'
                  error:
                    allOf:
                      - type: object
                        properties:
                          code:
                            type: integer
                            description: The error code.
                            example: -32602
                          message:
                            type: string
                            description: The error message.
                          data:
                            type: object
                            description: Additional data about the error.
                  id:
                    allOf:
                      - type: string
                        description: Identifier matching the request.
                        example: '1'
                refIdentifier: '#/components/schemas/ErrorResponse'
              examples:
                example:
                  value:
                    jsonrpc: '2.0'
                    error:
                      code: -32002
                      message: Service unavailable
                    id: 1
        '504':
          description: Gateway Timeout - The request timed out.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    allOf:
                      - type: string
                        enum:
                          - '2.0'
                        description: The JSON-RPC protocol version.
                        example: '2.0'
                  error:
                    allOf:
                      - type: object
                        properties:
                          code:
                            type: integer
                            description: The error code.
                            example: -32602
                          message:
                            type: string
                            description: The error message.
                          data:
                            type: object
                            description: Additional data about the error.
                  id:
                    allOf:
                      - type: string
                        description: Identifier matching the request.
                        example: '1'
                refIdentifier: '#/components/schemas/ErrorResponse'
              examples:
                example:
                  value:
                    jsonrpc: '2.0'
                    error:
                      code: -32003
                      message: Gateway timeout
                    id: 1
      security:
        - ApiKeyQuery: []
components:
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api_key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.