WAX Kit icon

WAX Kit

Interact with the WAX blockchain

Smart Contract Action → Get Table Data

AI-generated

Summary

Queries rows from a table of a WAX smart contract via the chain API, with optional bounds, limit, key type and index position. The node's resource handlers are not in the source pack, so the return shape is inferred from the declared parameters.

Inputs

  • endpoint (required) — WAX API endpoint: Greymass (default), EOS Nation, EOSphere, Pink.gg, WAX Sweden, or Custom.
  • customEndpoint — URL of a custom API endpoint. Shown only when Endpoint is Custom.
  • contractName (required) — Account name of the smart contract, e.g. eosio.token or atomicassets.
  • tableName (required) — Name of the contract table to read.
  • scope (required) — Table scope, usually an account name or the contract name.
  • lowerBound — Optional start of the key range. Use account names for the name key type and numbers for i64.
  • upperBound — Optional end of the key range, in the same format as Lower Bound.
  • limit — Maximum number of rows to return. Minimum 1, default 50.
  • keyType — Type of the index key: i64 (default), i128, i256, float64, float128, name, sha256 or ripemd160.
  • autoConvert — Converts account names in the bounds to i64 format. Default true. Shown only when Key Type is i64.
  • indexPosition — Index to query: 1 for the primary index, 2 or higher for secondary indexes. Default 1.

Output shape

Row data from the requested contract table, returned as n8n output item(s).

The execute logic for this operation is in a module that is not included in the source pack, so the exact output structure (one item per row or one item holding all rows) and any pagination fields are unconfirmed. The node requires WAX Kit credentials and runs a license check before executing. With Continue On Fail enabled, a failed item returns {success:false, error, details}.

Examples

Example 1: Read token balances for an account from eosio.token

Contract Name: eosio.token, Table Name: accounts, Scope: the account name, Limit: 50, Key Type: i64

Example 2: Fetch a range of rows from a contract table on a custom node

Endpoint: Custom with Custom Endpoint URL set, Contract Name, Table Name and Scope filled in, Lower Bound and Upper Bound set, Limit: 100

Links

Discussion