WAX Kit icon

WAX Kit

Interact with the WAX blockchain

Nefty (Blends & Packs) → Execute Blend

AI-generated

Summary

Executes a Nefty blend on the WAX blockchain by submitting the blend ID and the ingredient asset IDs to be consumed. The resource handler that builds and signs the transaction isn't in the provided source, so the exact on-chain action is inferred from the parameters.

Inputs

  • endpoint (required) — WAX API endpoint. Choices are Greymass (default), EOS Nation, EOSphere, Pink.gg, WAX Sweden, or Custom.
  • customEndpoint — Custom API URL. Shown only when the endpoint is set to Custom.
  • blendId (required) — Numeric ID of the Nefty blend to execute.
  • assetIdsList — Repeatable list of ingredient Asset IDs to use in the blend.
  • assetIds — Alternative to the list above: a comma-separated string of ingredient asset IDs.
  • authorization — Repeatable authorization entries. Each has an actor account name and a permission (active, owner, or custom with a custom permission name).

Output shape

One output item per input item, containing the result returned by the resource handler for the blend execution. The handler isn't visible in the source, so the exact fields are unknown.

The node needs WAX Kit private key credentials (waxKitPrivateKeyApi). A license key check runs first, using Lemon Squeezy, and the result is cached for an hour. If 'Continue On Fail' is enabled, a failed item returns json with success: false, error and details. Otherwise the error is thrown.

Examples

Example 1: Blend three specific NFTs into a new one

Set blendId to the blend's number. Add the three asset IDs in assetIdsList, or enter them in assetIds as '123,456,789'. Add an authorization entry with your actor account and the active permission.

Example 2: Run the blend through a custom node

Set endpoint to Custom and enter your node URL in customEndpoint. Then fill in blendId, the asset IDs and the authorization.

Links

Discussion