promiseBatchActionTransfer

apiDocs


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

Function: promiseBatchActionTransfer()

promiseBatchActionTransfer(promiseIndex, amount): void

Attach a transfer promise action to the NEAR promise index with the provided promise index.

Parameters

promiseIndex: PromiseIndex

The index of the promise to attach a transfer action to.

amount: NearAmount

The amount of NEAR to transfer.

Returns

void

Defined in

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

Last updated