getPairs()getOpenPositions()getOpenOrders()getOrders()getBuilderOrders()getFills()getFillsByTime()getSimSlippage()getSimOrderbook()
SDK configuration
Override the endpoint withsubgraphUrl when creating the client.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Default mainnet GraphQL subgraph endpoint used by @ostium/builder-sdk read methods.
https://builder.prod.bedrock.ostium.io/v1/subgraph/gn
getPairs()getOpenPositions()getOpenOrders()getOrders()getBuilderOrders()getFills()getFillsByTime()getSimSlippage()getSimOrderbook()subgraphUrl when creating the client.
const client = await OstiumClient.createReadOnly({
subgraphUrl: 'https://your-subgraph.example.com/graphql',
});