decodeFunctionReturn
Callable
Parameters
functionsAbi: AbiFunctionFragment
The
JSON interface
object of the function.optionalreturnValues: string
The data (the function-returned-values) to decoded
Returns unknown
- The ABI encoded function call, which, means the function signature and the parameters passed.
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