Calls to / from address in TRON with args

Returns calls on Tron, where block date since 2024-08-19: block time, block number, transaction hash, data, contract address, call value, from and 11 more fields.

By Aleksey · saved 21 August 2024 · run 5 times · Bitquery API v2

What it returns

Filters

The query

query ($address: String!, $date: String!) {
  Tron(dataset: combined) {
    Calls(
      where: {any: [{Call: {From: {is: $address}}}, {Call: {To: {is: $address}}}], Block: {Date: {since: $date}}}
    ) {
      Block {
        Time
        Number
      }
      Transaction {
        Hash
        Data
      }
      Contract {
        Address
      }
      Call {
        Value
        From
        To
        Signature {
          Signature
        }
      }
      Arguments {
        Index
        Name
        Type
        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
          }
        }
      }
    }
  }
}

Variables

{
  "address": "TC4u6DfDgBc67GEu8taUtULyaTU7NCtzHu",
  "date": "2024-08-19"
}

Similar queries