@somnia-chain/markets-sdk / react / useLiveUserOrders
Function: useLiveUserOrders()
useLiveUserOrders(
pool,user,limit?):LiveOrder[]
Defined in: packages/sdk/src/hooks.ts:337
user's orders on one pool. Watches the pool while mounted.
Background acquisition failures use the configured debug/console warning channel. Use the corresponding useWatchMarketResult/useWatchUserResult/useWatchPriceResult hook for inline error UI.
Parameters
pool
string | undefined
user
string | undefined
limit?
number = 100
Returns
Throws
No Markets provider is mounted.