Hegic · GraphQL Specification

Hegic GraphQL API

Hegic is a decentralized peer-to-pool options trading protocol deployed on Ethereum and Arbitrum. The GraphQL API is served via The Graph Protocol subgraph maintained by cvauclair, indexing Hegic smart contract events including option creation, exercise, expiry, liquidity provision and withdrawal, and implied volatility updates. Developers can query open and closed option positions, pool state, premium and settlement fee history, and profit/loss records for liquidity providers.

Documentation Endpoint View on GitHub DeFiOptions TradingOn-ChainArbitrumEthereumLiquidity PoolsAMMDerivativesWeb3GraphQL

Overview

Hegic GraphQL API is a GraphQL API specification published by Hegic on the APIs.io network.

Hegic is a decentralized peer-to-pool options trading protocol deployed on Ethereum and Arbitrum. The GraphQL API is served via The Graph Protocol subgraph maintained by cvauclair, indexing Hegic smart contract events including option creation, exercise, expiry, liquidity provision and withdrawal, and implied volatility updates. Developers can query open and closed option positions, pool state, premium and settlement fee history, and profit/loss records for liquidity providers.

The GraphQL endpoint is available at https://api.thegraph.com/subgraphs/name/cvauclair/hegic. documentation is published at https://thegraph.com/hosted-service/subgraph/cvauclair/hegic.

The specification includes 2 reference links.

Tagged areas include DeFi, Options Trading, On-Chain, Arbitrum, and Ethereum.

Endpoint

https://api.thegraph.com/subgraphs/name/cvauclair/hegic

References

Related API Specs

DefiLlama Hegic Protocol API (OpenAPI)
Back to Hegic · All GraphQL Specs · GitHub