WAX Kit Transfer Token icon

WAX Kit Transfer Token

Transfer tokens on the WAX blockchain

WAX Kit Transfer Token

AI-generated

Summary

Transfers a fungible token (default WAX) from the credentialed account to another WAX/EOSIO account by signing and broadcasting a transfer action on the token contract via eosjs.

Inputs

  • to (required) — Recipient account name.
  • amount (required) — Amount of tokens to send (default 1). Formatted to the given precision with toFixed.
  • symbol (required) — Token symbol, e.g. WAX.
  • precision — Decimal places in the quantity string (default 8; a value of 0 falls back to 8).
  • memo — Memo attached to the transfer; empty by default.
  • endpoint (required) — WAX RPC API endpoint URL (default https://wax.greymass.com).
  • contract (required) — Token contract account (default eosio.token).

Output shape

One output item per input item, each with json.result holding the eosjs transact response (typically the transaction id and processed details).

The sender account and private key come from the node's required credential, and the action is authorized as that account's 'active' permission. The transaction uses blocksBehind 3 and a 30-second expiry. A license check runs first. A failure such as insufficient balance or a bad account throws an error, and no error-handling option is visible in the source. The node is flagged hidden in its description.

Examples

Example 1: Send 5 WAX to a user as a payment

to=recipient.wam, amount=5, symbol=WAX, precision=8, memo='Invoice 1042', endpoint=https://wax.greymass.com, contract=eosio.token

Example 2: Transfer a custom token with 4 decimals

to=friend.wam, amount=100, symbol=TLM, precision=4, contract=alien.worlds

Links

Discussion