Events with argumens + New token events with TX hash

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, transaction hash, big integer and value address.

By Aleksey · saved 12 September 2024 · 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"}}
        Contract: {Address: {is: "TTfvyrAz86hbZk5iDpKD78pqLGgi8C7AAw"}}}
      orderBy: {descending: Block_Time}
    ) {
      Log {
        SmartContract
        Signature {
          Signature
        }
      }
      Transaction {
        FeePayer
        Hash
      }
      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