Methods
buildStakeTx
Description
How to Use
Example
const { tx } = await staker.buildStakeTx({
delegatorAddress: '0QDsF87nkTYgkvu1z5xveCEGTRnZmEVaVT0gdxoeyaNvmoCr',
validatorAddress: 'Ef9rkkVM0xr4rKZZMAfBkXU0U8qMnkTmqbUhYRNBvRt5knxP',
amount: '1', // 1 TON
validUntil: Math.floor(Date.now() / 1000) + 3600 // Optional, expires in 1 hour
})buildUnstakeTx
Description
How to Use
Example
buildDeployWalletTx
Description
How to Use
Example
getPoolContractNominators
Description
How to Use
Example
getStake
Description
How to Use
Example
Further Reading
Last updated
Was this helpful?