Assets
useHoldingStream
Hook to receive real-time token holding balances via WebSocket.
Receive current user holdings and auto update via Websockets.
The USDC object contains:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Hook to receive real-time token holding balances via WebSocket.
const { usdc } = useHoldingStream();
{
"frozen": 0,
"holding": 100,
"pending_short": 0,
"token": "USDC",
"updated_time": 1732754429399
}