API Requests
useQuery
Use useQuery
to access any public API, for example to get all available symbols on Orderly.
The data
returned by useQuery
is already serialized in JSON format. If you want to access the raw data, you can provide a formatter
to override the default serialization of the hook. For example: