decode_function_output Documentation for eth_defi.abi.decode_function_output function. decode_function_output(func, data)[source] Decode raw return value of Solidity function using Contract proxy object. Uses web3.Contract.functions prepared function as the ABI source. Parameters func (web3.contract.contract.ContractFunction) – Function which arguments we are going to encode. Must be bound. result – Raw encoded Solidity bytes. data (bytes) – Return type Any