Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-kamino-lending
getWithdrawReferrerFeesInstructionAsync
Function getWithdrawReferrerFeesInstructionAsync
getWithdrawReferrerFeesInstructionAsync
<
TAccountReferrer
extends
string
,
TAccountReferrerTokenState
extends
string
,
TAccountReserve
extends
string
,
TAccountReserveLiquidityMint
extends
string
,
TAccountReserveSupplyLiquidity
extends
string
,
TAccountReferrerTokenAccount
extends
string
,
TAccountLendingMarket
extends
string
,
TAccountLendingMarketAuthority
extends
string
,
TAccountTokenProgram
extends
string
,
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
,
>
(
input
:
WithdrawReferrerFeesAsyncInput
<
TAccountReferrer
,
TAccountReferrerTokenState
,
TAccountReserve
,
TAccountReserveLiquidityMint
,
TAccountReserveSupplyLiquidity
,
TAccountReferrerTokenAccount
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountTokenProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
Promise
<
WithdrawReferrerFeesInstruction
<
TProgramAddress
,
TAccountReferrer
,
TAccountReferrerTokenState
,
TAccountReserve
,
TAccountReserveLiquidityMint
,
TAccountReserveSupplyLiquidity
,
TAccountReferrerTokenAccount
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountTokenProgram
,
[
]
,
>
,
>
Type Parameters
TAccountReferrer
extends
string
TAccountReferrerTokenState
extends
string
TAccountReserve
extends
string
TAccountReserveLiquidityMint
extends
string
TAccountReserveSupplyLiquidity
extends
string
TAccountReferrerTokenAccount
extends
string
TAccountLendingMarket
extends
string
TAccountLendingMarketAuthority
extends
string
TAccountTokenProgram
extends
string
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
Parameters
input
:
WithdrawReferrerFeesAsyncInput
<
TAccountReferrer
,
TAccountReferrerTokenState
,
TAccountReserve
,
TAccountReserveLiquidityMint
,
TAccountReserveSupplyLiquidity
,
TAccountReferrerTokenAccount
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountTokenProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
Promise
<
WithdrawReferrerFeesInstruction
<
TProgramAddress
,
TAccountReferrer
,
TAccountReferrerTokenState
,
TAccountReserve
,
TAccountReserveLiquidityMint
,
TAccountReserveSupplyLiquidity
,
TAccountReferrerTokenAccount
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountTokenProgram
,
[
]
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...