Static
programPublic key that identifies the Stake program
Static
spaceMax space of a Stake account
This is generated from the solana-stake-program StakeState struct as
StakeStateV2::size_of()
:
https://docs.rs/solana-stake-program/latest/solana_stake_program/stake_state/enum.StakeStateV2.html
Static
authorizeGenerate a Transaction that authorizes a new PublicKey as Staker or Withdrawer on the Stake account.
Static
authorizeGenerate a Transaction that authorizes a new PublicKey as Staker or Withdrawer on the Stake account.
Static
createGenerate a Transaction that creates a new Stake account
Static
createGenerate a Transaction that creates a new Stake account at
an address generated with from
, a seed, and the Stake programId
Static
deactivateGenerate a Transaction that deactivates Stake tokens.
Static
delegateGenerate a Transaction that delegates Stake tokens to a validator Vote PublicKey. This transaction can also be used to redelegate Stake to a new validator Vote PublicKey.
Static
initializeGenerate an Initialize instruction to add to a Stake Create transaction
Static
mergeGenerate a Transaction that merges Stake accounts.
Static
splitGenerate a Transaction that splits Stake tokens into another stake account
Static
splitGenerate a Transaction that splits Stake tokens into another account derived from a base public key and seed
Optional
rentExemptReserve: numberStatic
withdrawGenerate a Transaction that withdraws deactivated Stake tokens.
Factory class for transactions to interact with the Stake program