matic data

Returns blocks on Ethereum and Polygon: height and iso8601.

By gaurav · saved 6 May 2022 · run 2 times · Bitquery API v1

What it returns

The query

query ($heights: [Int!]!, $network: EthereumNetwork) {
  ethereum(network: $network) {
    blocks(height: {between: $heights}) {
      height
      timestamp {
        iso8601
      }
    }
  }
}

Variables

{
  "heights": [
    23121431,
    23122202
  ],
  "network": "matic"
}

Similar queries