@somnia-chain/markets-sdk / react / IndexerQueryState
Interface: IndexerQueryState<T>
Defined in: hooks.ts:251
The state one useIndexerQuery exposes.
Type Parameters
T
T
Properties
data
data:
T|undefined
Defined in: hooks.ts:252
loading
loading:
boolean
Defined in: hooks.ts:253
error
error:
Error|null
Defined in: hooks.ts:254
refetch
refetch: () =>
void
Defined in: hooks.ts:256
Re-run the query imperatively (e.g. a manual refresh button).
Returns
void