Stake
Last updated
Last updated
• Docs
/ / Stake
A stake promise action.
new Stake(
amount
,publicKey
):
Parameters
• amount: bigint
The amount of NEAR to transfer.
• publicKey:
The public key to use for staking.
Returns
Overrides
Defined in
amount:
bigint
The amount of NEAR to transfer.
Defined in
The public key to use for staking.
Defined in
add(
promiseIndex
):void
The method that describes how a promise action adds it's action to the promise batch with the provided index.
Parameters
The index of the promise batch to attach the action to.
Returns
void
Overrides
Defined in
.
publicKey:
• promiseIndex:
.