Copy of Smart Contract Statistics (dataset combain)
Returns one call on BNB Chain, where call to is 0xf048…573c and currency smart contract is 0xf048…573c: chain ID, block time, count, sum of fee sender fee, sum of fee sender fee in USD, sum of fee burnt, sum of fee burnt in USD and 5 more fields.
What it returns
- chain ID
- block time
- count
- sum of fee sender fee
- sum of fee sender fee in USD
- sum of fee burnt
- sum of fee burnt in USD
- sum of fee miner reward
- sum of fee miner reward in USD
- currency name
- currency symbol
- smart contract
Filters
- call to is 0xf048…573c
- currency smart contract is 0xf048…573c
The query
query ($network: evm_network, $address: String!) {
EVM(dataset: archive, network: $network) {
Calls(where: {Call: {To: {is: $address}}}) {
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
sender_fee: sum(of: Fee_SenderFee)
sender_fee_usd: sum(of: Fee_SenderFeeInUSD)
burnt: sum(of: Fee_Burnt)
burnt_usd: sum(of: Fee_BurntInUSD)
reward: sum(of: Fee_MinerReward)
reward_usd: sum(of: Fee_MinerRewardInUSD)
}
Transfers(
where: {Transfer: {Currency: {SmartContract: {is: $address}}}}
limit: {count: 1}
) {
ChainId
Transfer {
Currency {
Name
Symbol
SmartContract
}
}
}
}
}
Variables
{"network":"bsc","address":"0xf04837b705b7f4b1931f95757f4a473cc9b4573c","mempool":false}
Similar queries
- count of events and calls on bsc example · BNB Chain · Events
- Recent Calls on bsc · BNB Chain · Calls
- swap call pancake infinity · BNB Chain · Calls
- callqueryv2 · BNB Chain · Calls
- bsc_transactions · BNB Chain · Calls