WAX icon

WAX

Interact with the WAX blockchain

Asset → Get Assets

AI-generated

Overview

This node interacts with the WAX blockchain to retrieve assets associated with a specified WAX account. It is useful for users who want to fetch detailed asset information from the WAX blockchain, such as digital collectibles or NFTs owned by an account. For example, a user can specify an account name and optionally filter assets by template ID, collection, or schema to get targeted asset data.

Use Case Examples

  1. Retrieve all assets owned by a specific WAX account.
  2. Fetch assets filtered by specific template IDs or collections for a given account.

Properties

Name Meaning
API Endpoint The WAX blockchain API endpoint URL to connect to.
Account Name The WAX account name whose assets are to be retrieved.
Template ID (Optional) Comma-separated list of template IDs to filter the assets.
Collection (Optional) Comma-separated list of collections to filter the assets.
Schema (Optional) Comma-separated list of schemas to filter the assets.
Code The code parameter, defaulting to 'atomicassets', used in the asset retrieval operation.

Output

JSON

  • returnData - The data returned from the WAX blockchain API containing the requested assets information.

Dependencies

  • Requires connection to the WAX blockchain API endpoint specified by the user.

Troubleshooting

  • Common issues include incorrect or unreachable API endpoint URLs, invalid or misspelled WAX account names, and improper formatting of optional filters like template IDs, collections, or schemas.
  • Errors from the API or network issues will be caught and can be handled by enabling the 'continue on fail' option, which returns error messages in the output JSON under an 'error' key.

Discussion