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

# getAssetsByAuthority

> Ambil semua NFT Solana, NFT terkompresi, dan token yang dikendalikan oleh alamat otoritas tertentu dengan dukungan paginasi

## Parameter Permintaan

<ParamField body="authorityAddress" type="string" required>
  Alamat pemilik yang asetnya akan diambil.
</ParamField>

<ParamField body="page" type="number">
  Halaman hasil yang akan dikembalikan.
</ParamField>

<ParamField body="limit" type="number">
  Jumlah maksimum aset yang akan dikembalikan.
</ParamField>

<ParamField body="sortBy" type="object">
  Opsi pengurutan untuk respons.
</ParamField>

<ParamField body="sortBy.sortBy" type="string">
  Kriteria yang digunakan untuk mengurutkan aset yang diambil.

  * `created`
  * `recent_action`
  * `updated`
  * `none`
</ParamField>

<ParamField body="sortBy.sortDirection" type="string">
  Arah pengurutan aset yang diambil.

  * `asc`
  * `desc`
</ParamField>

<ParamField body="before" type="string">
  Kursor untuk melakukan paginasi mundur pada aset.
</ParamField>

<ParamField body="after" type="string">
  Kursor untuk melakukan paginasi maju pada aset.
</ParamField>

<ParamField body="options" type="object">
  Opsi tampilan untuk respons.
</ParamField>

<ParamField body="options.showUnverifiedCollections" type="boolean" default="false">
  Menampilkan informasi pengelompokan untuk koleksi yang belum diverifikasi, alih-alih melewatinya.
</ParamField>

<ParamField body="options.showCollectionMetadata" type="boolean" default="false">
  Menampilkan metadata untuk koleksi.
</ParamField>

<ParamField body="options.showGrandTotal" type="boolean" default="false">
  Menampilkan jumlah total aset yang cocok dengan kueri. Opsi ini akan membuat permintaan lebih lambat.
</ParamField>


## OpenAPI

