@orderly.network/hooks
provides the following hooks to get data regarding a user’s assets. This can be used under different use cases.
- useCollateral - retrieves information about a user’s collateral
- useMaxQty - retrieves the maximum quantity a user can place based on the symbol, side, leverage etc.
- useChain - Chain information
- useChains - Retrieves the list of supported chains
- useDeposit - retrieves a Withdraw tokens from Orderly smart contract balance helper
- useHoldingStream - Retrieves user’s assets