Filter Events From A Function In Smart Contract

Returns 10 events on Ethereum, where log smart contract is 0x4350…02dd and signature name is transferFrom: signature name, smart contract, from and to.

By Ashish Bhintade · saved 8 April 2024 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    Events(
      limit: {count: 10}
      where: {Log: {SmartContract: {is: "0x43506849d7c04f9138d1a2050bbf3a0c054402dd"}}, Call: {Signature: {Name: {is: "transferFrom"}}}}
    ) {
      Call {
        Signature {
          Name
        }
      }
      Log {
        SmartContract
        Signature {
          Name
        }
      }
      Transaction {
        From
        To
      }
    }
  }
}

Similar queries