https://community.bitquery.io/t/cannot-get-argument-value-of-event/442/3
Returns the latest arguments on Ethereum and bsc_testnet, where smart contract address is 0x0F41…8DBA, argument is roundId and smart contract event is UserJoined: block height, any of argument value and transaction hash.
What it returns
- block height
- any of argument value
- transaction hash
Filters
- smart contract address is 0x0F41…8DBA
- argument is roundId
- smart contract event is UserJoined
The query
query MyQuery {
ethereum(network: bsc_testnet) {
arguments(
smartContractAddress: {is: "0x0F41aC3258123b1998225aFc950E543612128DBA"}
options: {desc: "block.height", limitBy: {each: "roundId", limit: 5}}
any: {argument: {is: "roundId"}}
smartContractEvent: {is: "UserJoined"}
) {
block {
height
}
roundId: any(of: argument_value, argument: {is: "roundId"})
# amount: any(of: argument_value)
amount: any(of: argument_value, argument: {is: "amount"})
transaction {
hash
}
}
}
}
Similar queries
- ArgumentFinal · Bsc testnet · arguments
- ravenargument · Bsc testnet · arguments
- Argument Query · Bsc testnet · arguments
- Test SmartContract Events · Bsc testnet · arguments
- https://community.bitquery.io/t/cannot-get-argument-value-of-event/442/2 · Bsc testnet · arguments