Package i5.las2peer.registry.data
Class BlockchainTransactionData
java.lang.Object
i5.las2peer.registry.data.BlockchainTransactionData
public class BlockchainTransactionData
extends java.lang.Object
Represents the raw ethereum blockchain transaction
-
Constructor Summary
Constructors Constructor Description BlockchainTransactionData(java.math.BigInteger blockNumber, java.math.BigInteger gas, java.math.BigInteger gasPrice, java.math.BigInteger nonce, java.math.BigInteger transactionIndex, java.lang.String from, java.lang.String input, java.lang.String to)BlockchainTransactionData(org.web3j.protocol.core.methods.response.Transaction t) -
Method Summary
Modifier and Type Method Description java.math.BigIntegergetBlockNumber()java.math.BigIntegergetBlockTimeStamp()java.lang.StringgetFrom()java.math.BigIntegergetGas()java.math.BigIntegergetGasPrice()java.lang.StringgetInput()java.math.BigIntegergetNonce()java.lang.StringgetTo()java.math.BigIntegergetTransactionIndex()java.math.BigIntegergetValue()voidsetBlockNumber(java.math.BigInteger blockNumber)voidsetBlockTimeStamp(java.math.BigInteger blockTimeStamp)voidsetFrom(java.lang.String from)voidsetGas(java.math.BigInteger gas)voidsetGasPrice(java.math.BigInteger gasPrice)voidsetInput(java.lang.String input)voidsetNonce(java.math.BigInteger nonce)voidsetTo(java.lang.String to)voidsetTransactionIndex(java.math.BigInteger transactionIndex)voidsetValue(java.math.BigInteger value)java.lang.StringtoString()
-
Constructor Details
-
BlockchainTransactionData
public BlockchainTransactionData(java.math.BigInteger blockNumber, java.math.BigInteger gas, java.math.BigInteger gasPrice, java.math.BigInteger nonce, java.math.BigInteger transactionIndex, java.lang.String from, java.lang.String input, java.lang.String to) -
BlockchainTransactionData
public BlockchainTransactionData(org.web3j.protocol.core.methods.response.Transaction t)
-
-
Method Details
-
getBlockNumber
public java.math.BigInteger getBlockNumber() -
getGas
public java.math.BigInteger getGas() -
getGasPrice
public java.math.BigInteger getGasPrice() -
getNonce
public java.math.BigInteger getNonce() -
getTransactionIndex
public java.math.BigInteger getTransactionIndex() -
getFrom
public java.lang.String getFrom() -
getInput
public java.lang.String getInput() -
getTo
public java.lang.String getTo() -
getBlockTimeStamp
public java.math.BigInteger getBlockTimeStamp() -
getValue
public java.math.BigInteger getValue() -
setBlockNumber
public void setBlockNumber(java.math.BigInteger blockNumber) -
setGas
public void setGas(java.math.BigInteger gas) -
setGasPrice
public void setGasPrice(java.math.BigInteger gasPrice) -
setNonce
public void setNonce(java.math.BigInteger nonce) -
setTransactionIndex
public void setTransactionIndex(java.math.BigInteger transactionIndex) -
setFrom
public void setFrom(java.lang.String from) -
setInput
public void setInput(java.lang.String input) -
setTo
public void setTo(java.lang.String to) -
setBlockTimeStamp
public void setBlockTimeStamp(java.math.BigInteger blockTimeStamp) -
setValue
public void setValue(java.math.BigInteger value) -
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-