Function 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.