Swap_events

Returns the latest 2 events on BNB Chain: smart contract, exit index, transaction hash, gas price, transaction index, gas, from and 9 more fields.

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

What it returns

The query

query Swap{
  EVM(dataset: combined, network: bsc) {
    Events(
      orderBy: {descending: Block_Number}
      limit: {count: 2}
    ) {
      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