Events with argumens + New token events

Streams the latest events on Tron as they happen, where log smart contract is not TTfvyr…7AAw, contract address is TTfvyr…7AAw and transaction data contains 2f70d762: smart contract, signature signature, fee payer, big integer and value address.

By Aleksey · saved 10 September 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Tron(mempool: true) {
    NewTokenEvents: Events(
      where: {Log: {SmartContract: {not: "TTfvyrAz86hbZk5iDpKD78pqLGgi8C7AAw"}}, Transaction: {Result: {Success: true}, Data: {includes: "2f70d762"}}, Topics: {includes: {Hash: {in: ["8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0"]}}}, Contract: {Address: {is: "TTfvyrAz86hbZk5iDpKD78pqLGgi8C7AAw"}}}
      orderBy: {descending: Block_Time}
    ) {
      Log {
        SmartContract
        Signature {
          Signature
        }
      }
      Transaction {
        FeePayer
      }
      Arguments {
        Value {
          ... on EVM_ABI_BigInt_Value_Arg {
            bigInteger
          }
          ... on EVM_ABI_Address_Value_Arg {
            address
          }
        }
      }
    }
    SellEvents: Events(
      where: {Log: {SmartContract: {not: "TTfvyrAz86hbZk5iDpKD78pqLGgi8C7AAw"}}, Transaction: {Data: {includes: "d19aa2b9"}, Result: {Success: true}}, Contract: {Address: {is: "TTfvyrAz86hbZk5iDpKD78pqLGgi8C7AAw"}}}
      orderBy: {descending: Block_Time}
    ) {
      Log {
        SmartContract
        Signature {
          Signature
        }
      }
      Transaction {
        FeePayer
      }
      Arguments {
        Value {
          ... on EVM_ABI_BigInt_Value_Arg {
            bigInteger
          }
          ... on EVM_ABI_Address_Value_Arg {
            address
          }
        }
      }
    }
  }
}

Similar queries