Skip to main content

Try it Live

Run ABI examples in the interactive playground

Overview

Abi.decode decodes function return data using a full ABI. It looks up the function by name and decodes the return values based on the function outputs.

Quick Start

Decode Without Abi Instance

If you already have the function item, decode directly:

Overloads and Ambiguity

Abi.decode matches by function name. With overloads, pick the exact function by signature:

Error Handling

See Also