Overview of Orderly Hooks SDK
@orderly.network/hooks
The hooks libraries provides a series of React hooks for React developers to ensure a seamless integration experience. This library is a package built on top of @orderly.network/core
and @orderly.network/perp
.
stream
will update in real-time, via relevant Websocket subscriptions.subscription
subscribe to relevant Websocket API and allow to pass in a function.query
is a wrapper of an API request.GET
Public APIGET
Private APIusePrivateQuery
that supports infinite scrollingPOST
APIsuseSWR
- Reexport from this npm packageConfigStore
EventEmitter
useConstant
- Reexport from this npm packageuseDebounce
- Reexport from this npm packageorderlyKey
Account
singletonaccount_id
perp_volume
based on start and end time