WAX Transfer NFT icon

WAX Transfer NFT

Transfer an NFT on the WAX blockchain

Overview

This node enables the transfer of NFTs (Non-Fungible Tokens) on the WAX blockchain. It is designed to facilitate sending one or multiple NFTs from the user's account to another specified account. This is particularly useful for users who want to automate NFT transfers, such as sending collectibles, game assets, or digital art to other users or marketplaces.

Practical examples include:

  • Transferring a batch of NFT game items to a friend or buyer.
  • Sending digital art NFTs as gifts or sales transactions.
  • Automating distribution of NFTs in promotional campaigns.

Properties

Name Meaning
To Account The recipient's WAX blockchain account name where the NFTs will be sent.
Asset IDs (Comma-Separated) A comma-separated list of NFT asset IDs to transfer. Each ID corresponds to an individual NFT.
Memo An optional memo or note attached to the transfer transaction.
API Endpoint The URL of the WAX blockchain API endpoint to connect to (default: https://wax.greymass.com).
Contract The smart contract account managing the NFTs (default: atomicassets).

Output

The node outputs a JSON object containing the result of the blockchain transaction. Specifically, it includes the full response from the WAX blockchain API after attempting the transfer, which typically contains transaction details such as transaction ID, block number, and status.

Example output structure:

{
  "result": {
    // blockchain transaction response details here
  }
}

No binary data is produced by this node.

Dependencies

  • Requires an API key credential that provides access to a WAX blockchain private key for signing transactions.
  • Connects to a WAX blockchain API endpoint (configurable).
  • Uses the eosjs library for interacting with the WAX blockchain.
  • Requires network access to the specified WAX API endpoint.

Troubleshooting

  • Invalid Account or Asset IDs: If the "To Account" or any asset ID is incorrect or does not exist, the transaction will fail. Verify account names and asset IDs before running.
  • Insufficient Permissions: The private key used must have permission to transfer the specified NFTs. Ensure the key corresponds to the owner account.
  • API Endpoint Issues: Connection errors may occur if the API endpoint is unreachable or incorrect. Confirm the endpoint URL and network connectivity.
  • Transaction Expiry: Transactions expire if not included in a block within 30 seconds. Network delays can cause failures; retrying may help.
  • Error Messages: Errors returned from the blockchain API usually contain descriptive messages. Review these to identify issues like authorization failure or invalid parameters.

Links and References

Discussion