weth_price

Returns the latest token, where currency ID is bid:eth, block time since 2025-11-05 and time duration is 1: close and block time.

By alex · saved 6 November 2025 · run 7 times · Bitquery API v2

What it returns

Filters

The query

    query GetWETHPrice($timestamp: DateTime!) {
      Trading {
        Tokens(
          where: {
            Currency: {Id: {is: "bid:eth"}}, 
            Interval: {Time: {Duration: {eq: 1}}}, 
            Block: {Time: {since: $timestamp}}
          }
          limit: {count: 1}
          orderBy: {descending: Block_Time}
        ) {
          Price {
            Ohlc {
              Close
            }
          }
          Block {
            Time
          }
        }
      }
    }

Variables

{
  "timestamp": "2025-11-05T14:39:49Z"
}

Similar queries