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

# getAssetsByOwner

> Ambil semua NFT Solana, NFT terkompresi, dan token fungibel yang dimiliki oleh alamat dompet tertentu dengan opsi pengurutan dan paginasi



## OpenAPI

````yaml id/openapi/das-api/getAssetsByOwner.yaml POST /
openapi: 3.1.0
info:
  title: API RPC Solana
  version: 1.0.0
  description: >-
    API Digital Asset Standard (DAS) untuk mengambil data kepemilikan NFT dan
    token Solana yang komprehensif dengan opsi pemfilteran dan paginasi
    lanjutan.
  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 untuk aplikasi Solana produksi
  - url: https://devnet.helius-rpc.com
    description: Titik akhir RPC Devnet untuk pengembangan dan pengujian Solana
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getAssetsByOwner
      description: >
        Ambil daftar komprehensif semua aset digital yang dimiliki oleh alamat
        dompet Solana tertentu.

        Akses koleksi NFT lengkap, aset terkompresi, token yang dapat
        dipertukarkan, dan saldo SOL native

        dengan opsi pemfilteran, pengurutan, dan paginasi lanjutan. Mendukung
        NFT tradisional dan terkompresi

        dengan metadata terperinci untuk analisis portofolio dompet yang
        lengkap.
      operationId: rpc
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  description: Versi protokol JSON-RPC.
                  default: '2.0'
                id:
                  type: string
                  description: ID untuk mengidentifikasi permintaan.
                  example: '1'
                  default: '1'
                method:
                  type: string
                  enum:
                    - getAssetsByOwner
                  description: Nama metode DAS yang akan dipanggil.
                  default: getAssetsByOwner
                params:
                  description: >-
                    Parameter untuk mengueri aset digital Solana berdasarkan
                    alamat pemilik dengan opsi pemfilteran dan paginasi.
                  default:
                    ownerAddress: 86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY
                    page: 1
                    limit: 10
                  oneOf:
                    - type: object
                      properties:
                        ownerAddress:
                          type: string
                          description: >-
                            Alamat dompet Solana yang semua aset digital
                            miliknya akan diambil.
                          example: 86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY
                        page:
                          type: integer
                          description: >-
                            Nomor halaman untuk menelusuri koleksi aset besar
                            dengan paginasi (indeks berbasis 1).
                          example: 1
                        limit:
                          type: integer
                          description: >-
                            Jumlah maksimum aset yang akan ditampilkan per
                            halaman (hingga 1000).
                          example: 50
                        sortBy:
                          type: object
                          description: >-
                            Konfigurasi pengurutan untuk menentukan urutan aset
                            Solana yang ditampilkan.
                          properties:
                            sortBy:
                              type: string
                              description: >-
                                Kriteria untuk mengurutkan aset digital Solana
                                dalam respons.
                              enum:
                                - created
                                - recent_action
                                - updated
                                - none
                            sortDirection:
                              type: string
                              description: >-
                                Arah pengurutan aset digital Solana dalam
                                respons.
                              enum:
                                - asc
                                - desc
                        options:
                          type: object
                          description: >-
                            Opsi tampilan dan pemfilteran untuk data aset Solana
                            yang ditampilkan.
                          properties:
                            showUnverifiedCollections:
                              type: boolean
                              description: >-
                                Sertakan informasi pengelompokan untuk koleksi
                                NFT Solana yang belum diverifikasi.
                              default: false
                            showCollectionMetadata:
                              type: boolean
                              description: >-
                                Sertakan metadata terperinci untuk koleksi NFT
                                Solana.
                              default: false
                            showGrandTotal:
                              type: boolean
                              description: >-
                                Sertakan jumlah total semua aset yang dimiliki
                                oleh alamat tersebut (dapat menambah waktu
                                respons).
                              default: false
                            showFungible:
                              type: boolean
                              description: >-
                                Sertakan token SPL dan aset yang dapat
                                dipertukarkan yang disimpan dalam dompet Solana.
                              default: false
                            showNativeBalance:
                              type: boolean
                              description: >-
                                Sertakan saldo SOL native yang disimpan dalam
                                dompet Solana.
                              default: false
                            showZeroBalance:
                              type: boolean
                              description: >-
                                Sertakan aset dengan saldo nol dalam daftar
                                kepemilikan.
                              default: false
                      required:
                        - ownerAddress
                    - type: object
                      properties:
                        ownerAddress:
                          type: string
                          description: >-
                            Alamat dompet Solana yang semua aset digital
                            miliknya akan diambil.
                          example: 86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY
                        before:
                          type: string
                          description: >-
                            Kursor paginasi untuk mengambil aset sebelum posisi
                            ini (untuk paginasi mundur).
                          example: string
                        after:
                          type: string
                          description: >-
                            Kursor paginasi untuk mengambil aset setelah posisi
                            ini (untuk paginasi maju).
                          example: string
                        sortBy:
                          type: object
                          description: >-
                            Konfigurasi pengurutan untuk menentukan urutan aset
                            Solana yang ditampilkan.
                          properties:
                            sortBy:
                              type: string
                              description: >-
                                Kriteria untuk mengurutkan aset digital Solana
                                dalam respons.
                              enum:
                                - created
                                - recent_action
                                - updated
                                - none
                            sortDirection:
                              type: string
                              description: >-
                                Arah pengurutan aset digital Solana dalam
                                respons.
                              enum:
                                - asc
                                - desc
                        options:
                          type: object
                          description: >-
                            Opsi tampilan dan pemfilteran untuk data aset Solana
                            yang ditampilkan.
                          properties:
                            showUnverifiedCollections:
                              type: boolean
                              description: >-
                                Sertakan informasi pengelompokan untuk koleksi
                                NFT Solana yang belum diverifikasi.
                              default: false
                            showCollectionMetadata:
                              type: boolean
                              description: >-
                                Sertakan metadata terperinci untuk koleksi NFT
                                Solana.
                              default: false
                            showGrandTotal:
                              type: boolean
                              description: >-
                                Sertakan jumlah total semua aset yang dimiliki
                                oleh alamat tersebut (dapat menambah waktu
                                respons).
                              default: false
                            showFungible:
                              type: boolean
                              description: >-
                                Sertakan token SPL dan aset yang dapat
                                dipertukarkan yang disimpan dalam dompet Solana.
                              default: false
                            showNativeBalance:
                              type: boolean
                              description: >-
                                Sertakan saldo SOL native yang disimpan dalam
                                dompet Solana.
                              default: false
                            showZeroBalance:
                              type: boolean
                              description: >-
                                Sertakan aset dengan saldo nol dalam daftar
                                kepemilikan.
                              default: false
                      required:
                        - ownerAddress
              required:
                - jsonrpc
                - id
                - method
                - params
      responses:
        '200':
          description: >-
            Berhasil mengambil aset digital Solana yang dimiliki oleh alamat
            dompet yang ditentukan
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  result:
                    type: object
                    properties:
                      last_indexed_slot:
                        type: integer
                        description: >-
                          Semua data hingga dan termasuk slot ini dijamin telah
                          diindeks.
                        example: 365750752
                      total:
                        type: integer
                        example: 1
                      limit:
                        type: integer
                        example: 1
                      page:
                        type: integer
                        example: 1
                      items:
                        type: array
                        items:
                          type: object
                          properties:
                            interface:
                              type: string
                              description: Antarmuka standar token untuk aset tersebut.
                              enum:
                                - V1_NFT
                                - V1_PRINT
                                - LEGACY_NFT
                                - V2_NFT
                                - FungibleAsset
                                - FungibleToken
                                - Custom
                                - Identity
                                - Executable
                                - ProgrammableNFT
                                - MplCoreAsset
                                - MplBubblegumV2
                                - MplCoreCollection
                                - MplCoreGroup
                            is_agent:
                              type: boolean
                              description: >-
                                Menunjukkan apakah aset ini memiliki Agent
                                Identity (plugin eksternal MPL Core
                                AgentIdentity). Dihilangkan jika nilainya false.
                            agent_token:
                              type: string
                              description: >-
                                Mint token agen yang dikodekan dengan Base58
                                dari program Agent Registry. Dihilangkan jika
                                tidak terdaftar.
                            asset_signer:
                              type: string
                              description: >-
                                PDA penanda tangan aset yang dikodekan dengan
                                Base58 untuk MPL Core. Dihilangkan jika tidak
                                berlaku.
                            plugins:
                              type: object
                              description: >-
                                Plugin MPL Core, termasuk keanggotaan `groups`
                                MIP-11 opsional.
                              additionalProperties: true
                          example:
                            interface: V1_NFT
                            id: JCfTS6dmJZY4NXhjMwHqayGGHUwxp59pzcYhZrYqMBce
                            content:
                              $schema: https://schema.metaplex.com/nft1.0.json
                              json_uri: https://www.hi-hi.vip/json/5000wif.json
                              files:
                                - uri: https://img.hi-hi.vip/json/img/5000wif.png
                                  cdn_uri: >-
                                    https://cdn.helius-rpc.com/cdn-cgi/image//https://img.hi-hi.vip/json/img/5000wif.png
                                  mime: image/png
                            authorities:
                              - address: 2iVwwSHr7hGR6wxNuQM8ArQYnX6Mzy2yeFnhBGgQetRw
                                scopes:
                                  - full
                            compression:
                              eligible: false
                              compressed: true
                              data_hash: 7zquDVS1VKu9HDh4WS4ray5ozLThiK6xrnFNhJtusj65
                              creator_hash: 6v7GeYRiVML5mG1kJqi6eujN9sPB3ziCZJF4Vartj1qd
                              asset_hash: 8gQZkgZ1L91qkNPtsiRGkRzpNcEfhBABEQr1D3wquB8H
                              tree: BZNn9zX1MysbSvqyGZ33Seb8bvimaiE9fxmLKwX2Euae
                              seq: 251133
                              leaf_id: 250758
                            grouping:
                              - group_key: collection
                                group_value: 723Vxwr6aYZHNqc8dVQVwchDHUR3cEwZA8zkejdYWKaS
                            royalty:
                              royalty_model: creators
                              target: null
                              percent: 0
                              basis_points: 0
                              primary_sale_happened: false
                              locked: false
                            creators:
                              - address: GVKwqsEC5YQZX4hG7Fdy6m7cJUi4DA3ezYx1CC9wkj34
                                share: 100
                                verified: true
                            ownership:
                              frozen: false
                              delegated: true
                              delegate: GVKwqsEC5YQZX4hG7Fdy6m7cJUi4DA3ezYx1CC9wkj34
                              ownership_model: single
                              owner: 86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY
                            supply:
                              print_max_supply: 0
                              print_current_supply: 0
                              edition_nonce: 0
                            mutable: true
                            burnt: false
                  id:
                    type: string
                    example: text
        '400':
          description: >-
            Permintaan Tidak Valid. Server tidak dapat memahami permintaan
            karena sintaks tidak valid.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32602
                      message:
                        type: string
                        example: Parameter permintaan tidak valid.
                  id:
                    type: string
                    example: '1'
        '401':
          description: >-
            Tidak Diotorisasi. Klien harus mengautentikasi dirinya untuk
            mendapatkan respons yang diminta.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32001
                      message:
                        type: string
                        example: >-
                          Autentikasi gagal. Kunci API tidak ada atau tidak
                          valid.
                  id:
                    type: string
                    example: '1'
        '403':
          description: Dilarang. Klien tidak memiliki hak akses ke konten tersebut.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32003
                      message:
                        type: string
                        example: >-
                          Anda tidak memiliki izin untuk mengakses sumber daya
                          ini.
                  id:
                    type: string
                    example: '1'
        '404':
          description: >-
            Tidak Ditemukan. Server tidak dapat menemukan sumber daya yang
            diminta.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32004
                      message:
                        type: string
                        example: >-
                          Tidak ada aset yang ditemukan untuk pemilik yang
                          ditentukan.
                  id:
                    type: string
                    example: '1'
        '429':
          description: >-
            Terlalu Banyak Permintaan. Pengguna telah mengirim terlalu banyak
            permintaan dalam jangka waktu tertentu.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32029
                      message:
                        type: string
                        example: Batas laju terlampaui. Silakan coba lagi nanti.
                  id:
                    type: string
                    example: '1'
        '500':
          description: >-
            Kesalahan Server Internal. Server mengalami situasi yang tidak
            diketahui cara penanganannya.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                        example: -32000
                      message:
                        type: string
                        example: Terjadi kesalahan tak terduga pada server.
                  id:
                    type: string
                    example: '1'
      security:
        - ApiKeyQuery: []
components:
  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).

````