Function msg_cycles_refunded

Source
pub fn msg_cycles_refunded() -> u128
Expand description

Gets the amount of cycles that came back with the response as a refund

This function can only be used in a callback handler (reply or reject). The refund has already been added to the canister balance automatically.