Ethereum icon

Ethereum

Interact with Ethereum blockchain

Utils → Decode Function Data

AI-generated

Summary

Decode function data using an ABI and raw transaction data.

Inputs

  • abi (required) — JSON string containing the ABI that defines the function signature to decode.
  • data (required) — Hex‑encoded function call data (e.g., transaction input) to decode.

Output shape

a JSON object with decoded function metadata (e.g., function name, inputs, outputs).

All fields are present; additional fields may appear for complex return types.

Examples

Example 1: Decode an ERC20 transfer call

abi: ERC20 transfer ABI; data: 0xa9059cbb000000000000000000000000000000000000000000000000000000000000001f4

Example 2: Decode a contract deployment call

abi: ERC721 mint ABI; data: 0x...

Example 3: Decode a custom RPC request

abi: custom RPC JSON; data: 0x...

Links

Discussion