ic_cdk::api::call

Function msg_cycles_refunded

Source
pub fn msg_cycles_refunded() -> u64
Expand description

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

The refund has already been added to the canister balance automatically.