Token Lens
This page will walk users through the subgraph creation flow using the Token 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 Token Lens template from the available options.

Enter Token Contract Address Provide the Base chain contract address for the token of interest.

Select LP Pairs GraphEngine will automatically search for and display all relevant LP pairs supported across DEXs. Select the LP pairs you want to include in your subgraph.

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 “Submit.” Your subgraph will appear in the “Pending” queue. Once approved by the team, data ingestion will begin and the subgraph will be ready for querying.

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

Last updated