Copy of Wilbur

Returns 10 balance updates on Base, where call path ends with is 10, call path ends with is at least 10 and call path ends with is above 10, sorted by transaction index: balance update address, balance update amount, block hash, l 1 hash, parent hash, chain ID, transaction hash and 2 more fields.

By Andrew Wilbur · saved 10 December 2024 · Bitquery API v2

What it returns

Filters

The query

query MyQuery($BalanceUpdate: EVM_BalanceUpdate_Input_BalanceUpdate_InputType = {}) {
  EVM(dataset: realtime, mempool: true, network: base, select_blocks: trunk) {
    BalanceUpdates(
      limit: {count: 10, offset: 10}
      limitBy: {by: Transaction_Index, count: 10, offset: 10}
      orderBy: {ascending: Transaction_Index, ascendingByField: "", descending: BalanceUpdate_Amount, descendingByField: ""}
      where: {BalanceUpdate: $BalanceUpdate, Block: {Date: {after: "", before: "", in: "", is: "", not: "", notIn: "", since: "", till: ""}, Hash: {endsWith: "", in: "", includes: "", is: "", like: "", not: "", notIn: "", notIncludes: "", notLike: "", startsWith: ""}, L1: {Hash: {endsWith: "", in: "", includes: "", is: "", like: "", not: "", notIn: "", notIncludes: "", notLike: "", startsWith: ""}, ParentHash: {endsWith: "", in: "", includes: "", is: "", like: "", not: "", notIn: "", notIncludes: "", notLike: "", startsWith: ""}}, Number: {eq: "", ge: "", gt: "", in: "", le: "", lt: "", ne: "", notIn: ""}, ParentHash: {endsWith: "", in: "", is: "", includes: "", like: "", not: "", notIn: "", notIncludes: "", notLike: "", startsWith: ""}, Time: {after: "", before: "", in: "", is: "", not: "", notIn: "", since: "", till: ""}}, Call: {CallPath: {endsWith: {eq: 10, ge: 10, gt: 10, in: 10, le: 10, lt: 10, ne: 10, notIn: 10}, excludes: {eq: 10, ge: 10, gt: 10, le: 10, in: 10, lt: 10, ne: 10, notIn: 10}}}}
    ) {
      BalanceUpdate {
        Address(maximum: BalanceUpdate_AmountInUSD, minimum: BalanceUpdate_Amount)
        Amount(maximum: BalanceUpdate_Id, minimum: BalanceUpdate_AmountInUSD)
      }
      Block {
        Hash(maximum: Log_Index, minimum: Log_Index)
        L1 {
          Hash(maximum: Log_Index, minimum: Log_Index)
          ParentHash(maximum: Log_Index, minimum: Log_Index)
        }
      }
      ChainId(maximum: Log_Index, minimum: Log_Index)
      Transaction {
        Hash(maximum: Log_Index, minimum: Log_Index)
        Index(maximum: Log_Index, minimum: Log_Index)
        Time(
          minimum: Log_Index
          if: {BalanceUpdate: {Address: {endsWith: "", in: "", includes: "", is: "", like: "", not: "", notIn: "", notIncludes: "", notLike: "", startsWith: ""}, Amount: {eq: "", ge: "", gt: "", le: "", lt: "", ne: ""}, AmountInUSD: {eq: "", ge: "", gt: "", le: "", lt: "", ne: ""}}}
        )
      }
    }
  }
}

Similar queries