Function useParsedAccounts

  • Parses accounts with the given parser.

    NOTE: the reference to the accounts array is not memoized.

    Returns

    Type Parameters

    • T

    Parameters

    • keys: (undefined | null | PublicKey)[]
    • parser: ProgramAccountParser<T>
    • options: Omit<UseQueryOptions<undefined | null | ProgramAccount<T>, unknown, undefined | null | ProgramAccount<T>, QueryKey>, "queryKey" | "queryFn"> = {}

    Returns ParsedAccountQueryResult<T>[]

Generated using TypeDoc