pub fn redelegate(
program_id: &Pubkey,
stake_pool: &Pubkey,
staker: &Pubkey,
stake_pool_withdraw_authority: &Pubkey,
validator_list: &Pubkey,
reserve_stake: &Pubkey,
source_validator_stake: &Pubkey,
source_transient_stake: &Pubkey,
ephemeral_stake: &Pubkey,
destination_transient_stake: &Pubkey,
destination_validator_stake: &Pubkey,
validator: &Pubkey,
lamports: u64,
source_transient_stake_seed: u64,
ephemeral_stake_seed: u64,
destination_transient_stake_seed: u64,
) -> Instruction👎Deprecated since 2.0.0: The stake redelegate instruction used in this will not be enabled.
Expand description
Creates Redelegate instruction (rebalance from one validator account to
another)