Ethereum icon

Ethereum

Interact with Ethereum blockchain

ERC20 → Transfer

AI-generated

Summary

Transfer ERC20 tokens to a recipient address

Inputs

  • tokenAddress (required) — Token contract address
  • to (required) — Recipient address to receive tokens
  • amount (required) — Amount of tokens to transfer (in token units or wei)

Output shape

transaction hash (string)

Returned transaction hash of the transfer; empty on failure

Examples

Example 1: Transfer 100 tokens to an address

tokenAddress: 0x123..., to: 0xabc..., amount: 100

Example 2: Transfer 50 tokens as part of an approve‑then‑transfer flow

tokenAddress: 0x456..., to: 0xdef..., amount: 50

Links

Discussion