public class RawTransaction extends Object
| 限定符 | 构造器和说明 |
|---|---|
protected |
RawTransaction(BigInteger nonce,
BigInteger gasPrice,
BigInteger gasLimit,
String to,
BigInteger value,
String data) |
protected |
RawTransaction(BigInteger nonce,
BigInteger gasPrice,
BigInteger gasLimit,
String to,
BigInteger value,
String data,
BigInteger gasPremium,
BigInteger feeCap) |
protected RawTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, BigInteger value, String data)
protected RawTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, BigInteger value, String data, BigInteger gasPremium, BigInteger feeCap)
public static RawTransaction createContractTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, BigInteger value, String init)
public static RawTransaction createEtherTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, BigInteger value)
public static RawTransaction createEtherTransaction(BigInteger nonce, BigInteger gasLimit, String to, BigInteger value, BigInteger gasPremium, BigInteger feeCap)
public static RawTransaction createTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, String data)
public static RawTransaction createTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, BigInteger value, String data)
public static RawTransaction createTransaction(BigInteger nonce, BigInteger gasPrice, BigInteger gasLimit, String to, BigInteger value, String data, BigInteger gasPremium, BigInteger feeCap)
public BigInteger getNonce()
public BigInteger getGasPrice()
public BigInteger getGasLimit()
public String getTo()
public BigInteger getValue()
public String getData()
public BigInteger getGasPremium()
public BigInteger getFeeCap()
public boolean isLegacyTransaction()
public boolean isEIP1559Transaction()
Copyright © 2021. All rights reserved.