code: public static Transaction convertEtherTxToKunderaTx(TransactionResult transactionResult)
      {
  
          Transaction kunderaTx = new Transaction();
          TransactionObject txObj = (TransactionObject) transactionResult;
  
          kunderaTx.setBlockHash(txObj.getBlockHash());
          kunderaTx.setBlockNumber(txObj.getBlockNumberRaw());
          kunderaTx.setCreates(txObj.getCreates());
          kunderaTx.setFrom(txObj.getFrom());
          kunderaTx.setGas(txObj.getGasRaw());
          kunderaTx.setGasPrice(txObj.getGasPriceRaw());
          kunderaTx.setHash(txObj.getHash());
          kunderaTx.setInput(txObj.getInput());
          kunderaTx.setNonce(txObj.getNonceRaw());
          kunderaTx.setPublicKey(txObj.getPublicKey());
          kunderaTx.setR(txObj.getR());
          kunderaTx.setRaw(txObj.getRaw());
          kunderaTx.setS(txObj.getS());
          kunderaTx.setTo(txObj.getTo());
          kunderaTx.setTransactionIndex(txObj.getTransactionIndexRaw());
          kunderaTx.setV(txObj.getV());
          kunderaTx.setValue(txObj.getValueRaw());
  
          return kunderaTx;
  
      }
docs: Convert ether tx to kundera tx.
  
  @param transactionResult
  the transaction result
  @return the transaction