java.lang.Object
com.hedera.hashgraph.sdk.EthereumTransactionData
- Direct Known Subclasses:
EthereumTransactionDataEip1559,EthereumTransactionDataLegacy
This class represents the data of an Ethereum transaction.
It may be of subclass EthereumTransactionDataLegacy or of subclass EthereumTransactionDataEip1559
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static EthereumTransactionDatafromBytes(byte[] bytes) abstract byte[]toBytes()Serialize the ethereum transaction data into bytes using RLPabstract StringtoString()Serialize the ethereum transaction data into a string
-
Field Details
-
callData
public byte[] callDataThe raw call data.
-
-
Constructor Details
-
EthereumTransactionData
EthereumTransactionData(byte[] callData)
-
-
Method Details
-
fromBytes
-
toBytes
public abstract byte[] toBytes()Serialize the ethereum transaction data into bytes using RLP- Returns:
- the serialized transaction as a byte array
-
toString
Serialize the ethereum transaction data into a string
-