USDT Transaction Tracking Template V2

Returns 10 transfers on Ethereum, where transfer sender is 0x4775…82aa, currency smart contract is 0xdAC1…1ec7 and transfer receiver is 0x4775…82aa: transfer amount, receiver, sender, currency name, smart contract, success, log index and 3 more fields.

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}}}
    ) {
      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