Skip to main content
All queries target the subgraph’s GraphQL endpoint. See Overview for endpoint URLs.

Position Queries

Open Positions for an Account

Position History with PnL

Single Position by ID

Account Queries

Account Overview

Top Accounts by Realized PnL

Pool State

Current Pool Snapshot

Vault Events

LP Deposit/Withdraw History

Deposits Only

Oracle Queries

Latest Forward Rounds

OracleRound is append-only, so there is no isLatest flag. Fetch a bounded recent window ordered by publishTime desc and dedupe by fixingTimestamp client-side — the first hit per key is the most recent round for that fixing.

Forward Price History for a Fixing Timestamp

Fixing Prices

Activity Feed

Unified Pool Transactions

The PoolTransaction entity provides a single timeline of all position-related activity.

Activity by Account

Analytics

Daily Stats

Protocol State

Current Mode and Transition History

Position Reductions

Pagination

Cursor-based pagination and advanced filtering.

Schema Reference

Complete entity and field definitions.

Data Source Guide

When to query the subgraph vs RPC.