promiseThen
Last updated
Last updated
• Docs
/ / promiseThen
promiseThen(
promiseIndex
,accountId
,methodName
,args
,amount
,gas
):
Attach a callback NEAR promise to be executed after a provided promise.
• promiseIndex:
The promise after which to call the callback.
• accountId: string
The account ID of the contract to perform the callback on.
• methodName: string
The name of the method to call.
• args: string
The utf-8 string arguments to call the method with.
• amount:
The amount of NEAR to attach to the call.
The amount of Gas to attach to the call.
• gas: