Copy of Daily Smart Contract Calls
Returns the latest call on BNB Chain, where call to is 0x1c92…5d8b and currency smart contract is 0x1c92…5d8b: 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 0x1c92…5d8b
- currency smart contract is 0x1c92…5d8b
The query
query ($network: evm_network, $address: String!) {
EVM(dataset: combined, network: $network) {
Calls(where: {Call: {To: {is: $address}}}, 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}}}}
) {
Transfer {
Currency {
Name
SmartContract
Symbol
}
}
}
}
}
Variables
{"network":"bsc","address":"0x1c929029aa8e69f3f7053bfc2460be4bd8055d8b","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