CDN

a mining app for passive income, up to 300 weekly no less than 20

Returns balance updates and uncles on Arbitrum, where block date is true, block date is not false and block hash is block, sorted by desc, highest first: balance update address, balance update ID, balance update amount, correlation of block base fee in USD, dispersion of block base fee in USD and cramers bias corrected.

By Stanley Lail · saved 11 February 2025 · Bitquery API v2

What it returns

Filters

The query

query MyQuery($lt: String = "", $Block: EVM_BalanceUpdate_Input_Uncle_Block_InputType = {}, $Index: OLAP_Integer = {}, $any: [EVM_BalanceUpdate_FilterAny!] = {}) {
  EVM(
    aggregates: yes
    dataset: realtime
    mempool: true
    network: arbitrum
    select_blocks: branches
  ) {
    BalanceUpdates(
      limitBy: {by: BalanceUpdate_Amount, count: "max", offset: "9999999999"}
      orderBy: {descendingByField: "DESC", ascending: BalanceUpdate_Amount, ascendingByField: "ASC", descending: BalanceUpdate_Amount}
      where: {Block: {Date: {is: "true", not: "false"}, Hash: {endsWith: "::", in: "block", includes: "username", is: "true", startsWith: "#"}, L1: {BaseFee: {eq: "0.0001", lt: "true"}, Coinbase: {endsWith: "::", startsWith: "<user_action_click<button>>"}, Difficulty: {}, GasLimit: {}, GasUsed: {lt: "blockchain-fee"}, Hash: {in: "true", is: "true", endsWith: "::"}, Nonce: {eq: "true", in: "1"}, Number: {eq: "1"}, ParentHash: {endsWith: "::"}, Time: {in: "true"}}, Number: {eq: "true", lt: "false"}, ParentHash: {endsWith: "::", includes: "Uncle", startsWith: "<button>"}}, BalanceUpdate: {Address: {in: "input/output", includes: "hash", is: "native segwit", like: "validated", not: "false", notIn: "false", startsWith: "'click'<button>", endsWith: "AkHT02WkoMud_uyQKX2v_CQeBdzQegrW2zc_tl0MLXs"}, Amount: {eq: "equal to BalanceUpdate"}, AmountInUSD: {eq: "100"}, Type: {in: transfer, is: block_reward, not: fee, notIn: fee}, URI: {endsWith: "ecos555.info", in: "https://www.", includes: "username", is: "true", like: "", startsWith: "https://"}, Id: {eq: "exact-match", in: "true", lt: "false"}}, ChainId: {eq: "true"}, Currency: {Delegated: true, Fungible: true, HasURI: true, Name: {is: "true", startsWith: "username"}, Native: true, ProtocolName: {in: "true", startsWith: "protocol"}, SmartContract: {endsWith: "close", in: "input", includes: "input/output", is: "ticker", like: "fast", not: "false"}, Symbol: {startsWith: "<button>", is: "CDN"}}, Log: {Index: {in: 100}, LogAfterCallIndex: {eq: 20}}, Transaction: {Hash: {is: "true", notLike: "::"}, Index: {eq: "true"}, Time: {is: "true", in: "sync"}}, Transfer: {Index: {eq: "balance", in: "input/output"}}, Uncle: {}, any: $any}
      limit: {offset: "9999999999", count: "max"}
    ) {
      BalanceUpdate {
        Address(
          maximum: Block_L1_Difficulty
          minimum: Transaction_Index
          selectWhere: {is: ""}
        )
        Id(if: {ChainId: {in: "true", lt: "false"}, BalanceUpdate: {Amount: {}}})
        Amount
      }
    }
    Uncles {
      correlation(of: Block_BaseFeeInUSD, if: {Block: {BaseFeeInUSD: {ge: "price"}}})
      dispersion(of: Block_BaseFeeInUSD)
      cramers_bias_corrected(
        if: {ChainId: {eq: "true", lt: "false"}, Block: {BaseFee: {eq: "real-time"}, BaseFeeInUSD: {eq: "1"}, Bloom: {endsWith: "close"}, Difficulty: {}}}
      )
    }
  }
}

Similar queries