Relation between two ethereum addresses proper

Relation between two ethereum addresses

Returns money flows on Ethereum, where initial address is 0x0f4b…749C, sender is 0x23Ae…0d03 and receiver is 0x23Ae…0d03, sorted by amount, highest first: sender address, annotation, receivers count, senders count, receiver address, amount, currency symbol and 4 more fields.

By 0xCoche · saved 7 June 2024 · run 33 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery($firstAddress: String!, $secondAddress: String!) {
  ethereum(network: ethereum) {
    inbound: coinpath(
      initialAddress: {is: $firstAddress}
      sender: {is: $secondAddress}
      currency: {}
      depth: {lteq: 2}
      options: {direction: inbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: 10}}
      date: {since: null, till: null}
    ) {
      sender {
        address
        annotation
        receiversCount
        sendersCount
      }
      receiver {
        address
        receiversCount
        sendersCount
      }
      amount
      currency {
        symbol
      }
      depth
      count
      transactions {
        txHash
      }
      transaction {
        time {
          time
        }
      }
    }
    outbound: coinpath(
      initialAddress: {is: $firstAddress}
      receiver: {is: $secondAddress}
      currency: {}
      depth: {lteq: 2}
      options: {asc: "depth", desc: "amount", limitBy: {each: "depth", limit: 10}}
      date: {since: null, till: null}
    ) {
      sender {
        address
        annotation
        receiversCount
        sendersCount
      }
      receiver {
        address
        receiversCount
        sendersCount
      }
      amount
      currency {
        symbol
      }
      depth
      count
      transactions {
        txHash
      }
      transaction {
        time {
          time
        }
      }
    }
  }
}
 

Variables

{"firstAddress":"0x0f4b94c7a224cB6a7b8bEA83d4Db255379Bc749C",
"secondAddress":"0x23Ae9C436308Bc074b45812c8b58a4c81AA90d03"}

Similar queries