WAX Kit icon

WAX Kit

Interact with the WAX blockchain

Smart Contract Action → Execute Action

AI-generated

Summary

Executes a named action on a WAX blockchain smart contract, sending JSON action data and signing with the account authorizations you specify. The resource-specific implementation is not in the provided source (the resources module is not included), so the return shape is not visible.

Inputs

  • API Endpoint (required) — WAX API node to use: Greymass (default), EOS Nation, EOSphere, Pink.gg, WAX Sweden, or Custom.
  • Custom Endpoint URL — URL of your own WAX API endpoint. Shown only when API Endpoint is Custom.
  • Contract Name (required) — Account name of the smart contract, e.g. eosio.token or atomicassets.
  • Action Name (required) — Name of the contract action to run.
  • Action Data (required) — JSON object with the action's arguments. Defaults to {}.
  • Authorization — One or more authorization entries, each with an Actor account name and a Permission (Active, Owner, or Custom with a custom permission name).

Output shape

One output item per input item. The item's json comes from the resource handler, which is not visible in the provided source.

The node requires a waxKitPrivateKeyApi credential. A license key in that credential is validated against Lemon Squeezy before execution. The result is cached for an hour, or 5 minutes if the license service can't be reached. With Continue On Fail enabled, a failed item returns json with success: false, error, and details. Otherwise the node throws an error.

Examples

Example 1: Transfer WAX tokens to another account

Contract Name: eosio.token; Action Name: transfer; Action Data: {"from":"myaccount","to":"friend","quantity":"1.00000000 WAX","memo":"hi"}; Authorization: actor myaccount, permission active.

Example 2: Run an action through a custom API node

API Endpoint: Custom; Custom Endpoint URL: your node URL; set the contract, action, data and authorization as usual.

Links

Discussion