Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-spl-stake-pool
getWithdrawStakeWithSlippageInstructionAsync
Function getWithdrawStakeWithSlippageInstructionAsync
getWithdrawStakeWithSlippageInstructionAsync
<
TAccountStakePool
extends
string
,
TAccountValidatorList
extends
string
,
TAccountWithdrawAuthority
extends
string
,
TAccountSourceStakeAccount
extends
string
,
TAccountDestinationStakeAccount
extends
string
,
TAccountNewWithdrawAuthority
extends
string
,
TAccountUserTransferAuthority
extends
string
,
TAccountUserPoolTokenAccount
extends
string
,
TAccountFeeAccount
extends
string
,
TAccountPoolMint
extends
string
,
TAccountClockSysvar
extends
string
,
TAccountTokenProgram
extends
string
,
TAccountStakeProgram
extends
string
,
TProgramAddress
extends
Address
=
Address
<
"SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy"
>
,
>
(
input
:
WithdrawStakeWithSlippageAsyncInput
<
TAccountStakePool
,
TAccountValidatorList
,
TAccountWithdrawAuthority
,
TAccountSourceStakeAccount
,
TAccountDestinationStakeAccount
,
TAccountNewWithdrawAuthority
,
TAccountUserTransferAuthority
,
TAccountUserPoolTokenAccount
,
TAccountFeeAccount
,
TAccountPoolMint
,
TAccountClockSysvar
,
TAccountTokenProgram
,
TAccountStakeProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
Promise
<
WithdrawStakeWithSlippageInstruction
<
TProgramAddress
,
TAccountStakePool
,
TAccountValidatorList
,
TAccountWithdrawAuthority
,
TAccountSourceStakeAccount
,
TAccountDestinationStakeAccount
,
TAccountNewWithdrawAuthority
,
TAccountUserTransferAuthority
,
TAccountUserPoolTokenAccount
,
TAccountFeeAccount
,
TAccountPoolMint
,
TAccountClockSysvar
,
TAccountTokenProgram
,
TAccountStakeProgram
,
[
]
,
>
,
>
Type Parameters
TAccountStakePool
extends
string
TAccountValidatorList
extends
string
TAccountWithdrawAuthority
extends
string
TAccountSourceStakeAccount
extends
string
TAccountDestinationStakeAccount
extends
string
TAccountNewWithdrawAuthority
extends
string
TAccountUserTransferAuthority
extends
string
TAccountUserPoolTokenAccount
extends
string
TAccountFeeAccount
extends
string
TAccountPoolMint
extends
string
TAccountClockSysvar
extends
string
TAccountTokenProgram
extends
string
TAccountStakeProgram
extends
string
TProgramAddress
extends
Address
=
Address
<
"SPoo1Ku8WFXoNDMHPsrGSTSG1Y47rzgn41SLUNakuHy"
>
Parameters
input
:
WithdrawStakeWithSlippageAsyncInput
<
TAccountStakePool
,
TAccountValidatorList
,
TAccountWithdrawAuthority
,
TAccountSourceStakeAccount
,
TAccountDestinationStakeAccount
,
TAccountNewWithdrawAuthority
,
TAccountUserTransferAuthority
,
TAccountUserPoolTokenAccount
,
TAccountFeeAccount
,
TAccountPoolMint
,
TAccountClockSysvar
,
TAccountTokenProgram
,
TAccountStakeProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
Promise
<
WithdrawStakeWithSlippageInstruction
<
TProgramAddress
,
TAccountStakePool
,
TAccountValidatorList
,
TAccountWithdrawAuthority
,
TAccountSourceStakeAccount
,
TAccountDestinationStakeAccount
,
TAccountNewWithdrawAuthority
,
TAccountUserTransferAuthority
,
TAccountUserPoolTokenAccount
,
TAccountFeeAccount
,
TAccountPoolMint
,
TAccountClockSysvar
,
TAccountTokenProgram
,
TAccountStakeProgram
,
[
]
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...