tx events

Returns calls on Ethereum, where transaction to is 0x5C69…aA6f, signature name is swapEx…kens and block date after 2025-01-01: log count, internal calls, signature name, gas, transaction hash, from, to and 10 more fields.

By Divyasshree · saved 14 March 2025 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: archive, network: eth) {
    Calls(
      where: {Block: {Date: {after: "2025-01-01"}}, Transaction: {To: {is: "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f"}}, Call: {Signature: {Name: {is: "swapExactETHForTokens"}}}}
    ) {
      Call {
        LogCount
        InternalCalls
        Signature {
          Name
        }
      }
      Transaction {
        Gas
        Hash
        From
        To
        Type
        Index
      }
      Block {
        Date
      }
      Arguments {
        Value {
          ... on EVM_ABI_Boolean_Value_Arg {
            bool
          }
          ... on EVM_ABI_Bytes_Value_Arg {
            hex
          }
          ... on EVM_ABI_BigInt_Value_Arg {
            bigInteger
          }
          ... on EVM_ABI_Address_Value_Arg {
            address
          }
          ... on EVM_ABI_String_Value_Arg {
            string
          }
          ... on EVM_ABI_Integer_Value_Arg {
            integer
          }
        }
        Name
      }
    }
  }
}

Similar queries