AbiDecoder class
ABI decoder for Ethereum smart contract function calls
Constructors
- AbiDecoder.fromABI(List abiJson)
- Create ABI decoder from contract ABI JSON
Properties
Methods
-
decodeParameters(
String hexData) → Map< String, dynamic> ? - Decode function parameters from transaction data
-
getFunctionName(
String hexData) → String? - Get function name from transaction data
-
getFunctionSignature(
String hexData) → String? - Get function signature from transaction data
-
hasFunction(
String selector) → bool - Check if function selector exists in ABI
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
compute4BytesSignature(
String functionSignature) → String - Compute 4-byte function selector from signature