get newly OtokenCreated

Returns the latest 10 arguments on Ethereum, where smart contract address is 0x7c06…df8e and smart contract event is OtokenCreated: block height, timestamp time, index and any of argument value.

By gaurav · saved 30 May 2022 · run 3 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    arguments(
      options: {desc: ["block.height", "index"], limit: 10}
      smartContractAddress: {in: "0x7c06792af1632e77cb27a558dc0885338f4bdf8e"}
      smartContractEvent: {is: "OtokenCreated"}
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      index
      tokenAddress: any(of: argument_value, argument: {is: "tokenAddress"})
      creator: any(of: argument_value, argument: {is: "creator"})
      underlying: any(of: argument_value, argument: {is: "underlying"})
      strike: any(of: argument_value, argument: {is: "strike"})
      collateral: any(of: argument_value, argument: {is: "collateral"})
      strikePrice: any(of: argument_value, argument: {is: "strikePrice"})
      expiry: any(of: argument_value, argument: {is: "expiry"})
      isPut: any(of: argument_value, argument: {is: "isPut"})
    }
  }
}

Similar queries