WAX Kit icon

WAX Kit

Interact with the WAX blockchain

Asset → Create Template

AI-generated

Summary

Creates an NFT template on the WAX blockchain (AtomicAssets) within a given collection and schema, with configurable transferability, burnability, max supply and immutable data. The source pack is obfuscated and doesn't include the resource handlers, so the on-chain action is inferred from the operation name and parameters.

Inputs

  • endpoint (required) — WAX API endpoint to use: Greymass (default), EOS Nation, EOSphere, Pink.gg, WAX Sweden, or Custom.
  • customEndpoint — Custom API URL; shown only when Endpoint is set to Custom.
  • collectionName (required) — Name of the existing collection the template belongs to (12 chars max).
  • schemaName (required) — Name of the schema the template follows.
  • transferable — Whether assets minted from this template can be transferred. Default true.
  • burnable — Whether assets minted from this template can be burned. Default true.
  • maxSupply — Maximum number of assets that can be minted from the template; 0 means infinite. Default 0.
  • immutableData — JSON object of attribute values fixed on the template, which should match the schema's attributes. Default {}.
  • authorization — One or more actor/permission pairs (active, owner, or custom permission) used to authorize the transaction.

Output shape

One output item per input item, containing the result of the template-creation action (likely the transaction outcome).

Requires WAX Kit private key credentials (waxKitPrivateKeyApi) and a valid license key, which is checked against Lemon Squeezy and cached for an hour. If 'Continue on Fail' is enabled, a failed item returns json with success:false, error and details. Otherwise the node throws. The exact success payload isn't visible in the provided source.

Examples

Example 1: Create an unlimited, transferable template for a trading-card collection

collectionName=mycards12345, schemaName=cards, transferable=true, burnable=true, maxSupply=0, immutableData={"name":"Dragon","img":"Qm..."}, authorization actor=mycards12345 permission=active

Example 2: Create a limited, non-transferable badge template

collectionName=badgesco1234, schemaName=badges, transferable=false, burnable=false, maxSupply=100, immutableData={"name":"Early Supporter"}

Links

Discussion