coinpath api token and wallet

Returns money flows on Ethereum and BNB Chain, where initial address is 0x6035…85db, currency is 0x5546…71f5 and depth is 1: amount.

By gaurav · saved 9 February 2022 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query ($tokenAddress: String!, $walletAddress: String!, $network: EthereumNetwork!) {
  ethereum(network: $network) {
    inboundTotal: coinpath(
      initialAddress: {is: $walletAddress}
      currency: {is: $tokenAddress}
      depth: {is: 1}
      options: {direction: inbound}
      date: {since: null}
    ) {
      amount
    }
    outboundTotal: coinpath(
      initialAddress: {is: $walletAddress}
      currency: {is: $tokenAddress}
      depth: {is: 1}
      options: {direction: outbound}
      date: {since: null, till: null}
    ) {
      amount
    }
  }
}

Variables

{
  "network": "bsc",
  "tokenAddress": "0x5546600f77eda1dcf2e8817ef4d617382e7f71f5",
  "walletAddress": "0x6035df7fc95464074e494e71324c051dca0585db"
}

Similar queries