Ethereum icon

Ethereum

Interact with Ethereum blockchain

ERC20 → Get Token Info

AI-generated

Summary

Retrieves ERC‑20 token metadata.

Inputs

  • tokenAddress (required) — Ethereum address of the ERC‑20 contract whose information is requested.

Output shape

an object containing token metadata such as name, symbol, decimals, and totalSupply

All fields are strings except decimals, which is a number; missing fields indicate the node does not expose them.

Examples

Example 1: Fetch metadata for a known ERC‑20 token

tokenAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"

Links

Discussion