@ethereumjs/tx / createTxFromRPC
createTxFromRPC<
T>(txData,txOptions):Promise<Transaction[T]>
Defined in: transactionFactory.ts:115
Method to decode data retrieved from RPC, such as eth_getTransactionByHash
Note that this normalizes some of the parameters
T extends TransactionType
TxData[T]
The RPC-encoded data
TxOptions = {}
The transaction options
Promise<Transaction[T]>
A promise that resolves with the instantiated transaction