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