Function makeParsedAccountQuery
- makeParsedAccountQuery<T>(key: undefined | null | PublicKey, network: Network, fetchKeys: FetchKeysFn, parser: ProgramAccountParser<T>, options?: Omit<UseQueryOptions<undefined | null | ProgramAccount<T>, unknown, undefined | null | ProgramAccount<T>, QueryKey>, "queryKey" | "queryFn">): UseQueryOptions<undefined | null | ProgramAccount<T>, unknown, undefined | null | ProgramAccount<T>, QueryKey>
-
Parameters
-
key: undefined | null | PublicKey
-
network: Network
-
-
-
options: Omit<UseQueryOptions<undefined | null | ProgramAccount<T>, unknown, undefined | null | ProgramAccount<T>, QueryKey>, "queryKey" | "queryFn"> = {}
Returns UseQueryOptions<undefined | null | ProgramAccount<T>, unknown, undefined | null | ProgramAccount<T>, QueryKey>
Makes the query to fetch a parsed account.
Returns