Struct fuels_programs::call_response::FuelCallResponse
source · pub struct FuelCallResponse<D> {
pub value: D,
pub receipts: Vec<Receipt>,
pub gas_used: u64,
pub log_decoder: LogDecoder,
}Expand description
FuelCallResponse is a struct that is returned by a call to the contract or script. Its value
field holds the decoded typed value returned by the contract’s method. The other field holds all
the receipts returned by the call.
The name is FuelCallResponse instead of CallResponse because it would be ambiguous with the
CALL opcode.
Fields§
§value: D§receipts: Vec<Receipt>§gas_used: u64§log_decoder: LogDecoder