CoinPath Moonpay

Returns money flows on Ethereum, where initial address is 0x22F6…ec0d, currency is 0xA0b8…eB48 or 0xdAC1…1ec7 and date after 2023-01-01, sorted by amount, highest first: sender address, annotation, receiver address, amount, currency symbol, depth and count.

By amaz_ng · saved 2 February 2023 · run 2 times · Bitquery API v1

What it returns

Filters

The query

query GetTransactions($address: String!, $currencies: [String!], $startDate: ISO8601DateTime, $endDate: ISO8601DateTime ) {
  ethereum {
    inbound: coinpath(
      initialAddress: {is: $address},
      date: {after: $startDate, before: $endDate},
      currency: {in: $currencies}
      depth: {lteq: 2}
      options: {direction: inbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: 1000}}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      currency {
        symbol
      }
      depth
      count
    }
    outbound: coinpath(
      initialAddress: {is: $address}
      depth: {lteq: 2}
      options: {asc: "depth", desc: "amount", limitBy: {each: "depth", limit: 1000}}
    ) {
      sender {
        address
        annotation
      }
      receiver {
        address
        annotation
      }
      amount
      currency {
        symbol
      }
      depth
      count
    }
  }
}

Variables

{
  "address": "0x22F6CC8738308a8c92a6a71ea67832463d1Fec0d",
	"currencies": ["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "0xdAC17F958D2ee523a2206206994597C13D831ec7"],
  "startDate": "2023-01-01",
  "endDate": "2023-02-01"
}

Similar queries