subql icon indicating copy to clipboard operation
subql copied to clipboard

[Feature Request] aggregates with options

Open HuberTRoy opened this issue 1 year ago • 0 comments

Prerequisites

  • [x] Are you running the latest version(s)?
  • [x] Have you searched the documentation for your issue?
  • [x] Did you search for an existing issue or pull request?

Description

https://explorer.subquery.network/subquery/subquery/subquery-mainnet

  eraIndexerApies(
    orderBy: ERA_IDX_DESC
    first: 3
  ) {
    aggregates {
      average {
        delegatorApy
        indexerApy
      }
    }
  }
  eraIndexerApies(
    orderBy: ERA_IDX_DESC
  ) {
    aggregates {
      average {
        delegatorApy
        indexerApy
      }
    }
  }

Those two query return same value, first options be ignored.

HuberTRoy avatar Dec 03 '24 02:12 HuberTRoy