argraven

Returns the latest arguments on Ethereum and bsc_testnet, where smart contract address is 0xc1aD…d86b, argument is id and smart contract event is testUser: block height, any of argument value and transaction hash.

By ravenflores · saved 2 October 2022 · run 46 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  ethereum(network: bsc_testnet) {
    arguments(
      smartContractAddress: {is: "0xc1aD897d653694220cE6A9F235DF3B78cB96d86b"}
      options: {desc: "block.height", limitBy: {each: "id", limit: 5}}
      any: {argument: {is: "id"}}
      smartContractEvent: {is: "testUser"}
    ) {
      block {
        height
      }
      id: any(of: , argument_value, argument: {is: "id"})
      amount: any(of: argument_value)
      transaction {
        hash
      }
    }
  }
}

Similar queries