Subscribing to removeLiquidity Call on Ethereum

Streams calls on Ethereum as they happen, where signature name is removeLiquidity or Withdrawal: block number, block hash, transaction hash, signature name, from, to, call value and 7 more fields.

By gaurav · saved 16 April 2024 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM (network: eth) {
    Calls(
      where: {Call: {Signature: {Name: {in: ["removeLiquidity", "Withdrawal"]}}}}
    ) {
      Block {
        Number
        Hash
      }
      Transaction {
        Hash
      }
      Call {
        Signature {
          Name
        }
        From
        To
        Value
      }
      Arguments {
        Name
        Value {
          ... on EVM_ABI_Integer_Value_Arg {
            integer
          }
          ... on EVM_ABI_String_Value_Arg {
            string
          }
          ... on EVM_ABI_Address_Value_Arg {
            address
          }
          ... on EVM_ABI_BigInt_Value_Arg {
            bigInteger
          }
          ... on EVM_ABI_Bytes_Value_Arg {
            hex
          }
          ... on EVM_ABI_Boolean_Value_Arg {
            bool
          }
        }
      }
    }
  }
}

Similar queries