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

# getTokenLargestAccounts

> Mengembalikan 20 akun terbesar dari jenis Token SPL tertentu.

## Parameter Permintaan

<ParamField body="address" type="string" required>
  Alamat mint token Solana yang akan dianalisis untuk mengetahui akun pemegang terbesar dan pola distribusinya.
</ParamField>

<ParamField body="commitment" type="string">
  Tingkat commitment untuk permintaan.

  * `confirmed`
  * `finalized`
  * `processed`
</ParamField>


## OpenAPI

````yaml id/openapi/rpc-http/getTokenLargestAccounts.yaml POST /
openapi: 3.1.0
info:
  title: Solana RPC API
  version: 1.0.0
  description: >-
    API analisis konsentrasi token untuk mengidentifikasi pemegang utama dan
    melacak pola distribusi token di seluruh ekosistem blockchain Solana.
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://mainnet.helius-rpc.com
    description: Endpoint RPC Mainnet
  - url: https://devnet.helius-rpc.com
    description: Endpoint RPC Devnet
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getTokenLargestAccounts
      description: >
        Identifikasi dan analisis pemegang terbesar dari token SPL Solana apa
        pun dengan informasi saldo terperinci.

        API distribusi token yang canggih ini memberikan wawasan tentang pola
        konsentrasi token, 

        mengungkap pemegang utama ("whale") dan posisi relatif mereka. Sangat
        penting untuk analisis pasar,

        audit distribusi token, hubungan investor, dan pelacakan tata kelola
        DAO. Secara otomatis

        mengembalikan alamat yang diurutkan berdasarkan saldo secara menurun
        dengan pemformatan desimal yang tepat

        agar dapat langsung diintegrasikan ke dasbor analitik dan alat
        pemantauan.
      operationId: getTokenLargestAccounts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  description: Versi protokol JSON-RPC.
                  example: '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: Pengidentifikasi unik untuk permintaan.
                  example: '1'
                  default: '1'
                method:
                  type: string
                  enum:
                    - getTokenLargestAccounts
                  description: Nama metode RPC yang akan dipanggil.
                  example: getTokenLargestAccounts
                  default: getTokenLargestAccounts
                params:
                  type: array
                  description: >-
                    Parameter untuk mengkueri akun token terbesar untuk mint
                    tertentu.
                  default:
                    - he1iusmfkpAdwvxLNGV8Y1iSbj4rUy6yMhEA3fotn9A
                  items:
                    oneOf:
                      - type: string
                        description: >-
                          Alamat mint token Solana yang akan dianalisis untuk
                          menemukan akun pemegang terbesar dan pola distribusi.
                        example: he1iusmfkpAdwvxLNGV8Y1iSbj4rUy6yMhEA3fotn9A
                      - type: object
                        description: Objek konfigurasi.
                        properties:
                          commitment:
                            type: string
                            description: Tingkat komitmen untuk permintaan.
                            enum:
                              - confirmed
                              - finalized
                              - processed
                            example: finalized
      responses:
        '200':
          description: Berhasil mengambil akun token terbesar.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    description: Versi protokol JSON-RPC.
                    enum:
                      - '2.0'
                    example: '2.0'
                  id:
                    type: string
                    description: Pengidentifikasi yang cocok dengan permintaan.
                    example: '1'
                  result:
                    type: object
                    description: Konteks dan detail akun token.
                    properties:
                      context:
                        type: object
                        description: Konteks respons.
                        properties:
                          slot:
                            type: integer
                            description: Slot tempat data diambil.
                            example: 1114
                      value:
                        type: array
                        description: Daftar akun token beserta saldonya.
                        items:
                          type: object
                          properties:
                            address:
                              type: string
                              description: >-
                                Alamat dompet Solana yang memegang sebagian
                                besar pasokan token.
                              example: FYjHNoFtSQ5uijKrZFyYAxvEr87hsKXkXcxkcmkBAf4r
                            amount:
                              type: string
                              description: >-
                                Saldo token mentah dari akun pemegang utama ini
                                tanpa pemformatan desimal.
                              example: '771'
                            decimals:
                              type: integer
                              description: >-
                                Jumlah angka desimal yang ditentukan oleh token
                                untuk menampilkan saldo secara tepat.
                              example: 2
                            uiAmount:
                              type: number
                              description: >-
                                Saldo token pemegang utama ini yang mudah dibaca
                                manusia dengan pemformatan desimal yang tepat
                                (tidak digunakan lagi).
                              example: 7.71
                              deprecated: true
                            uiAmountString:
                              type: string
                              description: >-
                                Representasi string kanonis dari saldo token
                                pemegang utama ini dengan angka desimal.
                              example: '7.71'
              examples:
                tokenResponse:
                  $ref: '#/components/examples/tokenLargestAccountsResponse'
        '400':
          description: >-
            Permintaan Buruk - Parameter permintaan tidak valid atau format
            permintaan salah.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: Invalid params
                id: '1'
        '401':
          description: Tidak Diotorisasi - Kunci API tidak valid atau tidak ada.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: Unauthorized
                id: '1'
        '429':
          description: Terlalu Banyak Permintaan - Batas laju terlampaui.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32005
                  message: Too many requests
                id: '1'
        '500':
          description: Kesalahan Server Internal - Terjadi kesalahan pada server.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32603
                  message: Internal error
                id: '1'
        '503':
          description: Layanan Tidak Tersedia - Layanan tidak tersedia untuk sementara.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32002
                  message: Service unavailable
                id: '1'
        '504':
          description: Batas Waktu Gateway - Waktu permintaan habis.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32003
                  message: Gateway timeout
                id: '1'
      security:
        - ApiKeyQuery: []
components:
  examples:
    tokenLargestAccountsResponse:
      value:
        jsonrpc: '2.0'
        id: '1'
        result:
          context:
            slot: 1114
          value:
            - address: FYjHNoFtSQ5uijKrZFyYAxvEr87hsKXkXcxkcmkBAf4r
              amount: '771'
              decimals: 2
              uiAmount: 7.71
              uiAmountString: '7.71'
            - address: BnsywxTcaYeNUtzrPxQUvzAWxfzZe3ZLUJ4wMMuLESnu
              amount: '229'
              decimals: 2
              uiAmount: 2.29
              uiAmountString: '2.29'
  schemas:
    ErrorResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          description: Versi protokol JSON-RPC.
          enum:
            - '2.0'
          example: '2.0'
        error:
          type: object
          properties:
            code:
              type: integer
              description: Kode kesalahan.
              example: -32602
            message:
              type: string
              description: Pesan kesalahan.
            data:
              type: object
              description: Data tambahan tentang kesalahan.
        id:
          type: string
          description: Pengidentifikasi yang cocok dengan permintaan.
          example: '1'
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        Kunci API Helius Anda. Anda bisa mendapatkannya secara gratis di
        [dasbor](https://dashboard.helius.dev/api-keys).

````