Function fuels_contract::contract::get_decoded_output
source · pub fn get_decoded_output(
receipts: &mut Vec<Receipt>,
contract_id: Option<&Bech32ContractId>,
output_param: &ParamType
) -> Result<Token, Error>
Expand description
Based on the receipts returned by the call, the contract ID (which is null in the case of a script), and the output param, decode the values and return them.