Smart Contract Events Backed Finance’s
Returns one call on Arbitrum, where call to is 0xCA30…5Fb5 and currency smart contract is 0xCA30…5Fb5: chain ID, block time, count, sum of fee sender fee, sum of fee burnt, sum of fee miner reward, currency name and 2 more fields.
What it returns
- chain ID
- block time
- count
- sum of fee sender fee
- sum of fee burnt
- sum of fee miner reward
- currency name
- currency symbol
- smart contract
Filters
- call to is 0xCA30…5Fb5
- currency smart contract is 0xCA30…5Fb5
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)
burnt: sum(of: Fee_Burnt)
reward: sum(of: Fee_MinerReward)
}
Transfers(
where: {Transfer: {Currency: {SmartContract: {is: $address}}}}
limit: {count: 1}
) {
ChainId
Transfer {
Currency {
Name
Symbol
SmartContract
}
}
}
}
}
Variables
{
"network":"arbitrum",
"address":"0xCA30c93B02514f86d5C86a6e375E3A330B435Fb5"
}
Similar queries
- function selector on a ca arbitrum · Arbitrum · Calls
- Transaction Call Trace Arbitrum · Arbitrum · Calls
- Calls smart contracts · Arbitrum · Calls
- Smart Contracts Activity · Arbitrum · Calls
- Calls 0xaf88d065e77c8cC2239327C5EDb3A432268e5831 · Arbitrum · Calls