Coda by Ian Macalinao
    Preparing search index...

    Type Alias WithdrawStakeWithSlippageInstruction<TProgram, TAccountStakePool, TAccountValidatorList, TAccountWithdrawAuthority, TAccountSourceStakeAccount, TAccountDestinationStakeAccount, TAccountNewWithdrawAuthority, TAccountUserTransferAuthority, TAccountUserPoolTokenAccount, TAccountFeeAccount, TAccountPoolMint, TAccountClockSysvar, TAccountTokenProgram, TAccountStakeProgram, TRemainingAccounts>

    WithdrawStakeWithSlippageInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountStakePool extends string
                ? WritableAccount<TAccountStakePool>
                : TAccountStakePool,
            TAccountValidatorList extends string
                ? WritableAccount<TAccountValidatorList>
                : TAccountValidatorList,
            TAccountWithdrawAuthority extends string
                ? ReadonlyAccount<TAccountWithdrawAuthority>
                : TAccountWithdrawAuthority,
            TAccountSourceStakeAccount extends string
                ? WritableAccount<TAccountSourceStakeAccount>
                : TAccountSourceStakeAccount,
            TAccountDestinationStakeAccount extends string
                ? WritableAccount<TAccountDestinationStakeAccount>
                : TAccountDestinationStakeAccount,
            TAccountNewWithdrawAuthority extends string
                ? ReadonlyAccount<TAccountNewWithdrawAuthority>
                : TAccountNewWithdrawAuthority,
            TAccountUserTransferAuthority extends string
                ? ReadonlySignerAccount<TAccountUserTransferAuthority> & AccountSignerMeta<
                    TAccountUserTransferAuthority,
                >
                : TAccountUserTransferAuthority,
            TAccountUserPoolTokenAccount extends string
                ? WritableAccount<TAccountUserPoolTokenAccount>
                : TAccountUserPoolTokenAccount,
            TAccountFeeAccount extends string
                ? WritableAccount<TAccountFeeAccount>
                : TAccountFeeAccount,
            TAccountPoolMint extends string
                ? WritableAccount<TAccountPoolMint>
                : TAccountPoolMint,
            TAccountClockSysvar extends string
                ? ReadonlyAccount<TAccountClockSysvar>
                : TAccountClockSysvar,
            TAccountTokenProgram extends string
                ? ReadonlyAccount<TAccountTokenProgram>
                : TAccountTokenProgram,
            TAccountStakeProgram extends string
                ? ReadonlyAccount<TAccountStakeProgram>
                : TAccountStakeProgram,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof SPL_STAKE_POOL_PROGRAM_ADDRESS
    • TAccountStakePool extends string | AccountMeta = string
    • TAccountValidatorList extends string | AccountMeta = string
    • TAccountWithdrawAuthority extends string | AccountMeta = string
    • TAccountSourceStakeAccount extends string | AccountMeta = string
    • TAccountDestinationStakeAccount extends string | AccountMeta = string
    • TAccountNewWithdrawAuthority extends string | AccountMeta = string
    • TAccountUserTransferAuthority extends string | AccountMeta = string
    • TAccountUserPoolTokenAccount extends string | AccountMeta = string
    • TAccountFeeAccount extends string | AccountMeta = string
    • TAccountPoolMint extends string | AccountMeta = string
    • TAccountClockSysvar extends string | AccountMeta = "SysvarC1ock11111111111111111111111111111111"
    • TAccountTokenProgram extends string | AccountMeta = "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
    • TAccountStakeProgram extends string | AccountMeta = "Stake11111111111111111111111111111111111111"
    • TRemainingAccounts extends readonly AccountMeta[] = []