Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-kamino-lending
getWithdrawObligationCollateralInstructionAsync
Function getWithdrawObligationCollateralInstructionAsync
getWithdrawObligationCollateralInstructionAsync
<
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
,
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
,
>
(
input
:
WithdrawObligationCollateralAsyncInput
<
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountWithdrawReserve
,
TAccountReserveSourceCollateral
,
TAccountUserDestinationCollateral
,
TAccountTokenProgram
,
TAccountInstructionSysvarAccount
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
Promise
<
WithdrawObligationCollateralInstruction
<
TProgramAddress
,
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountWithdrawReserve
,
TAccountReserveSourceCollateral
,
TAccountUserDestinationCollateral
,
TAccountTokenProgram
,
TAccountInstructionSysvarAccount
,
[
]
,
>
,
>
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
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
Parameters
input
:
WithdrawObligationCollateralAsyncInput
<
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountWithdrawReserve
,
TAccountReserveSourceCollateral
,
TAccountUserDestinationCollateral
,
TAccountTokenProgram
,
TAccountInstructionSysvarAccount
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
Promise
<
WithdrawObligationCollateralInstruction
<
TProgramAddress
,
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountWithdrawReserve
,
TAccountReserveSourceCollateral
,
TAccountUserDestinationCollateral
,
TAccountTokenProgram
,
TAccountInstructionSysvarAccount
,
[
]
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...