internal_transaction_

Returns the latest calls on Arbitrum, where call to is 0xfd2e…86a8, call from is 0xfd2e…86a8 and opcode name is CALL: transaction hash, from, depth, call value, success and to.

By Omkar_BQ · saved 21 October 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery($address: String!) {
  EVM(dataset: combined, network: arbitrum) {
    in: Calls(
      where: {Call: {To: {is: $address}, Depth: {gt: 0}, Opcode: {Name: {is: "CALL"}}, Output: {is: "0x"}, InternalCalls: {eq: 0}}}
      orderBy: {descending: Block_Number}
    ) {
      Transaction {
        Hash
      }
      Call {
        From
        Depth
        Value
        Success
      }
    }
    out: Calls(
      where: {Call: {From: {is: $address}, Depth: {gt: 0}, Opcode: {Name: {is: "CALL"}}, Output: {is: "0x"}, InternalCalls: {eq: 0}}}
      orderBy: {descending: Block_Number}
    ) {
      Transaction {
        Hash
      }
      Call {
        To
        Depth
        Value
        Success
      }
    }
  }
}

Variables

{
  "address": "0xfd2e3ce74a8def95d8a99d4f25e3e375a82486a8"
}

Similar queries