Smart Contract

Subscribe to a Smart Contract real-time

Streams transfers on Ethereum as they happen, where log smart contract is 0xc02a…6cc2: block number, transaction hash, currency name, currency symbol, fungible, smart contract, decimal and transfer type.

By SJJJ · saved 26 January 2023 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM(network: eth) {
    Transfers(
      Log: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}
    ) {
      Block {
        Number
      }
      Transaction {
        Hash
      }
      Transfer {
        Currency {
          Name
          Symbol
          Fungible
          SmartContract
        }
        Amount {
          Decimal
        }
        Type
      }
      Log {
        SmartContract
      }
    }
  }
}

Similar queries