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 Divyasshree N · saved 7 July 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery($network: evm_network!, $address: String!, $limit: Int!, $currency: String!, $from: DateTime, $till: DateTime) {
  EVM(dataset: combined, network: $network) {
    outbound: Transfers(
      limit: {count: $limit}
      where: {Transfer: {Sender: {is: $address}, Currency: {SmartContract: {is: $currency}}}, Block: {Time: {since: $from, till: $till}}}
      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

{
  "limit": 10,
  "network": "eth",
  "address": "0x477573f212a7bdd5f7c12889bd1ad0aa44fb82aa",
  "currency": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
  "from": "2020-10-08T00:38:27Z",
  "till": "2020-10-09T00:38:27Z"
}

Similar queries