Latest Outbound Transfers

Returns the latest transfer on Ethereum, where transfer sender is 0xc02a…6cc2, currency smart contract is 0xc02a…6cc2 and block date since 2025-02-11: count, chain ID, block time, block number, transaction hash, sender, receiver and 5 more fields.

By Nadia · saved 18 February 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int, $address: String!, $from: String, $till: String) {
  EVM(dataset: combined, network: $network) {
    Transfers(
      where: {Transfer: {Sender: {is: $address}}, Block: {Date: {since: $from, till: $till}}}
      orderBy: {descending: Block_Time}
      limit: {count: $limit}
    ) {
      count
      ChainId
      Block {
        Time
        Number
      }
      Transaction {
        Hash
      }
      Transfer {
        Sender
        Receiver
        Currency {
          Symbol
          SmartContract
        }
      }
      sum(of: Transfer_Amount)
      sum_usd: sum(of: Transfer_AmountInUSD)
    }
    token_info: Transfers(
      where: {Transfer: {Currency: {SmartContract: {is: $address}}}}
      limit: {count: 1}
    ) {
      Transfer {
        Currency {
          Symbol
          SmartContract
          Name
        }
      }
    }
  }
}

Variables

{
  "limit": 10,
  "network": "eth",
  "address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
  "from": "2025-02-11",
  "till": "2025-02-18"
}

Similar queries