Methods
buildStakeTx
Description
How to Use
Example
const { tx } = await staker.buildStakeTx({
validatorAddressPair: [
'kQAHBakDk_E7qLlNQZxJDsqj_ruyAFpqarw85tO-c03fK26F',
'kQCltujow9Sq3ZVPPU6CYGfqwDxYwjlmFGZ1Wt0bAYebio4o'
],
amount: '2', // 2 TON
validUntil: Math.floor(Date.now() / 1000) + 3600, // Optional, expires in 1 hour
referrer: 'Telegram' // Optional, unique referrer string for tracking
})buildUnstakeTx
Description
How to Use
Example
getStake
Description
How to Use
Example
getPoolParams
Description
How to Use
Example
Further Reading
Last updated
Was this helpful?