WAX Kit icon

WAX Kit

Interact with the WAX blockchain

Nefty (Blends & Packs) → Open Nefty Pack

AI-generated

Summary

Opens a Nefty pack NFT on the WAX blockchain by submitting an open-pack transaction for the given pack asset ID, signed with the node's WAX Kit private-key credential. The resource handler module isn't in the provided source, so the exact contract call is not shown.

Inputs

  • endpoint (required) — WAX API endpoint: Greymass (default, recommended), EOS Nation, EOSphere, Pink.gg, WAX Sweden, or Custom.
  • customEndpoint — Custom WAX API URL. Shown only when Endpoint is Custom.
  • packAssetId (required) — Asset ID of the Nefty pack NFT to open.
  • authorization — One or more authorization entries for the action. Each has an actor (account name), a permission (Active, Owner, or Custom), and a custom permission name when Custom is selected.

Output shape

One output item per input item, containing the result of the operation's blockchain action (the transaction result), as returned by the resource handler.

The resource handler isn't in the provided source, so the exact JSON fields are unverified. A valid WAX Kit private key credential (waxKitPrivateKeyApi) with a license key is required. The license is checked against Lemon Squeezy and cached for an hour. If 'Continue on Fail' is enabled, failed items return {success:false, error, details}. Otherwise the node throws.

Examples

Example 1: Open a Nefty pack you own after purchasing it.

Endpoint: Greymass; Pack Asset ID: 1099512345678; Authorization: actor 'myaccount1', permission Active.

Example 2: Open a pack through a custom WAX node.

Endpoint: Custom; Custom Endpoint URL: https://my-wax-node.example.com; Pack Asset ID from a previous node's expression; Authorization: actor with Active permission.

Links

Discussion