useQueryRefresher
Callable
Type parameters
- TQuery: false | (builder: Query<[], TDescriptor>) => any
- TDescriptor: any
- TChainId: ChainId
Parameters
builder: TQuery
The function to create the query
optionaloptions: ChainHookOptions<TChainId>
Additional options
Returns (...args: []) => void
The function to refresh the query
Parameters
rest...args: []
Returns void
Hook for refreshing cached query.