deepbook-margin-indexer
Installation
SKILL.md
DeepBook Margin Indexer: REST API Reference
The DeepBook Margin Indexer endpoints provide real-time and historical query access for monitoring margin manager actions, debt levels, liquidations, lending pool states, and registry logs.
1. Connection Endpoints
- Mainnet:
https://deepbook-indexer.mainnet.mystenlabs.com/ - Testnet:
https://deepbook-indexer.testnet.mystenlabs.com/
Common Query Parameters
Most endpoints support filtering via the following parameters:
start_time(optional): Filter start in Unix timestamp seconds (default: 24h ago).end_time(optional): Filter end in Unix timestamp seconds (default: current time).limit(optional): Maximum records to return (default: 1).