Outbound transfers in tokens

Returns the latest transfer on Ethereum, where transfer sender is 0xcf52…00e1, currency smart contract is 0xcf52…00e1 and block date since 2023-07-25: chain ID, block date, count, currency symbol, smart contract and currency name.

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

What it returns

Filters

The query

query ($network: evm_network, $address: String!, $from: String, $till: String) {
  EVM(dataset: combined, network: $network) {
    Transfers(
      where: {Block: {Date: {since: $from, till: $till}}, Transfer: {Sender: {is: $address}, Currency: {Native: true}, Success: true}}
      orderBy: {descending: Block_Date}
    ) {
      ChainId
      Block {
        Date
      }
      count
    }
    token_info: Transfers(
      where: {Transfer: {Currency: {SmartContract: {is: $address}}}}
      limit: {count: 1}
    ) {
      Transfer {
        Currency {
          Symbol
          SmartContract
          Name
        }
      }
    }
  }
}

Variables

{
  "limit": 10,
  "network": "eth",
  "address": "0xcf523864704a502d36e8e24cd73a2aee6cda00e1",
  "from": "2023-07-25",
  "till": "2023-07-25"
}

Similar queries