@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / react / useWatchUser

Function: useWatchUser()

useWatchUser(user): void

Defined in: packages/sdk/src/hooks.ts:117

Hydrate + hold user's order/fill history while mounted, so the user-scoped live reads have depth predating the market watches.

Parameters

user

string | null | undefined

Returns

void