Function ic_cdk::api::call::call_with_payment128
source · pub fn call_with_payment128<T: ArgumentEncoder, R: for<'a> ArgumentDecoder<'a>>(
id: Principal,
method: &str,
args: T,
cycles: u128
) -> impl Future<Output = CallResult<R>>
Expand description
Performs an asynchronous call to another canister and pay cycles at the same time.