reference address is not implemented for CubeQuery

Returns the latest 9 arguments on Ethereum and BNB Chain, where smart contract address is 0xBCfC…2812, tx from is 0xcb9b…aa07 and smart contract event is PairCreated: transaction hash, call depth, block height and any of argument value.

By richard.pinedo · saved 10 March 2021 · Bitquery API v1

What it returns

Filters

The query

query {
  ethereum(network: bsc) {
    arguments(
      smartContractAddress: {is: "0xBCfCcbde45cE874adCB698cC183deBcF17952812"}
      smartContractEvent: {is: "PairCreated"}
      txFrom: { is: "0xcb9beb32743e7d55ed4176ec099edf52bdffaa07" }
    	 options: {desc: "block.height", limit: 9}
    ) {
      transaction {
        hash
      }
      callDepth
      
          block {
        height
      }
      token0_address: any(argument: {is: "token0"} of: argument_value)
      token0_symbol: any(argument: {is: "token0"} of: argument_value as: token_symbol)
      token0_name: any(argument: {is: "token0"} of: argument_value as: token_name)
      
      token1_address: any(argument: {is: "token1"} of: argument_value)
      token1_symbol: any(argument: {is: "token1"} of: argument_value as: token_symbol)
      token1_name: any(argument: {is: "token1"} of: argument_value as: token_name)
     
      pair_address: any(argument: {is: "pair"} of: argument_value)
      pair_symbol: any(argument: {is: "pair"} of: argument_value as: token_symbol)
      pair_name: any(argument: {is: "pair"} of: argument_value as: token_name)
      
    }
  }
}

Similar queries