Skip to main content
Reads a wallet’s leverage positions directly from chain state (read-only).

Input

userAddress
string
required
Wallet address to read positions for.
chainId
integer
default:"1"

Output

Each position carries:

Example

No cost-basis or realized P&L — those require off-chain history. Positions are read live from chain and returned newest-first.