Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-spl-stake-pool
getRedelegateInstructionAsync
Function getRedelegateInstructionAsync
getRedelegateInstructionAsync
<
TAccountStakePool
extends
string
,
TAccountStaker
extends
string
,
TAccountWithdrawAuthority
extends
string
,
TAccountValidatorList
extends
string
,
TAccountReserveStake
extends
string
,
TAccountSourceCanonicalStake
extends
string
,
TAccountSourceTransientStake
extends
string
,
TAccountEphemeralStake
extends
string
,
TAccountDestinationTransientStake
extends
string
,
TAccountDestinationStake
extends
string
,
TAccountDestinationVote
extends
string
,
TAccountClockSysvar
extends
string
,
TAccountStakeHistorySysvar
extends
string
,
TAccountStakeConfigSysvar
extends
string
,
TAccountSystemProgram
extends
string
,
TAccountStakeProgram
extends
string
,
TProgramAddress
extends
Address
=
Address
<
"SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy"
>
,
>
(
input
:
RedelegateAsyncInput
<
TAccountStakePool
,
TAccountStaker
,
TAccountWithdrawAuthority
,
TAccountValidatorList
,
TAccountReserveStake
,
TAccountSourceCanonicalStake
,
TAccountSourceTransientStake
,
TAccountEphemeralStake
,
TAccountDestinationTransientStake
,
TAccountDestinationStake
,
TAccountDestinationVote
,
TAccountClockSysvar
,
TAccountStakeHistorySysvar
,
TAccountStakeConfigSysvar
,
TAccountSystemProgram
,
TAccountStakeProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
Promise
<
RedelegateInstruction
<
TProgramAddress
,
TAccountStakePool
,
TAccountStaker
,
TAccountWithdrawAuthority
,
TAccountValidatorList
,
TAccountReserveStake
,
TAccountSourceCanonicalStake
,
TAccountSourceTransientStake
,
TAccountEphemeralStake
,
TAccountDestinationTransientStake
,
TAccountDestinationStake
,
TAccountDestinationVote
,
TAccountClockSysvar
,
TAccountStakeHistorySysvar
,
TAccountStakeConfigSysvar
,
TAccountSystemProgram
,
TAccountStakeProgram
,
[
]
,
>
,
>
Type Parameters
TAccountStakePool
extends
string
TAccountStaker
extends
string
TAccountWithdrawAuthority
extends
string
TAccountValidatorList
extends
string
TAccountReserveStake
extends
string
TAccountSourceCanonicalStake
extends
string
TAccountSourceTransientStake
extends
string
TAccountEphemeralStake
extends
string
TAccountDestinationTransientStake
extends
string
TAccountDestinationStake
extends
string
TAccountDestinationVote
extends
string
TAccountClockSysvar
extends
string
TAccountStakeHistorySysvar
extends
string
TAccountStakeConfigSysvar
extends
string
TAccountSystemProgram
extends
string
TAccountStakeProgram
extends
string
TProgramAddress
extends
Address
=
Address
<
"SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy"
>
Parameters
input
:
RedelegateAsyncInput
<
TAccountStakePool
,
TAccountStaker
,
TAccountWithdrawAuthority
,
TAccountValidatorList
,
TAccountReserveStake
,
TAccountSourceCanonicalStake
,
TAccountSourceTransientStake
,
TAccountEphemeralStake
,
TAccountDestinationTransientStake
,
TAccountDestinationStake
,
TAccountDestinationVote
,
TAccountClockSysvar
,
TAccountStakeHistorySysvar
,
TAccountStakeConfigSysvar
,
TAccountSystemProgram
,
TAccountStakeProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
Promise
<
RedelegateInstruction
<
TProgramAddress
,
TAccountStakePool
,
TAccountStaker
,
TAccountWithdrawAuthority
,
TAccountValidatorList
,
TAccountReserveStake
,
TAccountSourceCanonicalStake
,
TAccountSourceTransientStake
,
TAccountEphemeralStake
,
TAccountDestinationTransientStake
,
TAccountDestinationStake
,
TAccountDestinationVote
,
TAccountClockSysvar
,
TAccountStakeHistorySysvar
,
TAccountStakeConfigSysvar
,
TAccountSystemProgram
,
TAccountStakeProgram
,
[
]
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...