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