promiseBatchThen

apiDocs


near-sdk-js v2.0.0 / api / promiseBatchThen

Function: promiseBatchThen()

promiseBatchThen(promiseIndex, accountId): PromiseIndex

Attach a callback NEAR promise to a batch of NEAR promise actions.

Parameters

promiseIndex: PromiseIndex

The NEAR promise index of the batch.

accountId: string

The account ID of the target contract.

Returns

PromiseIndex

Defined in

packages/near-sdk-js/src/api.ts:556

Last updated