promiseCreateRaw
Last updated
Last updated
• Docs
/ / promiseCreateRaw
promiseCreateRaw(
accountId
,methodName
,args
,amount
,gas
):
Create a NEAR promise call to a contract on the blockchain.
• accountId: string
The account ID of the target contract.
• methodName: string
The name of the method to be called.
• args: Uint8Array
The arguments to call the method with.
• amount:
The amount of NEAR attached to the call.
• gas:
The amount of Gas attached to the call.