@ethereumjs/tx / JsonTx
Generic interface for all tx types with a JSON representation of a transaction.
Note that all values are marked as optional
and not all the values are present on all tx types
(an EIP1559 tx e.g. lacks a gasPrice).
• Optional accessList: JsonAccessListItem[]
• Optional blobVersionedHashes: string[]
• Optional chainId: string
• Optional data: string
• Optional gasLimit: string
• Optional gasPrice: string
• Optional maxFeePerBlobGas: string
• Optional maxFeePerGas: string
• Optional maxPriorityFeePerGas: string
• Optional nonce: string
• Optional r: string
• Optional s: string
• Optional to: string
• Optional type: string
• Optional v: string
• Optional value: string