Polygon Coinpath api

Returns money flows on Ethereum and Polygon, where initial address is 0xaa5e…d68d, currency is MATIC and date since 2023-09-15, sorted by amount, highest first: sender address, annotation, contract type, currency symbol, currency name, receiver address, amount and 2 more fields.

By gaurav · saved 22 September 2023 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: matic) {
    inbound: coinpath(
      initialAddress: {is: "0xaa5e8d18aae59d1db33d59ccdbb865d2127dd68d"}
      currency: {is: "MATIC"}
      depth: {lteq: 1}
      options: {direction: inbound, asc: "depth", desc: "amount", limitBy: {each: "depth", limit: 10}}
      date: {since: "2023-09-15", till: "2023-09-22"}
    ) {
      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: "0xaa5e8d18aae59d1db33d59ccdbb865d2127dd68d"}
      currency: {is: "MATIC"}
      depth: {lteq: 1}
      options: {asc: "depth", desc: "amount", limitBy: {each: "depth", limit: 10}}
      date: {since: "2023-09-15", till: "2023-09-22"}
    ) {
      sender {
        address
        annotation
        smartContract {
          contractType
          currency {
            symbol
            name
          }
        }
      }
      receiver {
        address
        annotation
        smartContract {
          contractType
          currency {
            symbol
            name
          }
        }
      }
      amount
      currency {
        symbol
      }
      depth
      count
    }
  }
}

Similar queries