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

> Recupere informações detalhadas de até 1.000 NFTs Solana, NFTs comprimidos ou tokens em uma única solicitação de lote eficiente

## Parâmetros da Solicitação

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

<ParamField body="options" type="object">
  As opções de exibição para a resposta.
</ParamField>

<ParamField body="options.showUnverifiedCollections" type="boolean" default="false">
  Exibe informações de agrupamento para coleções não verificadas em vez de ignorá-las.
</ParamField>

<ParamField body="options.showCollectionMetadata" type="boolean" default="false">
  Exibe metadados para a coleção.
</ParamField>

<ParamField body="options.showFungible" type="boolean" default="false">
  Exibe tokens fungíveis mantidos pelo proprietário.
</ParamField>


## OpenAPI

````yaml pt-BR/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: Endpoint RPC Mainnet
  - url: https://devnet.helius-rpc.com
    description: Endpoint RPC Devnet
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getAssetBatch
      description: Retorna um lote de ativos com base em seus IDs.
      operationId: rpc
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
                - params
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  description: A versão do protocolo JSON-RPC.
                  default: '2.0'
                id:
                  type: string
                  example: '1'
                  description: Um ID para identificar a solicitação.
                  default: '1'
                method:
                  type: string
                  enum:
                    - getAssetBatch
                  description: O nome do método DAS a ser invocado.
                  default: getAssetBatch
                params:
                  type: object
                  default:
                    ids:
                      - F9Lw3ki3hJ7PF9HQXsBzoY8GyE6sPoEZZdXJBsTTD2rk
                  properties:
                    ids:
                      type: array
                      items:
                        type: string
                        description: O ID do ativo a ser recuperado.
                        example: F9Lw3ki3hJ7PF9HQXsBzoY8GyE6sPoEZZdXJBsTTD2rk
                    options:
                      type: object
                      description: As opções de exibição para a resposta.
                      properties:
                        showUnverifiedCollections:
                          type: boolean
                          default: false
                          description: >-
                            Exibe informações de agrupamento para coleções não
                            verificadas em vez de ignorá-las.
                        showCollectionMetadata:
                          type: boolean
                          default: false
                          description: Exibe metadados para a coleção.
                        showFungible:
                          type: boolean
                          description: Exibe tokens fungíveis mantidos pelo proprietário.
                          default: false
                  required:
                    - ids
                  example:
                    ids:
                      - F9Lw3ki3hJ7PF9HQXsBzoY8GyE6sPoEZZdXJBsTTD2rk
      responses:
        '200':
          description: Resposta bem-sucedida
          content:
            application/json:
              schema:
                type: array
                description: Um array de ativos.
                items:
                  type: object
                  properties:
                    interface:
                      type: string
                      description: A interface do ativo.
                      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: >-
                        Se este ativo possui uma Identidade de Agente (plugin
                        externo MPL Core AgentIdentity). Omitido quando falso.
                    agent_token:
                      type: string
                      description: >-
                        Token de agente codificado em Base58 do programa
                        Registro de Agentes. Omitido quando não registrado.
                    asset_signer:
                      type: string
                      description: >-
                        PDA de assinatura de ativo codificado em Base58 para MPL
                        Core. Omitido quando não aplicável.
                    id:
                      type: string
                      description: O ID do ativo.
                      example: F9Lw3ki3hJ7PF9HQXsBzoY8GyE6sPoEZZdXJBsTTD2rk
                    plugins:
                      type: object
                      description: >-
                        Plugins MPL Core, incluindo a associação opcional MIP-11
                        `groups`.
                      additionalProperties: true
                    content:
                      type: object
                      description: O conteúdo do ativo.
                      properties:
                        last_indexed_slot:
                          type: integer
                          description: >-
                            Todos os dados até este slot, inclusive, são
                            garantidos como indexados.
                          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: Detalhes sobre o token específico.
                      properties:
                        symbol:
                          type: string
                          description: O símbolo do token.
                        supply:
                          type: integer
                          description: O suprimento total do token.
                        decimals:
                          type: integer
                          description: O número de decimais que o token utiliza.
                        token_program:
                          type: string
                          description: O ID do programa dos tokens.
                        price_info:
                          type: object
                          description: Informações sobre o preço do token.
                          properties:
                            price_per_token:
                              type: number
                              description: O preço por token individual.
                            currency:
                              type: string
                              description: A moeda em que o preço do token é denotado.
                        mint_authority:
                          type: string
                          description: O endereço da autoridade de minting do token.
                        freeze_authority:
                          type: string
                          description: O endereço da autoridade de congelamento do token.
        '400':
          description: >-
            Requisição inválida. O servidor não conseguiu entender a solicitação
            devido a uma sintaxe incorreta.
          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: Parâmetros de solicitação inválidos.
                  id:
                    type: string
                    example: '1'
        '401':
          description: >-
            Não autorizado. O cliente deve se autenticar para obter a resposta
            solicitada.
          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: >-
                          Falha na autenticação. Chave de API ausente ou
                          inválida.
                  id:
                    type: string
                    example: '1'
        '403':
          description: Proibido. O cliente não tem direitos de acesso ao conteúdo.
          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: Você não tem permissão para acessar este recurso.
                  id:
                    type: string
                    example: '1'
        '404':
          description: Não encontrado. O servidor não pode encontrar o recurso solicitado.
          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: Um ou mais ativos no lote não foram encontrados.
                  id:
                    type: string
                    example: '1'
        '429':
          description: >-
            Muitas Requisições. O usuário enviou muitas solicitações em um
            determinado período de tempo.
          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: >-
                          Limite de taxa excedido. Por favor, tente novamente
                          mais tarde.
                  id:
                    type: string
                    example: '1'
        '500':
          description: >-
            Erro Interno do Servidor. O servidor encontrou uma situação que não
            sabe como lidar.
          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: Ocorreu um erro inesperado no servidor.
                  id:
                    type: string
                    example: '1'
      security:
        - ApiKeyQuery: []
components:
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        Sua chave de API Helius. Você pode obter uma gratuitamente no [painel de
        controle](https://dashboard.helius.dev/api-keys).

````