static fun fromBytes(encoded: Bytes): Transaction
(source)
Deserialize a transaction from RLP encoded bytes.
encoded
- The RLP encoded transaction.
RLPException
- If there is an error decoding the transaction.
Return
The de-serialized transaction.
static fun fromBytes(encoded: Bytes, lenient: Boolean): Transaction
(source)
Deserialize a transaction from RLP encoded bytes.
encoded
- The RLP encoded transaction.
lenient
- If true
, the RLP decoding will be lenient toward any non-minimal encoding.
RLPException
- If there is an error decoding the transaction.
Return
The de-serialized transaction.