Function near_sdk::env::promise_create [−][src]
pub fn promise_create(
account_id: AccountId,
method_name: &str,
arguments: &[u8],
amount: Balance,
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.