Gains Network Profitability
Calculates bot transactions amount spent on MATIC for gas, LINK for oracles and the amount of GNS claimed
What it returns
- amount
- currency symbol
- count
- gas value
Filters
- currency is 0xb089…E0F1 or 0xE541…7896
- receiver is 0x5fb4…178b or 0x2430…31d6
- sender is 0x2430…31d6 or 0x0000…0000
- smart contract address is 0xd8d1…8f58 or 0xf8a1…e559
- tx from is 0x2430…31d6
- smart contract method is b8ebd5cc
- date since 2022-07-07
- amount is above 0
The query
query MyQuery($address: String!, $date: ISO8601DateTime) {
ethereum(network: matic) {
transfers(
amount: {gt: 0}
currency: {in: ["0xb0897686c545045aFc77CF20eC7A532E3120E0F1", "0xE5417Af564e4bFDA1c483642db72007871397896"]}
receiver: {in: ["0x5fb47355828c0902acbbe759cee1b8342c41178b", $address]}
sender: {in: [$address, "0x0000000000000000000000000000000000000000"]}
date: {since: $date}
) {
amount
currency {
symbol
}
}
smartContractCalls(
smartContractAddress: {in: ["0xd8d177efc926a18ee455da6f5f6a6cfcee5f8f58", "0xf8a140db8b05bec52c7e86d0d40d72f8e54fe559"]}
smartContractMethod: {is: "b8ebd5cc"}
txFrom: {is: $address}
date: {since: $date}
) {
count
win: count(success: true)
gasValue(
smartContractAddress: {is: "0xf8a140db8b05bec52c7e86d0d40d72f8e54fe559"}
)
gasV6: gasValue(
smartContractAddress: {is: "0xd8d177efc926a18ee455da6f5f6a6cfcee5f8f58"}
)
}
}
}
Variables
{
"address": "0x2430403186b3A9e08BA7264fBB924447CB7a31d6",
"date": "2022-07-07T00:00:00"
}
Similar queries
- matic - make query fast · Polygon · Transactions
- missing transfers · Polygon · Transfers
- matic query · Polygon · Transfers
- matic_do_not_work · Polygon · Transfers
- leo · Polygon · Transfers