Amount problem

Returns money flows on Ethereum, where initial address is 0xa098…c029, final address is 0x3f5c…f0be, 0x28c6…1d60 or 4 more and initial date since 2014-12-31: transaction hash, time time, transaction value, sender address, receiver address, amount, currency symbol and 2 more fields.

By Andrey Sychev · saved 6 November 2023 · run 5 times · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $addresses: [String!], $destination: [String!] $outboundDepth: Int!, $inboundDepth: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
  ethereum(network: $network) {
    outbound: coinpath(
      initialAddress: {in: $addresses}
      depth: {lteq: $outboundDepth}
      finalAddress: {in: $destination}
      initialDate: {since: $from, till: $till}
    ) {
      
      transaction {
				hash
        time {
          time
        }
        value
      }
      sender {
        address
      }
      receiver {
        address
      }
      
      amount
      amountUSD: amount(in: USD)
      currency {
        symbol
        address
      }
      
      depth
    }
    
    
    
    
    inbound: coinpath(
      initialAddress: {in: $addresses}
      depth: {lteq: $inboundDepth}
      options: {direction: inbound }
      finalAddress: {in: $destination}
      initialDate: {since: $from, till: $till}
    ) {
      
      transaction {
				hash
        time {
          time
        }
        value
      }
      sender {
        address
      }
      receiver {
        address
      }
      
      amount
      amountUSD: amount(in: USD)
      currency {
        symbol
        address
      }
      
      depth
    }
  }
}

Variables

{
  "inboundDepth": 1,
  "outboundDepth": 7,
  "network": "ethereum",
  "destination": [
  "0x3f5ce5fbfe3e9af3971dd833d26ba9b5c936f0be",
  "0x28c6c06298d514db089934071355e5743bf21d60",
  "0x21a31ee1afc51d94c2efccaa2092ad1028285549",
  "0x9696f59e4d72e237be84ffd425dcad154bf96976",
  "0x708396f17127c42383e3b9014072679b2f60b82f",
  "0xdfd5293d8e347dfe59e90efd55b2956a1343963d"
],
  "addresses": [
  "0xa09871aeadf4994ca12f5c0b6056bbd1d343c029"
],
  "from": "2014-12-31T20:00:00.000Z",
  "till": "2023-12-11T23:59:59.000Z",
  "dateFormat": "%Y-%m-%d"
}

Similar queries