[][src]Function near_sdk::env::promise_create

pub fn promise_create(
    account_id: AccountId,
    method_name: &[u8],
    arguments: &[u8],
    amount: Balance,
    gas: Gas
) -> PromiseIndex

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