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

# getAssetBatch

> 最大1,000のSolana NFT、圧縮NFT、またはトークンの詳細情報を単一の効率的なバッチリクエストで取得します

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

<ParamField body="ids" type="array" required />

<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.showFungible" type="boolean" default="false">
  所有者が保有するファンジブルトークンを表示します。
</ParamField>


## OpenAPI

````yaml ja/openapi/das-api/getAssetBatch.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: getAssetBatch
      description: IDに基づいてアセットのバッチを返します。
      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
                  example: '1'
                  description: リクエストを識別するための ID。
                  default: '1'
                method:
                  type: string
                  enum:
                    - getAssetBatch
                  description: 呼び出す DAS メソッドの名前。
                  default: getAssetBatch
                params:
                  type: object
                  default:
                    ids:
                      - F9Lw3ki3hJ7PF9HQXsBzoY8GyE6sPoEZZdXJBsTTD2rk
                  properties:
                    ids:
                      type: array
                      items:
                        type: string
                        description: 取得するアセットの ID。
                        example: F9Lw3ki3hJ7PF9HQXsBzoY8GyE6sPoEZZdXJBsTTD2rk
                    options:
                      type: object
                      description: レスポンスの表示オプション。
                      properties:
                        showUnverifiedCollections:
                          type: boolean
                          default: false
                          description: 未検証のコレクションをスキップする代わりにグループ化情報を表示します。
                        showCollectionMetadata:
                          type: boolean
                          default: false
                          description: コレクションのメタデータを表示します。
                        showFungible:
                          type: boolean
                          description: 所有者が保持する代替可能トークンを表示します。
                          default: false
                  required:
                    - ids
                  example:
                    ids:
                      - F9Lw3ki3hJ7PF9HQXsBzoY8GyE6sPoEZZdXJBsTTD2rk
      responses:
        '200':
          description: 成功したレスポンス
          content:
            application/json:
              schema:
                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
                        外部プラグイン）。偽の場合は省略されます。
                    agent_token:
                      type: string
                      description: >-
                        エージェントレジストリプログラムからのBase58エンコードされたエージェントトークンミント。登録されていない場合は省略されます。
                    asset_signer:
                      type: string
                      description: MPL Core用のBase58エンコードされたアセットサイナPDA。該当しない場合は省略されます。
                    id:
                      type: string
                      description: アセットの ID。
                      example: F9Lw3ki3hJ7PF9HQXsBzoY8GyE6sPoEZZdXJBsTTD2rk
                    plugins:
                      type: object
                      description: MPL Coreプラグイン。オプションでMIP-11「グループ」メンバーシップを含みます。
                      additionalProperties: true
                    content:
                      type: object
                      description: アセットの内容。
                      properties:
                        last_indexed_slot:
                          type: integer
                          description: このスロットまでのすべてのデータがインデックス化されていることが保証されています。
                          example: 365750752
                        $schema:
                          type: string
                          example: https://schema.metaplex.com/nft1.0.json
                        json_uri:
                          type: string
                          example: >-
                            https://madlads.s3.us-west-2.amazonaws.com/json/8420.json
                        files:
                          type: array
                          items:
                            type: object
                          example:
                            - uri: >-
                                https://madlads.s3.us-west-2.amazonaws.com/images/8420.png
                              cdn_uri: >-
                                https://cdn.helius-rpc.com/cdn-cgi/image//https://madlads.s3.us-west-2.amazonaws.com/images/8420.png
                              mime: image/png
                        metadata:
                          type: object
                          properties:
                            attributes:
                              type: array
                              items:
                                type: object
                              example:
                                - value: Male
                                  trait_type: Gender
                                - value: King
                                  trait_type: Type
                            description:
                              type: string
                              example: Fock it.
                            name:
                              type: string
                              example: 'Mad Lads #8420'
                            symbol:
                              type: string
                              example: MAD
                    authorities:
                      type: array
                      items:
                        type: object
                      example:
                        - address: 2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW
                          scopes:
                            - full
                    compression:
                      type: object
                      example:
                        eligible: false
                        compressed: false
                        data_hash: ''
                        creator_hash: ''
                        asset_hash: ''
                        tree: ''
                        seq: 0
                        leaf_id: 0
                    grouping:
                      type: array
                      items:
                        type: object
                      example:
                        - group_key: collection
                          group_value: J1S9H3QjnRtBbbuD4HjPV6RpRhwuk4zKbxsnCHuTgh9w
                    royalty:
                      type: object
                      example:
                        royalty_model: creators
                        target: null
                        percent: 0.042
                        basis_points: 420
                        primary_sale_happened: true
                        locked: false
                    creators:
                      type: array
                      items:
                        type: object
                      example:
                        - address: 5XvhfmRjwXkGp3jHGmaKpqeerNYjkuZZBYLVQYdeVcRv
                          share: 0
                          verified: true
                        - address: 2RtGg6fsFiiF1EQzHqbd66AhW7R5bWeQGpTbv2UMkCdW
                          share: 100
                          verified: true
                    ownership:
                      type: object
                      example:
                        frozen: true
                        delegated: false
                        delegate: null
                        ownership_model: single
                        owner: 4zdNGgAtFsW1cQgHqkiWyRsxaAgxrSRRynnuunxzjxue
                    supply:
                      type: object
                      example:
                        print_max_supply: 0
                        print_current_supply: 0
                        edition_nonce: 254
                    token_info:
                      type: object
                      description: 特定のトークンに関する詳細。
                      properties:
                        symbol:
                          type: string
                          description: トークンのシンボル。
                        supply:
                          type: integer
                          description: トークンの総供給量。
                        decimals:
                          type: integer
                          description: トークンが使用する小数点の数。
                        token_program:
                          type: string
                          description: トークンのプログラム ID。
                        price_info:
                          type: object
                          description: トークンの価格に関する情報。
                          properties:
                            price_per_token:
                              type: number
                              description: 個々のトークンあたりの価格。
                            currency:
                              type: string
                              description: トークンの価格が示される通貨。
                        mint_authority:
                          type: string
                          description: トークンのミント権限アドレス。
                        freeze_authority:
                          type: string
                          description: トークンのフリーズ権限アドレス。
        '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: バッチ内の1つ以上のアセットが見つかりませんでした。
                  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)で無料で取得できます。

````