Expand description
§ABI Parsing and Function Signature Decoding
Provides function selector lookup via 4byte.directory and ABI-based parameter decoding for transaction calldata.
§Function Signature Resolution
- If contract ABI is available (verified source), decode directly from ABI
- Otherwise, look up the 4-byte selector on 4byte.directory (free, no API key)
- Fallback: display raw selector hex
§Calldata Decoding
For verified contracts with ABI, decodes full calldata parameters using ABI type information. For unverified contracts, only the function name is resolved from the selector.
Structs§
- Decoded
Call - A decoded function call from transaction input data.
- Decoded
Param - A decoded parameter from calldata.
Enums§
- Decode
Source - Source of the function signature resolution.
Functions§
- build_
selector_ map - Build a selector-to-signature map from a contract’s parsed ABI.
- decode_
calldata - Decode transaction input data using available sources.
- get_
events - Get all events from an ABI.
- get_
state_ changing_ functions - Get all state-changing functions from an ABI.