createImpersonatedTx
createImpersonatedTx(
txData
,opts
?):ImpersonatedTx
Creates an impersonated tx that wraps FeeMarketEIP1559Transaction. Wraps following methods
- ‘isImpersonated’
- ‘hash’
- ‘isSigned’
- ‘getSenderAddress’
Parameters
• txData: FeeMarketEIP1559TxData
& object
• opts?: TxOptions
Returns
Throws
Error if the constructor for FeeMarketEIP1559Transaction throws