WAX Get Assets
AI-generatedSummary
Fetch assets for a WAX account
Inputs
- account (required) — WAX account name whose assets to retrieve
- templateId — Comma-separated list of template IDs to filter assets
- collection — Comma-separated list of collection names to filter assets
- schema — Comma-separated list of schema names to filter assets
- code (required) — Contract code to query (e.g., 'atomicassets')
- endpoint (required) — WAX API endpoint URL (default: https://wax.greymass.com)
Output shape
array of objects each containing 'account' (string) and 'assets' (array of asset objects)
Assets are filtered by templateId, collection, and schema if provided; empty response throws an error; pagination is limited to 1000 rows per call
Examples
Example 1: Fetch all assets for a given account
account=john, code=atomicassets, endpoint=https://wax.greymass.com
Example 2: Fetch assets filtered by multiple template IDs
account=john, templateId=123,456, code=atomicassets
Example 3: Fetch assets using a custom endpoint
account=john, code=atomicassets, endpoint=https://apiwax.com