Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-kamino-lending
getDepositObligationCollateralInstruction
Function getDepositObligationCollateralInstruction
getDepositObligationCollateralInstruction
<
TAccountOwner
extends
string
,
TAccountObligation
extends
string
,
TAccountLendingMarket
extends
string
,
TAccountDepositReserve
extends
string
,
TAccountReserveDestinationCollateral
extends
string
,
TAccountUserSourceCollateral
extends
string
,
TAccountTokenProgram
extends
string
,
TAccountInstructionSysvarAccount
extends
string
,
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
,
>
(
input
:
DepositObligationCollateralInput
<
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountDepositReserve
,
TAccountReserveDestinationCollateral
,
TAccountUserSourceCollateral
,
TAccountTokenProgram
,
TAccountInstructionSysvarAccount
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
DepositObligationCollateralInstruction
<
TProgramAddress
,
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountDepositReserve
,
TAccountReserveDestinationCollateral
,
TAccountUserSourceCollateral
,
TAccountTokenProgram
,
TAccountInstructionSysvarAccount
,
>
Type Parameters
TAccountOwner
extends
string
TAccountObligation
extends
string
TAccountLendingMarket
extends
string
TAccountDepositReserve
extends
string
TAccountReserveDestinationCollateral
extends
string
TAccountUserSourceCollateral
extends
string
TAccountTokenProgram
extends
string
TAccountInstructionSysvarAccount
extends
string
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
Parameters
input
:
DepositObligationCollateralInput
<
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountDepositReserve
,
TAccountReserveDestinationCollateral
,
TAccountUserSourceCollateral
,
TAccountTokenProgram
,
TAccountInstructionSysvarAccount
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
DepositObligationCollateralInstruction
<
TProgramAddress
,
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountDepositReserve
,
TAccountReserveDestinationCollateral
,
TAccountUserSourceCollateral
,
TAccountTokenProgram
,
TAccountInstructionSysvarAccount
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...