Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-kamino-lending
getWithdrawObligationCollateralV2InstructionAsync
Function getWithdrawObligationCollateralV2InstructionAsync
getWithdrawObligationCollateralV2InstructionAsync
<
TAccountOwner
extends
string
,
TAccountObligation
extends
string
,
TAccountLendingMarket
extends
string
,
TAccountLendingMarketAuthority
extends
string
,
TAccountWithdrawReserve
extends
string
,
TAccountReserveSourceCollateral
extends
string
,
TAccountUserDestinationCollateral
extends
string
,
TAccountTokenProgram
extends
string
,
TAccountInstructionSysvarAccount
extends
string
,
TAccountObligationFarmUserState
extends
string
,
TAccountReserveFarmState
extends
string
,
TAccountFarmsProgram
extends
string
,
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
,
>
(
input
:
WithdrawObligationCollateralV2AsyncInput
<
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountWithdrawReserve
,
TAccountReserveSourceCollateral
,
TAccountUserDestinationCollateral
,
TAccountTokenProgram
,
TAccountInstructionSysvarAccount
,
TAccountObligationFarmUserState
,
TAccountReserveFarmState
,
TAccountFarmsProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
Promise
<
WithdrawObligationCollateralV2Instruction
<
TProgramAddress
,
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountWithdrawReserve
,
TAccountReserveSourceCollateral
,
TAccountUserDestinationCollateral
,
TAccountTokenProgram
,
TAccountInstructionSysvarAccount
,
TAccountObligationFarmUserState
,
TAccountReserveFarmState
,
TAccountFarmsProgram
,
[
]
,
>
,
>
Type Parameters
TAccountOwner
extends
string
TAccountObligation
extends
string
TAccountLendingMarket
extends
string
TAccountLendingMarketAuthority
extends
string
TAccountWithdrawReserve
extends
string
TAccountReserveSourceCollateral
extends
string
TAccountUserDestinationCollateral
extends
string
TAccountTokenProgram
extends
string
TAccountInstructionSysvarAccount
extends
string
TAccountObligationFarmUserState
extends
string
TAccountReserveFarmState
extends
string
TAccountFarmsProgram
extends
string
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
Parameters
input
:
WithdrawObligationCollateralV2AsyncInput
<
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountWithdrawReserve
,
TAccountReserveSourceCollateral
,
TAccountUserDestinationCollateral
,
TAccountTokenProgram
,
TAccountInstructionSysvarAccount
,
TAccountObligationFarmUserState
,
TAccountReserveFarmState
,
TAccountFarmsProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
Promise
<
WithdrawObligationCollateralV2Instruction
<
TProgramAddress
,
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountWithdrawReserve
,
TAccountReserveSourceCollateral
,
TAccountUserDestinationCollateral
,
TAccountTokenProgram
,
TAccountInstructionSysvarAccount
,
TAccountObligationFarmUserState
,
TAccountReserveFarmState
,
TAccountFarmsProgram
,
[
]
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...