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

> 特定のウォレットアドレスが所有するすべてのSolana NFT、圧縮NFT、および代替可能トークンを取得し、並べ替えとページネーションのオプションを提供します



## OpenAPI

````yaml ja/openapi/das-api/getAssetsByOwner.yaml POST /
openapi: 3.1.0
info:
  title: Solana RPC API
  version: 1.0.0
  description: >-
    包括的なSolana
    NFTおよびトークンの所有データを取得するためのデジタル資産標準（DAS）APIで、高度なフィルタリングとページネーションオプションを備えています。
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://mainnet.helius-rpc.com
    description: 本番Solanaアプリケーション用のMainnet RPCエンドポイント
  - url: https://devnet.helius-rpc.com
    description: Solana開発とテスト用のDevnet RPCエンドポイント
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getAssetsByOwner
      description: >
        特定のSolanaウォレットアドレスによって所有されるすべてのデジタル資産の包括的なリストを取得します。

        高度なフィルタリング、並べ替え、およびページネーションオプションを使用して、完全なNFTコレクション、圧縮資産、ファンジブルトークン、およびネイティブSOLバランスにアクセスできます。

        詳細なメタデータを含む従来および圧縮NFTの両方をサポートしており、完全なウォレットポートフォリオの分析が可能です。
      operationId: rpc
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  description: JSON-RPCプロトコルのバージョン。
                  default: '2.0'
                id:
                  type: string
                  description: リクエストを識別するためのID。
                  example: '1'
                  default: '1'
                method:
                  type: string
                  enum:
                    - getAssetsByOwner
                  description: 呼び出すDASメソッドの名前。
                  default: getAssetsByOwner
                params:
                  description: >-
                    所有者アドレスによるSolanaデジタル資産のクエリ用パラメータで、フィルタリングとページネーションオプションを備えています。
                  default:
                    ownerAddress: 86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY
                    page: 1
                    limit: 10
                  oneOf:
                    - type: object
                      properties:
                        ownerAddress:
                          type: string
                          description: すべての所有デジタル資産を取得するためのSolanaウォレットアドレス。
                          example: 86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY
                        page:
                          type: integer
                          description: 大規模な資産コレクションをページングするためのページ番号（1ベースのインデックス）。
                          example: 1
                        limit:
                          type: integer
                          description: ページごとに返される資産の最大数（最大1000）。
                          example: 50
                        sortBy:
                          type: object
                          description: 返されるSolana資産の並べ替え設定。
                          properties:
                            sortBy:
                              type: string
                              description: レスポンスにおけるSolanaデジタル資産の並べ替え基準。
                              enum:
                                - created
                                - recent_action
                                - updated
                                - none
                            sortDirection:
                              type: string
                              description: レスポンスにおけるSolanaデジタル資産の並べ替え方向。
                              enum:
                                - asc
                                - desc
                        options:
                          type: object
                          description: 返されるSolana資産データの表示およびフィルタリングオプション。
                          properties:
                            showUnverifiedCollections:
                              type: boolean
                              description: 未確認のSolana NFTコレクションのグループ情報を含める。
                              default: false
                            showCollectionMetadata:
                              type: boolean
                              description: Solana NFTコレクションの詳細なメタデータを含める。
                              default: false
                            showGrandTotal:
                              type: boolean
                              description: アドレスが所有するすべての資産の総数を含める（応答時間が増加する可能性があります）。
                              default: false
                            showFungible:
                              type: boolean
                              description: Solanaウォレットが保有するSPLトークンおよびファンジブル資産を含める。
                              default: false
                            showNativeBalance:
                              type: boolean
                              description: Solanaウォレットが保有するネイティブSOLバランスを含める。
                              default: false
                            showZeroBalance:
                              type: boolean
                              description: 所有権リストにゼロバランスの資産を含める。
                              default: false
                      required:
                        - ownerAddress
                    - type: object
                      properties:
                        ownerAddress:
                          type: string
                          description: すべての所有デジタル資産を取得するためのSolanaウォレットアドレス。
                          example: 86xCnPeV69n6t3DnyGvkKobf9FdN2H9oiVDdaMpo2MMY
                        before:
                          type: string
                          description: この位置の前の資産を取得するためのページネーションカーソル（逆方向のページネーション）。
                          example: string
                        after:
                          type: string
                          description: この位置の後の資産を取得するためのページネーションカーソル（順方向のページネーション）。
                          example: string
                        sortBy:
                          type: object
                          description: 返されるSolana資産の並べ替え設定。
                          properties:
                            sortBy:
                              type: string
                              description: レスポンスにおけるSolanaデジタル資産の並べ替え基準。
                              enum:
                                - created
                                - recent_action
                                - updated
                                - none
                            sortDirection:
                              type: string
                              description: レスポンスにおけるSolanaデジタル資産の並べ替え方向。
                              enum:
                                - asc
                                - desc
                        options:
                          type: object
                          description: 返されるSolana資産データの表示およびフィルタリングオプション。
                          properties:
                            showUnverifiedCollections:
                              type: boolean
                              description: 未確認のSolana NFTコレクションのグループ情報を含める。
                              default: false
                            showCollectionMetadata:
                              type: boolean
                              description: Solana NFTコレクションの詳細なメタデータを含める。
                              default: false
                            showGrandTotal:
                              type: boolean
                              description: アドレスが所有するすべての資産の総数を含める（応答時間が増加する可能性があります）。
                              default: false
                            showFungible:
                              type: boolean
                              description: Solanaウォレットが保有するSPLトークンおよびファンジブル資産を含める。
                              default: false
                            showNativeBalance:
                              type: boolean
                              description: Solanaウォレットが保有するネイティブSOLバランスを含める。
                              default: false
                            showZeroBalance:
                              type: boolean
                              description: 所有権リストにゼロバランスの資産を含める。
                              default: false
                      required:
                        - ownerAddress
              required:
                - jsonrpc
                - id
                - method
                - params
      responses:
        '200':
          description: 指定されたウォレットアドレスが所有するSolanaデジタル資産を正常に取得しました。
          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
                        example: 1
                      limit:
                        type: integer
                        example: 1
                      page:
                        type: integer
                        example: 1
                      items:
                        type: array
                        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
                            is_agent:
                              type: boolean
                              description: >-
                                この資産がエージェントID（MPLコアエージェントID外部プラグイン）を持っているかどうか。falseの場合は省略されます。
                            agent_token:
                              type: string
                              description: >-
                                エージェントレジストリプログラムからのBase58でエンコードされたエージェントトークンミント。登録されていない場合は省略されます。
                            asset_signer:
                              type: string
                              description: >-
                                MPLコア用のBase58でエンコードされたアセットサイナPDA。適用されない場合は省略されます。
                            plugins:
                              type: object
                              description: MPLコアプラグイン、オプションのMIP-11 `groups`メンバーシップを含む。
                              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: 不正なリクエスト。サーバーは無効な構文のためにリクエストを理解できませんでした。
          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キーを入力してください。無料で取得できます。[ダッシュボード](https://dashboard.helius.dev/api-keys)で。

````