moneyflow V2

ETHEREUM USDT,USDC,ETH 案例地址

Returns money flows on Ethereum, where initial address is 0xba6a…74ea, currency is 0xceee…7dd1, 0xdac1…1ec7 or 1 more and date since 2022-08-17, sorted by amount, highest first: sender address, annotation, contract type, currency symbol, currency name, receiver address, amount and 2 more fields.

By william · saved 26 November 2024 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query (
  $network: EthereumNetwork!
  $address: String!
  $inboundDepth: Int!
  $outboundDepth: Int!
  $limit: Int!
  $currencies: [String!]
  $from: ISO8601DateTime
  $till: ISO8601DateTime
) {
  ethereum(network: $network) {
    inbound: coinpath(
      initialAddress: {is: $address}
      currency: {in: $currencies}
      depth: {lteq: $inboundDepth}
      options: {direction: inbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
      date: {since: $from, till: $till}
    ) {
      sender {
        address
        annotation
        smartContract {
          contractType
          currency {
            symbol
            name
          }
        }
      }
      receiver {
        address
        annotation
        smartContract {
          contractType
          currency {
            symbol
            name
          }
        }
      }
      amount
      currency {
        symbol
      }
      depth
      count
    }
    outbound: coinpath(
      initialAddress: {is: $address}
      currency: {in: $currencies}
      depth: {lteq: $outboundDepth}
      options: {asc: "depth", desc: "amount", limitBy: {each: "depth", limit: $limit}}
      date: {since: $from, till: $till}
    ) {
      sender {
        address
        annotation
        smartContract {
          contractType
          currency {
            symbol
            name
          }
        }
      }
      receiver {
        address
        annotation
        smartContract {
          contractType
          currency {
            symbol
            name
          }
        }
      }
      amount
      currency {
        symbol
      }
      depth
      count
    }
  }
}

Variables

{
  "inboundDepth": 1,
  "outboundDepth": 1,
  "limit": 10,
  "network": "ethereum",
  "address": "0xba6a991028af7ae3dff32a4b8ab42ef189dc74ea",
  "currencies": [
    "0xceeedc7a1969c87f4712e1a902a4cc4396037dd1",
    "0xdac17f958d2ee523a2206206994597c13d831ec7",
    "ETH"
  ],
  "from": "2022-08-17",
  "till": "2022-08-19",
  "dateFormat": "%Y-%m-%d",
  "offset": 0
}

Similar queries