I have the following query:
query CallsToSmartContractAddressByCallerInAscendingTimestamp($caller: String, $smartContractAddress: String) {
ethereum {
smartContractCalls(
caller: {is: $caller}
options: {asc: "block.timestamp.iso8601", limit: 10}
smartContractAddress: {is: $smartContractAddress}
) {
block {
timestamp {
iso8601
}
}
transaction {
hash
gasValue
}
smartContractMethod {
name
}
}
transactions {
count
}
}
}
When called with the following variables,
{
"caller": "0x1805a813C8943a1C2C78b3C7400C30005C9887B2",
"smartContractAddress": "0xEFb47D73181bB6963c8113A58184525355287573"
}
The transaction count should return 10, but I’m getting 1228669333 in count.
How should I alter the query so that it returns a count of 10, since I’ve limited the query to 10 responses? If I remove the limit option, would the count actually count the number of responses returned, instead of the number of transactions it processes?