Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-kamino-lending
getWithdrawProtocolFeeInstruction
Function getWithdrawProtocolFeeInstruction
getWithdrawProtocolFeeInstruction
<
TAccountGlobalConfig
extends
string
,
TAccountLendingMarket
extends
string
,
TAccountReserve
extends
string
,
TAccountReserveLiquidityMint
extends
string
,
TAccountLendingMarketAuthority
extends
string
,
TAccountFeeVault
extends
string
,
TAccountFeeCollectorAta
extends
string
,
TAccountTokenProgram
extends
string
,
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
,
>
(
input
:
WithdrawProtocolFeeInput
<
TAccountGlobalConfig
,
TAccountLendingMarket
,
TAccountReserve
,
TAccountReserveLiquidityMint
,
TAccountLendingMarketAuthority
,
TAccountFeeVault
,
TAccountFeeCollectorAta
,
TAccountTokenProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
WithdrawProtocolFeeInstruction
<
TProgramAddress
,
TAccountGlobalConfig
,
TAccountLendingMarket
,
TAccountReserve
,
TAccountReserveLiquidityMint
,
TAccountLendingMarketAuthority
,
TAccountFeeVault
,
TAccountFeeCollectorAta
,
TAccountTokenProgram
,
>
Type Parameters
TAccountGlobalConfig
extends
string
TAccountLendingMarket
extends
string
TAccountReserve
extends
string
TAccountReserveLiquidityMint
extends
string
TAccountLendingMarketAuthority
extends
string
TAccountFeeVault
extends
string
TAccountFeeCollectorAta
extends
string
TAccountTokenProgram
extends
string
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
Parameters
input
:
WithdrawProtocolFeeInput
<
TAccountGlobalConfig
,
TAccountLendingMarket
,
TAccountReserve
,
TAccountReserveLiquidityMint
,
TAccountLendingMarketAuthority
,
TAccountFeeVault
,
TAccountFeeCollectorAta
,
TAccountTokenProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
WithdrawProtocolFeeInstruction
<
TProgramAddress
,
TAccountGlobalConfig
,
TAccountLendingMarket
,
TAccountReserve
,
TAccountReserveLiquidityMint
,
TAccountLendingMarketAuthority
,
TAccountFeeVault
,
TAccountFeeCollectorAta
,
TAccountTokenProgram
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...