archive query arguments fail

Returns the latest 1000 events on Ethereum, where log smart contract is 0xdAC1…1ec7, signature name is AddedBlackList and block time since 2025-03-01: signature name, smart contract, transaction hash, block time, block number, arguments name, integer and 5 more fields.

By Divyasshree · saved 28 July 2026 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query ($contract: String!, $event: String!, $since: DateTime!, $till: DateTime!, $limit: Int!) {
  EVM(network: eth, dataset: archive) {
    Events(
      where: {Log: {SmartContract: {is: $contract}, Signature: {Name: {is: $event}}}, Block: {Time: {since: $since, till: $till}}}
      limit: {count: $limit}
      orderBy: {descending: Block_Time}
    ) {
      Log {
        Signature {
          Name
        }
        SmartContract
      }
      Transaction {
        Hash
      }
      Block {
        Time
        Number
      }
      Arguments {
        Name
        Value {
          ... on EVM_ABI_Integer_Value_Arg {
            integer
          }
          ... on EVM_ABI_Address_Value_Arg {
            address
          }
          ... on EVM_ABI_String_Value_Arg {
            string
          }
          ... on EVM_ABI_Boolean_Value_Arg {
            bool
          }
          ... on EVM_ABI_Bytes_Value_Arg {
            hex
          }
          ... on EVM_ABI_BigInt_Value_Arg {
            bigInteger
          }
        }
      }
    }
  }
}

Variables

{
  "contract": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
  "event": "AddedBlackList",
  "since": "2025-03-01T00:00:00Z",
  "till": "2025-03-05T00:00:00Z",
  "limit": 1000
}

Similar queries