interface-spec
interface-spec copied to clipboard
[FINAL] feat: new System API call ic0.call_cycles_add128_up_to
This PR adds a new System API call ic0.call_cycles_add128_up_to moving the maximum amount of cycles from the canister cycles balance onto an inter-canister call up to a specified upper bound.
🤖 Here's your preview: https://nlbfx-nyaaa-aaaak-qcnzq-cai.icp0.io/docs
Looks good to me for marking it final, would like to get the opinion from @dsarlis as well.
LGTM as well. One small nit regarding the value we return through dst.
Removing the FINAL tag since we need to validate whether the API is actually practically usable.