Coda by Ian Macalinao
Preparing search index...
@solana-programs/kamino-lending
getRefreshUserStateInstruction
Function getRefreshUserStateInstruction
getRefreshUserStateInstruction
<
TAccountUserState
extends
InstructionAccountInput
,
TAccountFarmState
extends
InstructionAccountInput
,
TAccountScopePrices
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr"
>
,
>
(
input
:
RefreshUserStateInput
<
TAccountUserState
,
TAccountFarmState
,
TAccountScopePrices
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
RefreshUserStateInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountUserState
,
InstructionAccountInputAddress
<
TAccountUserState
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountFarmState
,
InstructionAccountInputAddress
<
TAccountFarmState
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountScopePrices
,
InstructionAccountInputAddress
<
TAccountScopePrices
>
,
>
,
>
Type Parameters
TAccountUserState
extends
InstructionAccountInput
TAccountFarmState
extends
InstructionAccountInput
TAccountScopePrices
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr"
>
Parameters
input
:
RefreshUserStateInput
<
TAccountUserState
,
TAccountFarmState
,
TAccountScopePrices
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
RefreshUserStateInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountUserState
,
InstructionAccountInputAddress
<
TAccountUserState
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountFarmState
,
InstructionAccountInputAddress
<
TAccountFarmState
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountScopePrices
,
InstructionAccountInputAddress
<
TAccountScopePrices
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...