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

# getSupply

> getSupply mengembalikan pasokan SOL Solana saat ini — jumlah total, yang beredar, dan yang tidak beredar dalam lamport, dengan opsi akun cadangan yang tidak beredar.

## Parameter Permintaan

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

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

<ParamField body="excludeNonCirculatingAccountsList" type="boolean">
  Opsi untuk mengecualikan daftar terperinci akun cadangan SOL yang tidak beredar agar respons lebih cepat.
</ParamField>


## OpenAPI

````yaml id/openapi/rpc-http/getSupply.yaml POST /
openapi: 3.1.0
info:
  title: API RPC Solana
  version: 1.0.0
  description: >-
    API analitik pasokan SOL native untuk memantau total sirkulasi, ekonomi
    token, dan metrik distribusi 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: Titik akhir RPC Mainnet
  - url: https://devnet.helius-rpc.com
    description: Titik akhir RPC Devnet
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getSupply
      description: >
        Ambil metrik komprehensif mengenai pasokan dan distribusi token SOL
        native Solana.

        API tokenomik penting ini menyediakan perincian mendetail tentang
        pasokan token yang beredar dan tidak beredar, sehingga membantu melacak
        distribusi SOL di seluruh ekosistem. Data mencakup total pasokan SOL,
        jumlah yang aktif beredar, token dalam cadangan, dan daftar akun yang
        menyimpan token yang tidak beredar. Sangat penting bagi analis keuangan,
        peneliti ekonomi token, pelacak pasar, dan aplikasi yang memerlukan
        metrik akurat mengenai pola pasokan dan distribusi token native Solana.
      operationId: getSupply
      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:
                    - getSupply
                  description: Nama metode RPC yang akan dipanggil.
                  example: getSupply
                  default: getSupply
                params:
                  type: array
                  description: Objek konfigurasi opsional.
                  default: []
                  items:
                    type: object
                    properties:
                      commitment:
                        type: string
                        description: Tingkat komitmen untuk permintaan.
                        enum:
                          - confirmed
                          - finalized
                          - processed
                        example: finalized
                      excludeNonCirculatingAccountsList:
                        type: boolean
                        description: >-
                          Opsi untuk mengecualikan daftar terperinci akun
                          cadangan SOL yang tidak beredar agar respons lebih
                          cepat.
                        example: true
      responses:
        '200':
          description: Informasi pasokan berhasil diambil.
          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 pasokan.
                    properties:
                      context:
                        type: object
                        description: Konteks respons.
                        properties:
                          slot:
                            type: integer
                            description: Slot tempat data diambil.
                            example: 1114
                      value:
                        type: object
                        description: Detail pasokan.
                        properties:
                          total:
                            type: integer
                            description: >-
                              Total pasokan SOL yang ada (dalam lamport),
                              termasuk token yang beredar dan terkunci.
                            example: 1016000
                          circulating:
                            type: integer
                            description: >-
                              Jumlah SOL (dalam lamport) yang saat ini beredar
                              dan tersedia untuk digunakan oleh publik.
                            example: 16000
                          nonCirculating:
                            type: integer
                            description: >-
                              Jumlah SOL (dalam lamport) yang disimpan dalam
                              akun cadangan dan saat ini tidak tersedia dalam
                              sirkulasi.
                            example: 1000000
                          nonCirculatingAccounts:
                            type: array
                            description: >-
                              Daftar alamat dompet Solana yang menyimpan token
                              SOL yang tidak beredar sebagai cadangan.
                            items:
                              type: string
                            example:
                              - FEy8pTbP5fEoqMV1GdTz83byuA8EKByqYat1PKDgVAq5
                              - 9huDUZfxoJ7wGMTffUE7vh1xePqef7gyrLJu9NApncqA
                              - 3mi1GmwEE3zo2jmfDuzvjSX9ovRXsDUKHvsntpkhuLJ9
                              - BYxEJTDerkaRWBem3XgnVcdhppktBXa2HbkHPKj2Ui4Z
              examples:
                default:
                  $ref: '#/components/examples/getSupplyResponse'
        '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: Parameter tidak valid
                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: Tidak diotorisasi
                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: Terlalu banyak permintaan
                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: Kesalahan internal
                id: '1'
        '503':
          description: Layanan Tidak Tersedia - Layanan untuk sementara tidak tersedia.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32002
                  message: Layanan tidak tersedia
                id: '1'
        '504':
          description: Waktu Tunggu Gateway Habis - Waktu tunggu permintaan habis.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32003
                  message: Waktu tunggu gateway habis
                id: '1'
      security:
        - ApiKeyQuery: []
components:
  examples:
    getSupplyResponse:
      value:
        jsonrpc: '2.0'
        id: '1'
        result:
          context:
            slot: 1114
          value:
            total: 1016000
            circulating: 16000
            nonCirculating: 1000000
            nonCirculatingAccounts:
              - FEy8pTbP5fEoqMV1GdTz83byuA8EKByqYat1PKDgVAq5
              - 9huDUZfxoJ7wGMTffUE7vh1xePqef7gyrLJu9NApncqA
              - 3mi1GmwEE3zo2jmfDuzvjSX9ovRXsDUKHvsntpkhuLJ9
              - BYxEJTDerkaRWBem3XgnVcdhppktBXa2HbkHPKj2Ui4Z
  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 tersebut.
        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 dapat memperolehnya secara gratis di
        [dasbor](https://dashboard.helius.dev/api-keys).

````