promiseBatchActionStake

apiDocs


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

Function: promiseBatchActionStake()

promiseBatchActionStake(promiseIndex, amount, publicKey): void

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

Parameters

promiseIndex: PromiseIndex

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

amount: NearAmount

The amount of NEAR to stake.

publicKey: Uint8Array

The public key with which to stake.

Returns

void

Defined in

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

Last updated