Ethereum icon

Ethereum

Interact with Ethereum blockchain

Actions6

Overview

This node enables interaction with the Ethereum blockchain, specifically focusing on sending ERC20 tokens when using the "Token" resource and the "Send Token" operation. It allows users to send a specified amount of ERC20 tokens from an authenticated wallet to a recipient address via a configurable Ethereum RPC endpoint.

Common scenarios where this node is beneficial include:

  • Automating token transfers as part of payment or reward systems.
  • Integrating token sending functionality into workflows without manual blockchain interaction.
  • Managing token distributions programmatically in decentralized applications or services.

For example, a user can configure this node to send 100 USDC tokens (which have 6 decimals) to a customer's Ethereum address automatically after a purchase.

Properties

Name Meaning
RPC URL Ethereum RPC endpoint URL to connect to the blockchain (optional; defaults to a public node).
Token Contract Address The smart contract address of the ERC20 token to send.
To Address Recipient's Ethereum address to which tokens will be sent.
Token Amount Amount of tokens to send, expressed in decimal format (e.g., "100.5").
Token Decimals Number of decimals used by the token (e.g., 6 for USDC, 18 for most tokens).

Output

The node outputs a JSON object containing details about the token transfer transaction:

  • transactionHash: The hash of the blockchain transaction that sends the tokens.
  • from: The sender's Ethereum address (derived from the authenticated wallet).
  • to: The recipient's Ethereum address.
  • tokenContract: The ERC20 token contract address.
  • amount: The amount of tokens sent, in decimal format as provided.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential representing an Ethereum wallet private key to sign transactions.
  • Connects to an Ethereum RPC endpoint, which can be a public node or a custom RPC URL.
  • Uses the ethers library internally to interact with the Ethereum blockchain and ERC20 contracts.

Troubleshooting

  • Missing Credentials Error: If the node throws an error indicating missing credentials, ensure that a valid Ethereum wallet credential with a private key is configured and selected.
  • Invalid Token Contract Address: Providing an incorrect or non-ERC20 contract address may cause transaction failures or errors. Verify the token contract address before use.
  • Insufficient Funds: The wallet must have enough ETH to pay for gas fees in addition to holding the tokens. Insufficient ETH balance will cause the transaction to fail.
  • RPC Endpoint Issues: If the RPC URL is unreachable or invalid, the node will fail to connect. Confirm the RPC URL is correct and accessible.
  • Decimals Mismatch: Using incorrect token decimals can result in wrong token amounts being sent. Check the token’s official decimals value.

Links and References

Discussion