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

> 特定のアドレスによって管理されているすべてのSolana NFT、圧縮NFT、およびトークンをページネーション機能を使用して取得します

## リクエストパラメータ

<ParamField body="authorityAddress" type="string" required>
  取得したい資産の所有者のアドレス。
</ParamField>

<ParamField body="page" type="number">
  返す結果のページ。
</ParamField>

<ParamField body="limit" type="number">
  返す資産の最大数。
</ParamField>

<ParamField body="sortBy" type="object">
  レスポンスのソートオプション。
</ParamField>

<ParamField body="sortBy.sortBy" type="string">
  取得した資産のソート基準。

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

<ParamField body="sortBy.sortDirection" type="string">
  取得した資産のソート方向。

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

<ParamField body="before" type="string">
  資産を逆方向にページネートする際のカーソル。
</ParamField>

<ParamField body="after" type="string">
  資産を順方向にページネートする際のカーソル。
</ParamField>

<ParamField body="options" type="object">
  レスポンスの表示オプション。
</ParamField>

<ParamField body="options.showUnverifiedCollections" type="boolean" default="false">
  検証されていないコレクションの情報をスキップせずに表示します。
</ParamField>

<ParamField body="options.showCollectionMetadata" type="boolean" default="false">
  コレクションのメタデータを表示します。
</ParamField>

<ParamField body="options.showGrandTotal" type="boolean" default="false">
  クエリに一致した資産の総数を表示します。これによりリクエストが遅くなります。
</ParamField>


## OpenAPI

