> ## 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.

# getTransfersForAddress RPC Method

> List every SOL and SPL token transfer in or out of a wallet, parsed into sender, receiver, owners, mint and amount. getTransfersForAddress RPC parameters and examples.

Get a wallet's transfers, already parsed, with **getTransfersForAddress**. Each row is one transfer leg with its signature, sender and receiver, their owning wallets, mint, raw and UI amounts, slot and block time. Native SOL, SPL Token and Token-2022 transfers are included.

* **Filters:** `direction` (`in`, `out` or `all`), `mint`, a `blockTime` range in Unix seconds and a `slot` range.
* **Status:** only transfers of successful transactions are returned by default. Set `status` to `failed` or `any` to include transfers of failed transactions, which moved nothing on-chain.
* **Page size:** `limit` is 1 to 1,000, default 100.
* **Paging:** pass the returned `paginationToken` with the same address, sort order and filters. Stop when a response has no `paginationToken`. Pages at the edge of a `slot` range can be shorter than `limit` while a token is still returned.
* **Strict config:** unknown config fields return -32602, so a misspelt filter never widens the page.

Each call costs 2 credits.

Request setup and error handling: [RPC quickstart](https://docs.solanatracker.io/solana-rpc/quickstart.md). Billing: [credits and limits](https://docs.solanatracker.io/solana-rpc/credits-and-rate-limits.md).


## OpenAPI

````yaml gettransfersforaddress 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: getTransfersForAddress
      description: >-
        Return every SOL and SPL token transfer in or out of a wallet, parsed
        into sender, receiver, owners, mint and amount, with cursor paging.
      operationId: gettransfersforaddress
      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:
                        - getTransfersForAddress
                      description: The name of the RPC method to invoke.
                      example: getTransfersForAddress
                params:
                  allOf:
                    - type: array
                      description: >-
                        The wallet address, then an optional configuration
                        object.
                      default:
                        - 7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw
                        - sortOrder: desc
                          limit: 100
                          direction: all
                      items:
                        oneOf:
                          - type: string
                            description: Wallet address as a base-58 string.
                            example: 7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw
                          - type: object
                            description: >-
                              Optional configuration. Unknown fields return
                              -32602.
                            properties:
                              direction:
                                type: string
                                enum:
                                  - all
                                  - in
                                  - out
                                description: >-
                                  `in` for transfers received, `out` for
                                  transfers sent, `all` (default) for both.
                                example: in
                              mint:
                                type: string
                                description: Only transfers of this token mint.
                                example: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                              sortOrder:
                                type: string
                                enum:
                                  - desc
                                  - asc
                                description: >-
                                  `desc` (default) is newest first, `asc` is
                                  oldest first.
                                example: desc
                              limit:
                                type: integer
                                minimum: 1
                                maximum: 1000
                                description: Transfers per page, 1 to 1,000. Default 100.
                                example: 100
                              paginationToken:
                                type: string
                                description: >-
                                  The `paginationToken` from the previous page.
                                  Send it with the same address, sort order and
                                  filters. `cursor` is accepted as an alias.
                                example: >-
                                  eyJ2IjoyLCJiIjoxNzc1MzU4OTAyLCJ0IjoxODYxNTk4NzM2MDI0MDY0LCJpIjoyLCJuIjotMSwicCI6MjAyNjA0fQ
                              blockTime:
                                type: object
                                description: Block time range 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: 1775359069
                                  lte: 1775359465
                              slot:
                                type: object
                                description: Slot range. Can be combined with `blockTime`.
                                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: 411107200
                                  lte: 411108200
                              status:
                                type: string
                                enum:
                                  - succeeded
                                  - failed
                                  - any
                                description: >-
                                  Outcome of the transaction that carried the
                                  transfer. Default `succeeded`. Transfers of
                                  failed transactions moved nothing on-chain.
                                example: succeeded
                              commitment:
                                type: string
                                description: >-
                                  The commitment level for the request. Default
                                  `finalized`. `processed` is rejected with
                                  -32602 when the most recent slots are
                                  unavailable.
                                enum:
                                  - finalized
                                  - confirmed
                                  - processed
                                example: finalized
              required:
                - jsonrpc
                - id
                - method
                - params
            examples:
              allTransfers:
                summary: Newest transfers in and out
                value:
                  jsonrpc: '2.0'
                  id: 1
                  method: getTransfersForAddress
                  params:
                    - 7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw
                    - sortOrder: desc
                      limit: 100
                      direction: all
              usdcReceivedInWindow:
                summary: USDC received in a time window
                value:
                  jsonrpc: '2.0'
                  id: 1
                  method: getTransfersForAddress
                  params:
                    - 7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw
                    - sortOrder: desc
                      limit: 100
                      direction: in
                      mint: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                      blockTime:
                        gte: 1775359069
                        lte: 1775359465
              oldestFirst:
                summary: Oldest transfers first
                value:
                  jsonrpc: '2.0'
                  id: 1
                  method: getTransfersForAddress
                  params:
                    - 7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw
                    - sortOrder: asc
                      limit: 1000
              failedOnly:
                summary: Transfers from failed transactions
                value:
                  jsonrpc: '2.0'
                  id: 1
                  method: getTransfersForAddress
                  params:
                    - 7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw
                    - status: failed
                      limit: 100
              nextPage:
                summary: Next page with paginationToken
                value:
                  jsonrpc: '2.0'
                  id: 1
                  method: getTransfersForAddress
                  params:
                    - 7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw
                    - sortOrder: desc
                      limit: 100
                      direction: all
                      paginationToken: >-
                        eyJ2IjoyLCJiIjoxNzc1MzU4OTAyLCJ0IjoxODYxNTk4NzM2MDI0MDY0LCJpIjoyLCJuIjotMSwicCI6MjAyNjA0fQ
      responses:
        '200':
          description: Successfully retrieved a page of transfers.
          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 transfers.
                        properties:
                          data:
                            type: array
                            description: Transfer legs in the requested order.
                            items:
                              type: object
                              properties:
                                confirmationStatus:
                                  type: string
                                  enum:
                                    - processed
                                    - confirmed
                                    - finalized
                                  description: Commitment the transaction has reached.
                                  example: finalized
                                status:
                                  type: string
                                  enum:
                                    - succeeded
                                    - failed
                                  description: >-
                                    Outcome of the transaction. Omitted when
                                    unknown.
                                  example: succeeded
                                transfer:
                                  type: object
                                  description: One transfer leg.
                                  properties:
                                    signature:
                                      type: string
                                      description: >-
                                        Signature of the transaction that
                                        carried the transfer.
                                      example: >-
                                        3cKcTTWWuVbqz1hVfEp9pvkmr2AyJ2rcd6XB2nGNpTwWUPzby5vgwvqLCe1vdwvxvemEjwMUiaaneWnxSJHRLgUy
                                    transferType:
                                      type: string
                                      enum:
                                        - sol
                                        - spl
                                      description: >-
                                        `sol` for a native SOL transfer, `spl`
                                        for an SPL Token or Token-2022 transfer.
                                      example: spl
                                    mint:
                                      type: string
                                      description: Token mint. Omitted for native SOL.
                                      example: >-
                                        EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                                    amount:
                                      type: string
                                      description: >-
                                        Raw amount in the token's smallest unit
                                        (lamports for SOL).
                                      example: '25000000'
                                    decimals:
                                      type: integer
                                      description: Decimals of the token. 9 for SOL.
                                      example: 6
                                    uiAmount:
                                      type: number
                                      description: Amount adjusted for decimals.
                                      example: 25
                                    uiAmountString:
                                      type: string
                                      description: >-
                                        Amount adjusted for decimals, as a
                                        string.
                                      example: '25'
                                    blockTime:
                                      type: integer
                                      description: Unix time of the block, in seconds.
                                      example: 1775359465
                                    slot:
                                      type: integer
                                      description: >-
                                        Slot of the transaction. Omitted when
                                        unknown.
                                      example: 411108200
                                    from:
                                      type: string
                                      description: >-
                                        Sending account: the wallet for SOL, the
                                        source token account for SPL.
                                      example: >-
                                        BCZ5gZgD26BC8gXefVSNhc4Km3UbrVksbmCT3uTAojT2
                                    to:
                                      type: string
                                      description: >-
                                        Receiving account: the wallet for SOL,
                                        the destination token account for SPL.
                                      example: >-
                                        B9MS96dqLxQEcZ6oQxTUKVP6hstbgGMs3wnNGeRDzCUX
                                    fromOwner:
                                      type: string
                                      description: >-
                                        Wallet that owns `from`. Equal to `from`
                                        for SOL. Omitted when unknown.
                                      example: >-
                                        YVv71mHkzrAN38JgScKxSQhq9Yrwu78nhk8LWiyqiUwW
                                    toOwner:
                                      type: string
                                      description: >-
                                        Wallet that owns `to`. Equal to `to` for
                                        SOL. Omitted when unknown.
                                      example: >-
                                        7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw
                                    direction:
                                      type: string
                                      enum:
                                        - in
                                        - out
                                      description: >-
                                        Direction relative to the queried
                                        wallet.
                                      example: in
                          paginationToken:
                            type: string
                            description: >-
                              Token for the next page. Absent when there are no
                              more results.
                            example: >-
                              eyJ2IjoyLCJiIjoxNzc1MzU4OTAyLCJ0IjoxODYxNTk4NzM2MDI0MDY0LCJpIjoyLCJuIjotMSwicCI6MjAyNjA0fQ
              examples:
                transfersPage:
                  summary: A USDC deposit and a SOL payment
                  value:
                    jsonrpc: '2.0'
                    id: 1
                    result:
                      data:
                        - confirmationStatus: finalized
                          status: succeeded
                          transfer:
                            signature: >-
                              2VPAJ2F4mqYc8D3PbUxuWVMHpHyfAzCTXEznVnFJrFvP7aansmELbmdcn6fmAByvP9q7Efw2HpbQUgbTy1nPmcHK
                            transferType: spl
                            mint: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                            amount: '25000000'
                            decimals: 6
                            uiAmountString: '25'
                            uiAmount: 25
                            blockTime: 1775359465
                            slot: 411108200
                            from: SyfXr7gMNV788BJ7pojBLPYkUZRtegusx8R73cb13y7t
                            to: DL4AxScsmxmFjJYaXb6v49jtAwsmKbDCwUx6UPVbGoa1
                            fromOwner: 5psKzBiHnWRmLMgP263KdEqjNQL36CqgkB6FSyodYv9H
                            toOwner: 7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw
                            direction: in
                        - confirmationStatus: finalized
                          status: succeeded
                          transfer:
                            signature: >-
                              p9cJHp1uL1aLhVL8NBNVxxKgaeCVa4epNRRzBJ7fvTWXDxpCPDMvRGmkbruV1BdBtPbmgiGRaYRmfeBJFZoxwnMB
                            transferType: sol
                            amount: '150000000'
                            decimals: 9
                            uiAmountString: '0.15'
                            uiAmount: 0.15
                            blockTime: 1775358902
                            slot: 411106789
                            from: 7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw
                            to: bohXtfJuh1ZuVjQht7A8x4Peqm2TRMaj8ALtTKdbgC5k
                            fromOwner: 7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw
                            toOwner: bohXtfJuh1ZuVjQht7A8x4Peqm2TRMaj8ALtTKdbgC5k
                            direction: out
                      paginationToken: >-
                        eyJ2IjoyLCJiIjoxNzc1MzU4OTAyLCJ0IjoxODYxNTk4NzM2MDI0MDY0LCJpIjoyLCJuIjotMSwicCI6MjAyNjA0fQ
                empty:
                  summary: No more transfers
                  value:
                    jsonrpc: '2.0'
                    id: 1
                    result:
                      data: []
        '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:
                invalidParams:
                  summary: Invalid parameters
                  value:
                    jsonrpc: '2.0'
                    error:
                      code: -32602
                      message: limit must be between 1 and 1000
                    id: 1
                badStatus:
                  summary: Unknown status
                  value:
                    jsonrpc: '2.0'
                    error:
                      code: -32602
                      message: status must be "succeeded", "failed", or "any"
                    id: 1
                badToken:
                  summary: Malformed paginationToken
                  value:
                    jsonrpc: '2.0'
                    error:
                      code: -32602
                      message: invalid paginationToken
                    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.