celo_tx_eg

Returns the latest 10 transactions on Ethereum and celo_mainnet, where date since 2024-04-08 and date till 2024-04-15: timestamp time, block height, success, to address, annotation, hash, currency address and 4 more fields.

By George · saved 15 April 2024 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $address: String!, $limit: Int!, $offset: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    transactions(
      options: {desc: "block.timestamp.time", limit: $limit, offset: $offset}
      date: {since: $from, till: $till}
      any: [{txSender: {is: $address}}, {txTo: {is: $address}}]
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      success
      address: to {
        address
        annotation
      }
      hash
      currency {
        address
        decimals
        name
        symbol
      }
      sender {
        address
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "celo_mainnet",
  "address": "0x4402dd993d012af7a870401ac98db8fec4a691e9",
  "from": "2024-04-08",
  "till": "2024-04-15T23:59:59",
  "dateFormat": "%Y-%m-%d"
}

Similar queries