Coda by Ian Macalinao
Preparing search index...
@solana-programs/kamino-lending
getRedeemReserveCollateralInstructionAsync
Function getRedeemReserveCollateralInstructionAsync
getRedeemReserveCollateralInstructionAsync
<
TAccountOwner
extends
InstructionSignerInput
,
TAccountLendingMarket
extends
InstructionAccountInput
,
TAccountReserve
extends
InstructionAccountInput
,
TAccountLendingMarketAuthority
extends
InstructionAccountInput
,
TAccountReserveLiquidityMint
extends
InstructionAccountInput
,
TAccountReserveCollateralMint
extends
InstructionAccountInput
,
TAccountReserveLiquiditySupply
extends
InstructionAccountInput
,
TAccountUserSourceCollateral
extends
InstructionAccountInput
,
TAccountUserDestinationLiquidity
extends
InstructionAccountInput
,
TAccountCollateralTokenProgram
extends
InstructionAccountInput
,
TAccountLiquidityTokenProgram
extends
InstructionAccountInput
,
TAccountInstructionSysvarAccount
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
,
>
(
input
:
RedeemReserveCollateralAsyncInput
<
TAccountOwner
,
TAccountLendingMarket
,
TAccountReserve
,
TAccountLendingMarketAuthority
,
TAccountReserveLiquidityMint
,
TAccountReserveCollateralMint
,
TAccountReserveLiquiditySupply
,
TAccountUserSourceCollateral
,
TAccountUserDestinationLiquidity
,
TAccountCollateralTokenProgram
,
TAccountLiquidityTokenProgram
,
TAccountInstructionSysvarAccount
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
Promise
<
RedeemReserveCollateralInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountOwner
,
InstructionAccountInputAddress
<
TAccountOwner
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarket
,
InstructionAccountInputAddress
<
TAccountLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserve
,
InstructionAccountInputAddress
<
TAccountReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarketAuthority
,
InstructionAccountInputAddress
<
TAccountLendingMarketAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveLiquidityMint
,
InstructionAccountInputAddress
<
TAccountReserveLiquidityMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveCollateralMint
,
InstructionAccountInputAddress
<
TAccountReserveCollateralMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveLiquiditySupply
,
InstructionAccountInputAddress
<
TAccountReserveLiquiditySupply
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserSourceCollateral
,
InstructionAccountInputAddress
<
TAccountUserSourceCollateral
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserDestinationLiquidity
,
InstructionAccountInputAddress
<
TAccountUserDestinationLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCollateralTokenProgram
,
InstructionAccountInputAddress
<
TAccountCollateralTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLiquidityTokenProgram
,
InstructionAccountInputAddress
<
TAccountLiquidityTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountInstructionSysvarAccount
,
InstructionAccountInputAddress
<
TAccountInstructionSysvarAccount
>
,
>
,
[
]
,
>
,
>
Type Parameters
TAccountOwner
extends
InstructionSignerInput
TAccountLendingMarket
extends
InstructionAccountInput
TAccountReserve
extends
InstructionAccountInput
TAccountLendingMarketAuthority
extends
InstructionAccountInput
TAccountReserveLiquidityMint
extends
InstructionAccountInput
TAccountReserveCollateralMint
extends
InstructionAccountInput
TAccountReserveLiquiditySupply
extends
InstructionAccountInput
TAccountUserSourceCollateral
extends
InstructionAccountInput
TAccountUserDestinationLiquidity
extends
InstructionAccountInput
TAccountCollateralTokenProgram
extends
InstructionAccountInput
TAccountLiquidityTokenProgram
extends
InstructionAccountInput
TAccountInstructionSysvarAccount
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
Parameters
input
:
RedeemReserveCollateralAsyncInput
<
TAccountOwner
,
TAccountLendingMarket
,
TAccountReserve
,
TAccountLendingMarketAuthority
,
TAccountReserveLiquidityMint
,
TAccountReserveCollateralMint
,
TAccountReserveLiquiditySupply
,
TAccountUserSourceCollateral
,
TAccountUserDestinationLiquidity
,
TAccountCollateralTokenProgram
,
TAccountLiquidityTokenProgram
,
TAccountInstructionSysvarAccount
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
Promise
<
RedeemReserveCollateralInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountOwner
,
InstructionAccountInputAddress
<
TAccountOwner
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarket
,
InstructionAccountInputAddress
<
TAccountLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserve
,
InstructionAccountInputAddress
<
TAccountReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarketAuthority
,
InstructionAccountInputAddress
<
TAccountLendingMarketAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveLiquidityMint
,
InstructionAccountInputAddress
<
TAccountReserveLiquidityMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveCollateralMint
,
InstructionAccountInputAddress
<
TAccountReserveCollateralMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveLiquiditySupply
,
InstructionAccountInputAddress
<
TAccountReserveLiquiditySupply
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserSourceCollateral
,
InstructionAccountInputAddress
<
TAccountUserSourceCollateral
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserDestinationLiquidity
,
InstructionAccountInputAddress
<
TAccountUserDestinationLiquidity
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountCollateralTokenProgram
,
InstructionAccountInputAddress
<
TAccountCollateralTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLiquidityTokenProgram
,
InstructionAccountInputAddress
<
TAccountLiquidityTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountInstructionSysvarAccount
,
InstructionAccountInputAddress
<
TAccountInstructionSysvarAccount
>
,
>
,
[
]
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...