Swap_events

Returns the latest 2 events on BNB Chain, where log smart contract is 0xac9c…0C9e, block date since 2023-08-01 and block date till 2023-08-02: smart contract, exit index, transaction hash, gas price, transaction index, gas, from and 9 more fields.

By Vertex · saved 16 August 2023 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query Swap {
  EVM(dataset: combined, network: bsc) {
    Events(
      orderBy: {descending: Block_Number}
      limit: {count: 2}
      where: {Log: {SmartContract: {is: "0xac9c39E1D7b7E2E6EB28Ea3c2FC07562EfB90C9e"}}, Block: {Date: {since: "2023-08-01", till: "2023-08-02"}}}
    ) {
      Log {
        SmartContract
        ExitIndex
      }
      Transaction {
        Hash
        GasPrice
        Index
        Gas
        From
        Nonce
        Value
        To
      }
      Block {
        Number
        Time
      }
      Arguments {
        Name
        Value {
          ... on EVM_ABI_Address_Value_Arg {
            address
          }
          ... on EVM_ABI_BigInt_Value_Arg {
            bigInteger
          }
        }
        Type
      }
    }
  }
}

Similar queries