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

# getTokenTransferCluster RPC Method

> Get a token's transfer graph, with wallets as nodes and aggregated transfers as edges, ready to draw as a bubble map. getTokenTransferCluster RPC parameters and examples.

Build the data behind a bubble map with **getTokenTransferCluster**. Pass a mint: the method scans its transfers, aggregates them into edges between wallets with transfer counts and totals, and returns a node per wallet with in and out degree and amounts.

* `sortOrder: "asc"` (default) reads from the token's first transfers, which maps launch distribution and first buyers. For busy tokens, use `"desc"` with a `blockTime` window.
* Caps: `limit` scans up to 512 transfers (default 256) and `maxEdges` returns up to 512 edges (default 256). Larger values are lowered to the cap. `truncated` is set when either cap was reached.
* `resolveOwners` (default true) joins edges by owning wallet instead of token account.
* Zero-amount transfers, transfers of failed transactions and self-transfers are skipped. `minTokenUiAmount` drops smaller transfers.
* Edges are ordered by transfer count, then amount.

Each call costs 5 credits and counts against the Cluster RPS limit, which `getTokenTransferCluster` shares with `getFundingCluster`.

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 gettokentransfercluster 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: getTokenTransferCluster
      description: >-
        Return a token's transfer graph: wallets as nodes and aggregated
        transfers as edges, the data behind a bubble map.
      operationId: gettokentransfercluster
      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:
                        - getTokenTransferCluster
                      description: The name of the RPC method to invoke.
                      example: getTokenTransferCluster
                params:
                  allOf:
                    - type: array
                      description: A single configuration object.
                      default:
                        - mint: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
                          sortOrder: asc
                          limit: 256
                          maxEdges: 256
                          resolveOwners: true
                      items:
                        type: object
                        description: >-
                          Cluster configuration. Values above a cap are lowered
                          to the cap.
                        required:
                          - mint
                        properties:
                          mint:
                            type: string
                            description: The token mint. Required.
                            example: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
                          sortOrder:
                            type: string
                            enum:
                              - asc
                              - desc
                            description: >-
                              `asc` (default) reads from the token's first
                              transfers, `desc` from its newest.
                            example: asc
                          limit:
                            type: integer
                            minimum: 1
                            maximum: 512
                            description: >-
                              Transfers to scan before aggregating. Default 256,
                              at most 512.
                            example: 256
                          maxEdges:
                            type: integer
                            maximum: 512
                            description: >-
                              Aggregated edges to return. Default 256, at most
                              512.
                            example: 256
                          minTokenUiAmount:
                            type: number
                            description: >-
                              Skip transfers smaller than this, in UI units.
                              Default 0.
                            example: 0
                          resolveOwners:
                            type: boolean
                            description: >-
                              Join edges and nodes by wallet instead of token
                              account. Default true.
                            example: true
                          blockTime:
                            type: object
                            description: >-
                              Only transfers inside this time range, in Unix
                              seconds. Values of 100000000000 or more are read
                              as milliseconds. Recommended with `desc` on busy
                              tokens.
                            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.
                            example:
                              gte: 1775359069
                              lte: 1775359465
              required:
                - jsonrpc
                - id
                - method
                - params
            examples:
              launch:
                summary: First transfers after launch
                value:
                  jsonrpc: '2.0'
                  id: 1
                  method: getTokenTransferCluster
                  params:
                    - mint: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
                      sortOrder: asc
                      limit: 256
                      maxEdges: 256
                      resolveOwners: true
              recentWindow:
                summary: Newest transfers of a busy token in a time window
                value:
                  jsonrpc: '2.0'
                  id: 1
                  method: getTokenTransferCluster
                  params:
                    - mint: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
                      sortOrder: desc
                      limit: 512
                      maxEdges: 256
                      resolveOwners: true
                      blockTime:
                        gte: 1775359069
                        lte: 1775359465
              tokenAccounts:
                summary: Token accounts instead of wallets, dust removed
                value:
                  jsonrpc: '2.0'
                  id: 1
                  method: getTokenTransferCluster
                  params:
                    - mint: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
                      resolveOwners: false
                      minTokenUiAmount: 1000
      responses:
        '200':
          description: Successfully built the transfer graph.
          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: The token's transfer graph.
                        properties:
                          mint:
                            type: string
                            description: The requested mint.
                            example: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
                          decimals:
                            type: integer
                            description: Token decimals, when known.
                            example: 5
                          edges:
                            type: array
                            description: >-
                              Aggregated edges, most transfers first, then
                              largest amount.
                            items:
                              type: object
                              properties:
                                from:
                                  type: string
                                  description: >-
                                    Sending wallet, or token account when the
                                    owner is unknown or `resolveOwners` is
                                    false.
                                to:
                                  type: string
                                  description: >-
                                    Receiving wallet, or token account when the
                                    owner is unknown or `resolveOwners` is
                                    false.
                                fromOwner:
                                  type: string
                                  description: >-
                                    Owner of the sender. Present when owners are
                                    resolved.
                                toOwner:
                                  type: string
                                  description: >-
                                    Owner of the receiver. Present when owners
                                    are resolved.
                                transferCount:
                                  type: integer
                                  description: Transfers aggregated into this edge.
                                  example: 3
                                amount:
                                  type: string
                                  description: Total raw amount moved along the edge.
                                uiAmount:
                                  type: number
                                  description: >-
                                    Total amount adjusted for decimals. Omitted
                                    when decimals are unknown.
                                uiAmountString:
                                  type: string
                                  description: >-
                                    Total amount adjusted for decimals, as a
                                    string.
                                firstBlockTime:
                                  type: integer
                                  description: >-
                                    Unix time of the earliest transfer on the
                                    edge.
                                lastBlockTime:
                                  type: integer
                                  description: >-
                                    Unix time of the latest transfer on the
                                    edge.
                                sample:
                                  type: object
                                  description: >-
                                    One transfer on the edge, with its
                                    signature, amount, slot and time.
                          nodes:
                            type: array
                            description: >-
                              One node per wallet (or token account), most
                              outgoing edges first.
                            items:
                              type: object
                              properties:
                                address:
                                  type: string
                                  description: >-
                                    Wallet, or token account when the owner is
                                    not resolved.
                                owner:
                                  type: string
                                  description: Owning wallet, when resolved.
                                inDegree:
                                  type: integer
                                  description: Edges into this node.
                                outDegree:
                                  type: integer
                                  description: Edges out of this node.
                                inAmount:
                                  type: string
                                  description: Raw amount received across its edges.
                                outAmount:
                                  type: string
                                  description: Raw amount sent across its edges.
                                isHub:
                                  type: boolean
                                  description: True when it sent to two or more nodes.
                          wallets:
                            type: array
                            items:
                              type: string
                            description: >-
                              Unique wallets when owners are resolved, otherwise
                              unique token accounts.
                          scannedTransfers:
                            type: integer
                            description: Transfers read before aggregation.
                            example: 256
                          sortOrder:
                            type: string
                            enum:
                              - asc
                              - desc
                            description: Order the transfers were read in.
                          truncated:
                            type: boolean
                            description: >-
                              Present and true when the scan reached `limit` or
                              edges were cut to `maxEdges`. Narrow `blockTime`
                              to see the rest.
              examples:
                bubbleMap:
                  summary: A dev wallet splitting supply
                  value:
                    jsonrpc: '2.0'
                    id: 1
                    result:
                      mint: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
                      decimals: 5
                      edges:
                        - from: eG3r5t2eSoVZh2b5guQ8gYVetBCxr287aHeK9szWirui
                          to: XsSC8hVUpYEhRF69Qe5G3zjb5yqEBWaHyr4VrEAbKxB7
                          fromOwner: eG3r5t2eSoVZh2b5guQ8gYVetBCxr287aHeK9szWirui
                          toOwner: XsSC8hVUpYEhRF69Qe5G3zjb5yqEBWaHyr4VrEAbKxB7
                          transferCount: 3
                          amount: '150000000000000'
                          uiAmount: 1500000000
                          uiAmountString: '1500000000'
                          firstBlockTime: 1672012860
                          lastBlockTime: 1672013511
                          sample:
                            signature: >-
                              YC3gauDDmL2f1oZh1gH1J91HUs4LAn9XKwFCFF7Jn2hJHzkbAT9kVskSKMwfywkoCyvvXcVgC6pNhtMB7Rayaerr
                            transferType: spl
                            mint: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
                            amount: '50000000000000'
                            decimals: 5
                            uiAmountString: '500000000'
                            uiAmount: 500000000
                            blockTime: 1672012860
                            slot: 168821450
                            from: eG3r5t2eSoVZh2b5guQ8gYVetBCxr287aHeK9szWirui
                            to: XsSC8hVUpYEhRF69Qe5G3zjb5yqEBWaHyr4VrEAbKxB7
                        - from: eG3r5t2eSoVZh2b5guQ8gYVetBCxr287aHeK9szWirui
                          to: bkgUpi7rqGQyhqzyee282xrk7hoyXtKxvzuhFrVAgsAG
                          fromOwner: eG3r5t2eSoVZh2b5guQ8gYVetBCxr287aHeK9szWirui
                          toOwner: bkgUpi7rqGQyhqzyee282xrk7hoyXtKxvzuhFrVAgsAG
                          transferCount: 1
                          amount: '90000000000000'
                          uiAmount: 900000000
                          uiAmountString: '900000000'
                          firstBlockTime: 1672012931
                          lastBlockTime: 1672012931
                          sample:
                            signature: >-
                              eH1shz2eFmixrrbtg8ingKrczCWoqNLrG3WJQr4D4hDV3kyyKnir18jdAE2DQQvXP6NFutR9DQz242mKB2qSoRv9
                            transferType: spl
                            mint: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
                            amount: '90000000000000'
                            decimals: 5
                            uiAmountString: '900000000'
                            uiAmount: 900000000
                            blockTime: 1672012931
                            slot: 168821601
                            from: eG3r5t2eSoVZh2b5guQ8gYVetBCxr287aHeK9szWirui
                            to: bkgUpi7rqGQyhqzyee282xrk7hoyXtKxvzuhFrVAgsAG
                      nodes:
                        - address: eG3r5t2eSoVZh2b5guQ8gYVetBCxr287aHeK9szWirui
                          owner: eG3r5t2eSoVZh2b5guQ8gYVetBCxr287aHeK9szWirui
                          inDegree: 0
                          outDegree: 2
                          inAmount: '0'
                          outAmount: '240000000000000'
                          isHub: true
                        - address: XsSC8hVUpYEhRF69Qe5G3zjb5yqEBWaHyr4VrEAbKxB7
                          owner: XsSC8hVUpYEhRF69Qe5G3zjb5yqEBWaHyr4VrEAbKxB7
                          inDegree: 1
                          outDegree: 0
                          inAmount: '150000000000000'
                          outAmount: '0'
                          isHub: false
                        - address: bkgUpi7rqGQyhqzyee282xrk7hoyXtKxvzuhFrVAgsAG
                          owner: bkgUpi7rqGQyhqzyee282xrk7hoyXtKxvzuhFrVAgsAG
                          inDegree: 1
                          outDegree: 0
                          inAmount: '90000000000000'
                          outAmount: '0'
                          isHub: false
                      wallets:
                        - XsSC8hVUpYEhRF69Qe5G3zjb5yqEBWaHyr4VrEAbKxB7
                        - bkgUpi7rqGQyhqzyee282xrk7hoyXtKxvzuhFrVAgsAG
                        - eG3r5t2eSoVZh2b5guQ8gYVetBCxr287aHeK9szWirui
                      scannedTransfers: 4
                      sortOrder: asc
        '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: Missing mint or wrong field type
                  value:
                    jsonrpc: '2.0'
                    error:
                      code: -32602
                      message: Invalid params
                    id: 1
                badSortOrder:
                  summary: Unknown sort order
                  value:
                    jsonrpc: '2.0'
                    error:
                      code: -32602
                      message: sortOrder must be asc or desc
                    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.