Coda by Ian Macalinao
    Preparing search index...

    Type Alias RefreshUserStateInstruction<TProgram, TAccountUserState, TAccountFarmState, TAccountScopePrices, TRemainingAccounts>

    RefreshUserStateInstruction: Instruction<TProgram> & InstructionWithData<
        ReadonlyUint8Array,
    > & InstructionWithAccounts<
        [
            TAccountUserState extends string
                ? WritableAccount<TAccountUserState>
                : TAccountUserState,
            TAccountFarmState extends string
                ? WritableAccount<TAccountFarmState>
                : TAccountFarmState,
            TAccountScopePrices extends string
                ? ReadonlyAccount<TAccountScopePrices>
                : TAccountScopePrices,
            ...TRemainingAccounts,
        ],
    >

    Type Parameters

    • TProgram extends string = typeof FARMS_PROGRAM_ADDRESS
    • TAccountUserState extends string | AccountMeta = string
    • TAccountFarmState extends string | AccountMeta = string
    • TAccountScopePrices extends string | AccountMeta = string
    • TRemainingAccounts extends readonly AccountMeta[] = []