streaming-API

Streams 100 transfers on Ethereum as they happen, where currency smart contract is 0xdac1…1ec7: block number, block time, currency symbol, receiver, sender, transfer amount and transaction hash.

By Nadia · saved 24 March 2023 · Bitquery API v2

What it returns

Filters

The subscription

subscription transfers($network: evm_network!, $baseCurrency: String!) {
  EVM(network: $network) {
    Transfers(
      where: {Transfer: {Currency: {SmartContract: {is: $baseCurrency}}}}
      limit: {count: 100}
    ) {
      Block {
        Number
        Time
      }
      Transfer {
        Currency {
          Symbol
        }
        Receiver
        Sender
        Amount
      }
      Transaction {
        Hash
      }
    }
  }
}

Variables

{
  "network": "eth",
  "baseCurrency": "0xdac17f958d2ee523a2206206994597c13d831ec7"
}

Similar queries