decodeFunctionCall
Callable
Parameters
functionsAbi: AbiFunctionFragment | AbiConstructorFragment
The
JSON interface
object of the function.data: string
The data to decode
methodSignatureProvided: boolean = true
(Optional) if
false
do not remove the first 4 bytes that would rather contain the function signature.
Returns DecodedParams & { __method__: string }
- The data decoded according to the passed ABI.
Decodes a function call data using its
JSON interface
object. The JSON interface spec documentation https://docs.soliditylang.org/en/latest/abi-spec.html#json