Skip to main content
Receive current user holdings and auto update via Websockets.

Example

const { usdc } = useHoldingStream();
The USDC object contains:
{
  "frozen": 0,
  "holding": 100,
  "pending_short": 0,
  "token": "USDC",
  "updated_time": 1732754429399
}