Methods
buildStakeTx
Description
How to Use
Example
import { CHORUS_ONE_SOLANA_VALIDATOR } from '@chorus-one/solana'
const { tx } = await staker.buildStakeTx({
ownerAddress: '3Ps2hwsgGMSuqxAwjcGJHiEpMsSTZcxrCGprHgxWkfma',
validatorAddress: CHORUS_ONE_SOLANA_VALIDATOR,
amount: '1' // 1 SOL
})buildUnstakeTx
Description
How to Use
Example
buildWithdrawStakeTx
Description
How to Use
Example
buildCreateStakeAccountTx
Description
How to Use
Example
buildMergeStakesTx
Description
How to Use
Example
buildSplitStakeTx
Description
How to Use
Example
getStake
Description
How to Use
Example
Further Reading
Last updated
Was this helpful?