Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-spl-stake-pool
getAddValidatorToPoolInstruction
Function getAddValidatorToPoolInstruction
getAddValidatorToPoolInstruction
<
TAccountStakePool
extends
string
,
TAccountStaker
extends
string
,
TAccountReserveStakeAccount
extends
string
,
TAccountWithdrawAuthority
extends
string
,
TAccountValidatorStakeList
extends
string
,
TAccountNewStakeAccount
extends
string
,
TAccountValidatorVoteAccount
extends
string
,
TAccountRentSysvar
extends
string
,
TAccountClockSysvar
extends
string
,
TAccountStakeHistorySysvar
extends
string
,
TAccountStakeConfigSysvar
extends
string
,
TAccountSystemProgram
extends
string
,
TAccountStakeProgram
extends
string
,
TProgramAddress
extends
Address
=
Address
<
"SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy"
>
,
>
(
input
:
AddValidatorToPoolInput
<
TAccountStakePool
,
TAccountStaker
,
TAccountReserveStakeAccount
,
TAccountWithdrawAuthority
,
TAccountValidatorStakeList
,
TAccountNewStakeAccount
,
TAccountValidatorVoteAccount
,
TAccountRentSysvar
,
TAccountClockSysvar
,
TAccountStakeHistorySysvar
,
TAccountStakeConfigSysvar
,
TAccountSystemProgram
,
TAccountStakeProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
AddValidatorToPoolInstruction
<
TProgramAddress
,
TAccountStakePool
,
TAccountStaker
,
TAccountReserveStakeAccount
,
TAccountWithdrawAuthority
,
TAccountValidatorStakeList
,
TAccountNewStakeAccount
,
TAccountValidatorVoteAccount
,
TAccountRentSysvar
,
TAccountClockSysvar
,
TAccountStakeHistorySysvar
,
TAccountStakeConfigSysvar
,
TAccountSystemProgram
,
TAccountStakeProgram
,
>
Type Parameters
TAccountStakePool
extends
string
TAccountStaker
extends
string
TAccountReserveStakeAccount
extends
string
TAccountWithdrawAuthority
extends
string
TAccountValidatorStakeList
extends
string
TAccountNewStakeAccount
extends
string
TAccountValidatorVoteAccount
extends
string
TAccountRentSysvar
extends
string
TAccountClockSysvar
extends
string
TAccountStakeHistorySysvar
extends
string
TAccountStakeConfigSysvar
extends
string
TAccountSystemProgram
extends
string
TAccountStakeProgram
extends
string
TProgramAddress
extends
Address
=
Address
<
"SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy"
>
Parameters
input
:
AddValidatorToPoolInput
<
TAccountStakePool
,
TAccountStaker
,
TAccountReserveStakeAccount
,
TAccountWithdrawAuthority
,
TAccountValidatorStakeList
,
TAccountNewStakeAccount
,
TAccountValidatorVoteAccount
,
TAccountRentSysvar
,
TAccountClockSysvar
,
TAccountStakeHistorySysvar
,
TAccountStakeConfigSysvar
,
TAccountSystemProgram
,
TAccountStakeProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
AddValidatorToPoolInstruction
<
TProgramAddress
,
TAccountStakePool
,
TAccountStaker
,
TAccountReserveStakeAccount
,
TAccountWithdrawAuthority
,
TAccountValidatorStakeList
,
TAccountNewStakeAccount
,
TAccountValidatorVoteAccount
,
TAccountRentSysvar
,
TAccountClockSysvar
,
TAccountStakeHistorySysvar
,
TAccountStakeConfigSysvar
,
TAccountSystemProgram
,
TAccountStakeProgram
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...