WAX icon

WAX

Interact with the WAX blockchain

Asset → Get Assets

AI-generated

Summary

Fetch assets for a given account using the specified WAX API endpoint and optional filters.

Inputs

  • endpoint (required) — WAX blockchain API endpoint
  • account (required) — WAX account name
  • templateId — Comma-separated list of template IDs
  • collection — Comma-separated list of collections
  • schema — Comma-separated list of schemas
  • code (required) — Code (collection name) to query, default 'atomicassets'

Output shape

an array of asset records

Each element contains the asset data returned by the API; may be empty if no assets match.

Examples

Example 1: Get assets for an account using default endpoint

endpoint=https://wax.greymass.com, account=myaccount, code=atomicassets

Example 2: Filter by template IDs and collection

endpoint=https://wax.greymass.com, account=myaccount, templateId=123,456, collection=mycol, code=atomicassets

Discussion