pairs created by token creator

Returns the latest arguments on Ethereum and BNB Chain, where tx from is 0xb5b0…1c3a and smart contract event is PairCreated: transaction hash, call depth, block height and any of argument value.

By richard.pinedo · saved 10 May 2021 · run 4 times · Bitquery API v1

What it returns

Filters

The query

{
      ethereum(network: bsc) {
        arguments(
          smartContractEvent: {is: "PairCreated"}
          txFrom: { is: "0xb5b0059aa3c2b17993d24f6e8b39bc5e57501c3a" }
          options: {desc: "block.height"}
        ) {
          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