Function unc_sdk::env::promise_create

source ยท
pub fn promise_create(
    account_id: AccountId,
    function_name: &str,
    arguments: &[u8],
    amount: UncToken,
    gas: Gas
) -> PromiseIndex
Expand description

Creates a promise that will execute a method on account with given arguments and attaches the given amount and gas.