````yaml ja/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: メインネットRPCエンドポイント
  - url: https://devnet.helius-rpc.com
    description: Devnet RPCエンドポイント
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getAssetsByAuthority
      description: 指定された権限によって所有される資産のリストを返します。
      operationId: rpc
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
                - params
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  description: JSON-RPCプロトコルのバージョン。
                  default: '2.0'
                id:
                  type: string
                  description: リクエストを識別するためのID。
                  default: '1'
                method:
                  type: string
                  enum:
                    - getAssetsByAuthority
                  description: 呼び出すDASメソッドの名前。
                  default: getAssetsByAuthority
                params:
                  type: object
                  default:
                    authorityAddress: 2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW
                  properties:
                    authorityAddress:
                      type: string
                      description: 取得する資産の所有者のアドレス。
                      example: 2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW
                    page:
                      type: integer
                      description: 返す結果のページ。
                      example: 1
                    limit:
                      type: integer
                      description: 返す資産の最大数。
                      example: 100
                    sortBy:
                      type: object
                      description: レスポンスのソートオプション。
                      properties:
                        sortBy:
                          type: string
                          description: 取得された資産がソートされる基準。
                          enum:
                            - created
                            - recent_action
                            - updated
                            - none
                        sortDirection:
                          type: string
                          description: 取得された資産のソート方向。
                          enum:
                            - asc
                            - desc
                    before:
                      type: string
                      description: 資産を逆にページネートするためのカーソル。
                      example: string
                    after:
                      type: string
                      description: 資産を順にページネートするためのカーソル。
                      example: string
                    options:
                      type: object
                      description: レスポンスの表示オプション。
                      properties:
                        showUnverifiedCollections:
                          type: boolean
                          description: 未検証のコレクションのグループ情報を表示しますが、スキップしません。
                          default: false
                        showCollectionMetadata:
                          type: boolean
                          description: コレクションのメタデータを表示。
                          default: false
                        showGrandTotal:
                          type: boolean
                          description: クエリに一致した資産の総数を表示します。これによりリクエストが遅くなります。
                          default: false
                  required:
                    - authorityAddress
      responses:
        '200':
          description: 成功したレスポンス
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  result:
                    type: object
                    properties:
                      last_indexed_slot:
                        type: integer
                        description: このスロットまでのすべてのデータがインデックスされていることが保証されています。
                        example: 365750752
                      total:
                        type: integer
                        description: 見つかった資産の総数。
                        example: 1
                      limit:
                        type: integer
                        description: 要求された資産の最大数。
                        example: 1
                      page:
                        type: integer
                        description: 現在の結果ページ。
                        example: 1
                      items:
                        type: array
                        description: 資産の配列。
                        items:
                          type: object
                          properties:
                            interface:
                              type: string
                              description: 資産のインターフェース。
                              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: >-
                                この資産がエージェントアイデンティティ（MPL Core
                                AgentIdentity外部プラグイン）を持っているかどうか。falseの場合は省略されます。
                            agent_token:
                              type: string
                              description: >-
                                エージェントレジストリプログラムからのBase58エンコードされたエージェントトークンミント。登録されていない場合は省略されます。
                            asset_signer:
                              type: string
                              description: >-
                                MPL
                                Core用のBase58エンコードされたアセットサイナPDA。該当しない場合は省略されます。
                            plugins:
                              type: object
                              description: MPL Coreプラグイン、オプションのMIP-11 `groups`メンバーシップを含む。
                              additionalProperties: true
                            id:
                              type: string
                              description: 資産のID。
                              example: JEGruwYE13mhX2wi2MGrPmeLiVyZtbBptmVy9vG3pXRC
                            content:
                              type: object
                              description: 資産のコンテンツ。
                              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: 資産の権限者。
                              example:
                                - address: 2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW
                                  scopes:
                                    - full
                            compression:
                              type: object
                              description: 資産の圧縮詳細。
                              example:
                                eligible: false
                                compressed: false
                                data_hash: ''
                                creator_hash: ''
                                asset_hash: ''
                                tree: ''
                                seq: 0
                                leaf_id: 0
                            grouping:
                              type: object
                              description: 資産のグループ化詳細。
                              example:
                                - group_key: collection
                                  group_value: J1S9H3QjnRtBbbuD4HjPV6RpRhwuk4zKbxsnCHuTgh9w
                            royalty:
                              type: object
                              description: 資産のロイヤルティ詳細。
                              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: 資産のクリエーターの詳細。
                              example:
                                - address: 5XvhfmRjwXkGp3jHGmaKpqeerNYjkuZZBYLVQYdeVcRv
                                  share: 0
                                  verified: true
                            ownership:
                              type: object
                              description: 資産の所有権詳細。
                              example:
                                frozen: true
                                delegated: false
                                delegate: null
                                ownership_model: single
                                owner: 3F21SJs4FMpsakrxmd8GjgfQZG6BN6MVsvXcm5Yc6Jcf
                            burnt: false
        '400':
          description: 不正なリクエスト。無効な構文のためサーバーがリクエストを理解できませんでした。
          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: 無効なリクエストパラメーター。
                  id:
                    type: string
                    example: '1'
        '401':
          description: 未認証。クライアントはリクエストされたレスポンスを得るために認証する必要があります。
          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: 認証に失敗しました。APIキーが欠落しているか無効です。
                  id:
                    type: string
                    example: '1'
        '403':
          description: 禁止されています。クライアントはこのコンテンツへのアクセス権を持っていません。
          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: このリソースにアクセスする権限がありません。
                  id:
                    type: string
                    example: '1'
        '404':
          description: 見つかりません。サーバーはリクエストされたリソースを見つけることができませんでした。
          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: 指定された権限に対して資産が見つかりません。
                  id:
                    type: string
                    example: '1'
        '429':
          description: リクエストが多すぎます。与えられた時間の範囲でユーザーが過剰にリクエストを送信しました。
          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: レート制限を超えました。しばらくしてからもう一度お試しください。
                  id:
                    type: string
                    example: '1'
        '500':
          description: 内部サーバーエラー。サーバーは対処方法のわからない事態に遭遇しました。
          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: サーバーで予期しないエラーが発生しました。
                  id:
                    type: string
                    example: '1'
      security:
        - ApiKeyQuery: []
components:
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        あなたのHelius
        APIキー。無料で[dashboard](https://dashboard.helius.dev/api-keys)から取得できます。

````