Call example

Returns the latest 10 smart contract events on Ethereum, where smart contract address is 0x54a4…414e: block height, timestamp time and address address.

By Edgar Nwajei · saved 6 January 2025 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    smartContractEvents(
      options: {desc: "block.timestamp.time", limit: 10}
      smartContractAddress: {is: "0x54a4a7fa654234e2acdfcd837ad86477db0b414e"}
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      smartContract {
        address {
          address
        }
      }
      }
    }
  }

Similar queries