decodeFunctionResult method
Returns the decoded values from the result of a call for function
(see Specifying Fragments) for the given data
.
// Decoding result data (e.g. from an eth_call)
resultData = '0x0000000000000000000000000000000000000000000000000de0b6b3a7640000';
iface.decodeFunctionResult('balanceOf', resultData);
// [1000000000000000000]
Implementation
List<dynamic> decodeFunctionResult(String function, String data) =>
impl.decodeFunctionResult(function, data);