Ticket_804_query-to-get-liquidity-provisioning-amounts_reproduce_problem_edited

Returns the latest 25 arguments on Ethereum, where smart contract address is 0xceff…3a58, smart contract event is Mint and time before 2021-05-05: block height, timestamp time, transaction hash, index, any of argument value and caller address.

By Andrey · saved 3 October 2022 · run 4 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum {
    arguments(
      options: {desc: ["block.height", "index"], limit: 25, offset: 0}
      smartContractAddress: {is: "0xceff51756c56ceffca006cd410b03ffc46dd3a58"}
      smartContractEvent: {is: "Mint"}
      time: {before: "2021-05-05"}
    ) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      transaction {
        hash
      }
      index
      amount0: any(of: argument_value, argument: {in: ["amount0", "_amount"]})
      amount1: any(of: argument_value, argument: {in: ["amount1", "_newTotalSupply"]})
      transaction {
        hash
      }
      caller {
        address
      }
    }
  }
}

Similar queries