hi guys, i’m trying to return the value of the arguments in this “governanceShare” method, from smartcontract: (0xbaf9a5d4b0052359326a6cdab54babaa3a3a9643).
This contract (0x0ef1b8a0e726fc3948e15b23993015eb1627f210), calls contract (…643), when performing a swap, to obtain the values of the arguments within governanceShare.
I’m having trouble returning the values.
Could you help me with the code?
My attempt:
query MyQuery {
ethereum {
smartContractCalls(
caller: {is: “0x0ef1b8a0e726fc3948e15b23993015eb1627f210”}
date: {is: “21-06-23”}
) {
smartContract {
address {
address
annotation
}
}
smartContractMethod {
name
signature
}
amount(smartContractMethod: {is: “shareParameters”})
callDepth
}
}
}
Note the caller in this screenshot is not always (…f210).
To trace how I found, goto bitquery explorer:
1 - 0x0ef1b8a0e726fc3948e15b23993015eb1627f210
2 - “Events”
3 - “Sync” event count (Events in Ethereum Mainnet)
4 - click any transaction hash (Transaction 0xb7b7f611c81975bc8e103257542485db67b0a3704c973b5761dde2802f2e3739 | Ethereum Mainnet)
5 - “Calls” tab (Calls Ethereum Mainnet 0xb7b7f611c81975bc8e103257542485db67b0a3704c973b5761dde2802f2e3739)
And you will see the screenshot above. Every Sync event calls (…643) and uses the values of the arguments in “shareParameters”. I’d like to return the values it calls.
Thanks