Coding task · Blockchain and Web3 course · Module 3: Ethereum & EVM

Creating a Transaction Object

Create an object representing an Ethereum transaction according to EIP-1559

Task

Implement a transaction structure with the fields: from, to, value, gasLimit, maxFeePerGas, maxPriorityFeePerGas