Fetch all active intervals

Execution

You can execute this query on our Optimism subgraph, here.

Query

Get all tokens present at least in one of our listed pairs with their ids (also their addresses), token names, decimals and symbols.

{
  swapIntervals(where: { active: true }) {
    interval
   	active 
  }
}

Response

{
  data {
    swapIntervals: [
      {
        active: boolean
        interval: BigInt
      }
    ]
  }
}

Last updated