public class RawTransaction
extends java.lang.Object
Transaction class used for signing transactions locally.
For the specification, refer to p4 of the
yellow paper.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_GAS |
| Modifier and Type | Method and Description |
|---|---|
static RawTransaction |
createContractTransaction(java.math.BigInteger nonce,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.math.BigInteger value,
java.lang.String init) |
static RawTransaction |
createEtherTransaction(java.math.BigInteger nonce,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.lang.String to,
java.math.BigInteger value) |
static RawTransaction |
createFunctionCallTransaction(java.math.BigInteger nonce,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.lang.String to,
java.math.BigInteger value,
java.lang.String data) |
static RawTransaction |
createFunctionCallTransaction(java.math.BigInteger nonce,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.lang.String to,
java.lang.String data) |
java.lang.String |
getData() |
java.math.BigInteger |
getGasLimit() |
java.math.BigInteger |
getGasPrice() |
java.math.BigInteger |
getNonce() |
java.lang.String |
getTo() |
java.math.BigInteger |
getValue() |
public static RawTransaction createContractTransaction(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.math.BigInteger value, java.lang.String init)
public static RawTransaction createEtherTransaction(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String to, java.math.BigInteger value)
public static RawTransaction createFunctionCallTransaction(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String to, java.lang.String data)
public static RawTransaction createFunctionCallTransaction(java.math.BigInteger nonce, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String to, java.math.BigInteger value, java.lang.String data)
public java.math.BigInteger getNonce()
public java.math.BigInteger getGasPrice()
public java.math.BigInteger getGasLimit()
public java.lang.String getTo()
public java.math.BigInteger getValue()
public java.lang.String getData()