DEX Lens

This page will walk users through the subgraph creation flow using the DEX Lens.

Start from the Dashboard Click “Create Subindex.”

Select Chain Choose the blockchain network on which you want to track data and create your subgraph.

Select Creation Method Choose 'Create using Lenses'.

Select a Template Choose the DEX Lens template from the available options.

Configure your Subgraph Enter the relevant details and select the DEX of interest.

Select LP Pairs GraphEngine will automatically search for and display popular LP pairs by volume currently active on the selected DEX. Additional Pair Addresses Alternatively you can else enter LP pairs manually by entering the correct pair address.

Choose Events to Track Pick which events the subgraph should listen to (Transfers, Swaps, Mints, Burns, Add/Remove LP).

Review Your Setup A review page will show the events which will be listened to. Carefully check and validate before submitting.

Submit for Approval Click “Create Subgraph.” Your subgraph will appear in the “My Subgraphs” page. Once approved by the team, data ingestion will begin and the subgraph will be ready for querying.

Check on My Subgraphs As a final check. Look for your submitted subgraph in 'My Subgraphs' on the Dashboard awaiting approval.

Last updated