NAME
ethereum-raw-tx
SYNOPSIS
ethereum-raw-tx [options]
Options:
--txtype=legacy/eip1559 (Required)
--chain-id (Required, if not give default is 1)
--nonce (Required)
--max-fee-per-gas (Required for eip1559 transactions)
--max-priority-fee-per-gas (Required for eip1559 transactions)
--gas-price (Required for legacy transactions)
--gas-limit (Required)
--to (Optional, for contract deployment transactions)
--value (Optional)
--data (Optional)
Example:
ethereum-raw-tx --tx-type=legacy --chain-id=0x1 --nonce=0x9 --gas-price=0x4A817C800 --gas-limit=0x5208 --to=0x3535353535353535353535353535353535353535 --value=0xDE0B6B3A7640000 --pk=0x4646464646464646464646464646464646464646464646464646464646464646
DESCRIPTION
Standalone version for decoding and encoding RLP