Coda by Ian Macalinao
Preparing search index...
@solana-programs/kamino-lending
getWithdrawObligationCollateralInstruction
Function getWithdrawObligationCollateralInstruction
getWithdrawObligationCollateralInstruction
<
TAccountOwner
extends
InstructionSignerInput
,
TAccountObligation
extends
InstructionAccountInput
,
TAccountLendingMarket
extends
InstructionAccountInput
,
TAccountLendingMarketAuthority
extends
InstructionAccountInput
,
TAccountWithdrawReserve
extends
InstructionAccountInput
,
TAccountReserveSourceCollateral
extends
InstructionAccountInput
,
TAccountUserDestinationCollateral
extends
InstructionAccountInput
,
TAccountTokenProgram
extends
InstructionAccountInput
,
TAccountInstructionSysvarAccount
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
,
>
(
input
:
WithdrawObligationCollateralInput
<
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountWithdrawReserve
,
TAccountReserveSourceCollateral
,
TAccountUserDestinationCollateral
,
TAccountTokenProgram
,
TAccountInstructionSysvarAccount
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
WithdrawObligationCollateralInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountOwner
,
InstructionAccountInputAddress
<
TAccountOwner
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountObligation
,
InstructionAccountInputAddress
<
TAccountObligation
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarket
,
InstructionAccountInputAddress
<
TAccountLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarketAuthority
,
InstructionAccountInputAddress
<
TAccountLendingMarketAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawReserve
,
InstructionAccountInputAddress
<
TAccountWithdrawReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveSourceCollateral
,
InstructionAccountInputAddress
<
TAccountReserveSourceCollateral
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserDestinationCollateral
,
InstructionAccountInputAddress
<
TAccountUserDestinationCollateral
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenProgram
,
InstructionAccountInputAddress
<
TAccountTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountInstructionSysvarAccount
,
InstructionAccountInputAddress
<
TAccountInstructionSysvarAccount
>
,
>
,
>
Type Parameters
TAccountOwner
extends
InstructionSignerInput
TAccountObligation
extends
InstructionAccountInput
TAccountLendingMarket
extends
InstructionAccountInput
TAccountLendingMarketAuthority
extends
InstructionAccountInput
TAccountWithdrawReserve
extends
InstructionAccountInput
TAccountReserveSourceCollateral
extends
InstructionAccountInput
TAccountUserDestinationCollateral
extends
InstructionAccountInput
TAccountTokenProgram
extends
InstructionAccountInput
TAccountInstructionSysvarAccount
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
>
Parameters
input
:
WithdrawObligationCollateralInput
<
TAccountOwner
,
TAccountObligation
,
TAccountLendingMarket
,
TAccountLendingMarketAuthority
,
TAccountWithdrawReserve
,
TAccountReserveSourceCollateral
,
TAccountUserDestinationCollateral
,
TAccountTokenProgram
,
TAccountInstructionSysvarAccount
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
WithdrawObligationCollateralInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountOwner
,
InstructionAccountInputAddress
<
TAccountOwner
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountObligation
,
InstructionAccountInputAddress
<
TAccountObligation
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarket
,
InstructionAccountInputAddress
<
TAccountLendingMarket
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountLendingMarketAuthority
,
InstructionAccountInputAddress
<
TAccountLendingMarketAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountWithdrawReserve
,
InstructionAccountInputAddress
<
TAccountWithdrawReserve
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountReserveSourceCollateral
,
InstructionAccountInputAddress
<
TAccountReserveSourceCollateral
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountUserDestinationCollateral
,
InstructionAccountInputAddress
<
TAccountUserDestinationCollateral
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenProgram
,
InstructionAccountInputAddress
<
TAccountTokenProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountInstructionSysvarAccount
,
InstructionAccountInputAddress
<
TAccountInstructionSysvarAccount
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...