USDT Transaction Tracking Template V2

Get the USDT flow from one wallet to another on Ethereum blockchain using our Coinpath® API. It uses machine learning to track flow of funds. It is useful in building compliance/investigation solutions for crypto.

By Nikhil · saved 10 July 2023 · Bitquery API v2

What it returns

Filters

The query

query MyQuery($address: String!, $token: String!, $from: DateTime, $till: DateTime) {
  EVM(dataset: combined, network: eth) {
    outbound: Transfers(
      limit: {count: 10}
      where: {Transfer: {Sender: {is: "0x477573f212a7bdd5f7c12889bd1ad0aa44fb82aa"}, Currency: {SmartContract: {is: $token}}}, Block: {Time: {since: "2020-10-08T00:38:27Z", till: "2020-10-09T00:38:27Z"}}}
      orderBy: {descending: Block_Time}
    ) {
      Transfer {
        Amount
        Receiver
        Sender
        Currency {
          Name
          SmartContract
        }
      }
      TransactionStatus {
        Success
      }
      Log {
        Index
        Signature {
          Signature
        }
      }
      Call {
        CallPath
        InternalCalls
      }
    }
    inbound: Transfers(
      limit: {count: $limit}
      where: {Transfer: {Receiver: {is: $address}, Currency: {SmartContract: {is: $currency}}}, Block: {Time: {since: $from, till: $till}}}
    ) {
      Transfer {
        Amount
        Receiver
        Sender
        Currency {
          Name
          SmartContract
        }
      }
      TransactionStatus {
        Success
      }
      Log {
        Index
        Signature {
          Signature
        }
      }
      Call {
        CallPath
        InternalCalls
      }
    }
  }
}

Variables

{
  "token": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
}

Similar queries