Daily Smart Contract Calls
Returns the latest call on Ethereum, where call to is 0xc02a…6cc2, currency smart contract is 0xc02a…6cc2 and block date since 2024-01-10: chain ID, block date, count, unique of transaction hash, unique of call from, unique of call to, sum of call value and 3 more fields.
What it returns
- chain ID
- block date
- count
- unique of transaction hash
- unique of call from
- unique of call to
- sum of call value
- currency name
- smart contract
- currency symbol
Filters
- call to is 0xc02a…6cc2
- currency smart contract is 0xc02a…6cc2
- block date since 2024-01-10
- block date till 2024-01-15
The query
query ($network: evm_network, $from: String, $till: String, $address: String!) {
EVM(dataset: combined, network: $network) {
Calls(
where: {Call: {To: {is: $address}}, Block: {Date: {since: $from, till: $till}}}
orderBy: {descending: Block_Date}
) {
ChainId
Block {
Date
}
internal_count: count(if: {Call: {Depth: {gt: 0}}})
external_count: count(if: {Call: {Depth: {eq: 0}}})
tx_count: uniq(of: Transaction_Hash)
uniq_senders: uniq(of: Call_From)
uniq_receiver: uniq(of: Call_To)
call_value: sum(of: Call_Value)
}
Transfers(
limit: {count: 1}
where: {Transfer: {Currency: {SmartContract: {is: $address}}}, Block: {Date: {since: $from, till: $till}}}
) {
Transfer {
Currency {
Name
SmartContract
Symbol
}
}
}
}
}
Variables
{
"network": "eth",
"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
"from": "2024-01-10",
"till": "2024-01-15",
"dateFormat": "%Y-%m-%d"
}
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