````yaml id/openapi/das-api/getAssetsByAuthority.yaml POST /
openapi: 3.1.0
info:
  title: Solana RPC API
  version: 1.0.0
  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: getAssetsByAuthority
      description: Mengembalikan daftar aset yang dimiliki oleh otoritas tertentu.
      operationId: rpc
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
                - params
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  description: Versi protokol JSON-RPC.
                  default: '2.0'
                id:
                  type: string
                  description: ID untuk mengidentifikasi permintaan.
                  default: '1'
                method:
                  type: string
                  enum:
                    - getAssetsByAuthority
                  description: Nama metode DAS yang akan dipanggil.
                  default: getAssetsByAuthority
                params:
                  type: object
                  default:
                    authorityAddress: 2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW
                  properties:
                    authorityAddress:
                      type: string
                      description: Alamat pemilik yang asetnya akan diambil.
                      example: 2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW
                    page:
                      type: integer
                      description: Halaman hasil yang akan dikembalikan.
                      example: 1
                    limit:
                      type: integer
                      description: Jumlah maksimum aset yang akan dikembalikan.
                      example: 100
                    sortBy:
                      type: object
                      description: Opsi pengurutan untuk respons.
                      properties:
                        sortBy:
                          type: string
                          description: >-
                            Kriteria yang digunakan untuk mengurutkan aset yang
                            diambil.
                          enum:
                            - created
                            - recent_action
                            - updated
                            - none
                        sortDirection:
                          type: string
                          description: Arah pengurutan aset yang diambil.
                          enum:
                            - asc
                            - desc
                    before:
                      type: string
                      description: Kursor untuk melakukan paginasi mundur pada aset.
                      example: string
                    after:
                      type: string
                      description: Kursor untuk melakukan paginasi maju pada aset.
                      example: string
                    options:
                      type: object
                      description: Opsi tampilan untuk respons.
                      properties:
                        showUnverifiedCollections:
                          type: boolean
                          description: >-
                            Menampilkan informasi pengelompokan untuk koleksi
                            yang belum diverifikasi alih-alih melewatinya.
                          default: false
                        showCollectionMetadata:
                          type: boolean
                          description: Menampilkan metadata untuk koleksi.
                          default: false
                        showGrandTotal:
                          type: boolean
                          description: >-
                            Menampilkan jumlah total aset yang cocok dengan
                            kueri. Opsi ini akan membuat permintaan lebih
                            lambat.
                          default: false
                  required:
                    - authorityAddress
      responses:
        '200':
          description: Respons berhasil
          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
                        description: Jumlah total aset yang ditemukan.
                        example: 1
                      limit:
                        type: integer
                        description: Jumlah maksimum aset yang diminta.
                        example: 1
                      page:
                        type: integer
                        description: Halaman hasil saat ini.
                        example: 1
                      items:
                        type: array
                        description: Array aset.
                        items:
                          type: object
                          properties:
                            interface:
                              type: string
                              description: Antarmuka aset.
                              enum:
                                - V1_NFT
                                - V1_PRINT
                                - LEGACY_NFT
                                - V2_NFT
                                - FungibleAsset
                                - FungibleToken
                                - Custom
                                - Identity
                                - Executable
                                - ProgrammableNFT
                                - MplCoreAsset
                                - MplBubblegumV2
                                - MplCoreCollection
                                - MplCoreGroup
                              example: ProgrammableNFT
                            is_agent:
                              type: boolean
                              description: >-
                                Menunjukkan apakah aset ini memiliki Identitas
                                Agen (plugin eksternal AgentIdentity MPL Core).
                                Dihilangkan jika bernilai 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
                            id:
                              type: string
                              description: ID aset.
                              example: JEGruwYE13mhX2wi2MGrPmeLiVyZtbBptmVy9vG3pXRC
                            content:
                              type: object
                              description: Konten aset.
                              example:
                                $schema: https://schema.metaplex.com/nft1.0.json
                                json_uri: >-
                                  https://madlads.s3.us-west-2.amazonaws.com/json/6867.json
                                files:
                                  - uri: >-
                                      https://madlads.s3.us-west-2.amazonaws.com/images/6867.png
                                    cdn_uri: >-
                                      https://cdn.helius-rpc.com/cdn-cgi/image//https://madlads.s3.us-west-2.amazonaws.com/images/6867.png
                                    mime: image/png
                            authorities:
                              type: array
                              items:
                                type: object
                              description: Otoritas aset.
                              example:
                                - address: 2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW
                                  scopes:
                                    - full
                            compression:
                              type: object
                              description: Detail kompresi aset.
                              example:
                                eligible: false
                                compressed: false
                                data_hash: ''
                                creator_hash: ''
                                asset_hash: ''
                                tree: ''
                                seq: 0
                                leaf_id: 0
                            grouping:
                              type: object
                              description: Detail pengelompokan aset.
                              example:
                                - group_key: collection
                                  group_value: J1S9H3QjnRtBbbuD4HjPV6RpRhwuk4zKbxsnCHuTgh9w
                            royalty:
                              type: object
                              description: Detail royalti aset.
                              example:
                                royalty_model: creators
                                target: null
                                percent: 0.042
                                basis_points: 420
                                primary_sale_happened: true
                                locked: false
                            creators:
                              type: array
                              items:
                                type: object
                              description: Detail pembuat aset.
                              example:
                                - address: 5XvhfmRjwXkGp3jHGmaKpqeerNYjkuZZBYLVQYdeVcRv
                                  share: 0
                                  verified: true
                            ownership:
                              type: object
                              description: Detail kepemilikan aset.
                              example:
                                frozen: true
                                delegated: false
                                delegate: null
                                ownership_model: single
                                owner: 3F21SJs4FMpsakrxmd8GjgfQZG6BN6MVsvXcm5Yc6Jcf
                            burnt: false
        '400':
          description: >-
            Permintaan Buruk. 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 Terotorisasi. 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.
          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 otoritas 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).

````