api • Docs
near-sdk-js v2.0.0 / api / promiseCreateRaw
promiseCreateRaw(accountId, methodName, args, amount, gas): PromiseIndex
accountId
methodName
args
amount
gas
PromiseIndex
Create a NEAR promise call to a contract on the blockchain.
• accountId: string
string
The account ID of the target contract.
• methodName: string
The name of the method to be called.
• args: Uint8Array
Uint8Array
The arguments to call the method with.
• amount: NearAmount
NearAmount
The amount of NEAR attached to the call.
• gas: NearAmount
The amount of Gas attached to the call.
packages/near-sdk-js/src/api.ts:439arrow-up-right
Last updated 1 year ago