Smart Contract Statistics (dataset combain)
Returns one call on Ethereum, where call to is 0xc02a…6cc2 and currency smart contract is 0xc02a…6cc2, sorted by count, highest first: chain ID, block time, count, sum of fee sender fee, unique of call from, unique of call to, protocol name and 3 more fields.
What it returns
- chain ID
- block time
- count
- sum of fee sender fee
- unique of call from
- unique of call to
- protocol name
- currency name
- currency symbol
- smart contract
Filters
- call to is 0xc02a…6cc2
- currency smart contract is 0xc02a…6cc2
The query
query ($network: evm_network, $limit: Int, $address: String!) {
EVM(dataset: combined, network: $network) {
Calls(
where: {Call: {To: {is: $address}}}
limit: {count: $limit}
orderBy: {descendingByField: "count"}
) {
ChainId
Block {
Time(maximum: Block_Time)
}
days: count(distinct: Block_Date)
internal_count: count(if: {Call: {Depth: {gt: 0}}})
external_count: count(if: {Call: {Depth: {eq: 0}}})
count
sum(of: Fee_SenderFee)
call_from: uniq(of: Call_From)
call_to: uniq(of: Call_To)
t_from: count(distinct: Transaction_From)
t_to: count(distinct: Transaction_To)
}
Transfers(
where: {Transfer: {Currency: {SmartContract: {is: $address}}}}
limit: {count: 1}
) {
Transfer {
Currency {
ProtocolName
Name
Symbol
SmartContract
}
}
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "eth",
"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
}
Similar queries
- Ethereum wallet contract calls and internal transactions · Ethereum · Calls
- Ethereum wallet most called contracts and functions · Ethereum · Calls
- Recent Calls on Ethereum · Ethereum · Calls
- EVM Calls · Ethereum · Calls
- DeployerContracts EVM · Ethereum · Calls