avgholdtime+trades

Returns the latest 50 transfers on Ethereum, where currency smart contract is 0xD89C…f82E, transfer receiver is not 0x9341…B69c and transaction from is 0x9341…B69c: transfer amount, currency name, currency symbol, smart contract, receiver, sender, block time and 4 more fields.

By HOD · saved 13 March 2025 · run 5 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: archive, network: eth) {
    transfers: Transfers(
      where: {
        Transfer: {
          Currency: { SmartContract: { in: ["0xD89CC9D79aD3c49e2CD477A8bBc8E63dee53f82E"] } }
          Success: true,
          Receiver: { not: "0x9341Bb8154b89eD788419E4C8fb9b721d17FB69c" }
        },
        Transaction: { From: { is: "0x9341Bb8154b89eD788419E4C8fb9b721d17FB69c" } }
      }
      limit: { count: 50 }
      orderBy: { descending: Block_Time }
    ) {
      Transfer {
        Amount
        Currency {
          Name
          Symbol
          SmartContract
        }
        Receiver
        Sender
      }
      Block {
        Time
      }
      Transaction {
        From
        Hash
        Value
      }
    }
    totalTrades: Transfers(
      where: {
        Transfer: {
          Currency: { SmartContract: { in: ["0xD89CC9D79aD3c49e2CD477A8bBc8E63dee53f82E"] } }
          Success: true,
          Receiver: { not: "0x9341Bb8154b89eD788419E4C8fb9b721d17FB69c" }
        },
        Transaction: { From: { is: "0x9341Bb8154b89eD788419E4C8fb9b721d17FB69c" } }
      }
    ) {
      count: count(distinct: Transaction_Hash)
    }
  }
}

Similar queries