NAME
Blockchain::Ethereum::Transaction - Ethereum transaction abstraction
VERSION
version 0.021
DESCRIPTION
Ethereum transaction abstraction for generating raw transactions
Supported transaction types:
Blockchain::Ethereum::Transaction::Legacy - Legacy Transaction
Blockchain::Ethereum::Transaction::EIP1559 - Fee Market Transaction
Blockchain::Ethereum::Transaction::EIP2930 - Optional Access Lists Transaction
Blockchain::Ethereum::Transaction::EIP4844 - Blob Transaction
METHODS
serialize
To be implemented by the child classes, encodes the given transaction parameters to RLP
Returns the RLP encoded transaction bytes
hash
SHA3 Hash the serialized transaction object
Returns the SHA3 transaction hash bytes
generate_v
Generate the transaction v field using the given y-parity
$y_parityy-parity
Returns the v hexadecimal value also sets the v fields from transaction
AUTHOR
REFECO <refeco@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2022 by REFECO.
This is free software, licensed under:
The MIT (X11) License