@ethereumjs/tx / createTxFromJSONRPCProvider
createTxFromJSONRPCProvider(
provider
,txHash
,txOptions?
):Promise
<LegacyTx
|AccessList2930Tx
|FeeMarket1559Tx
|Blob4844Tx
|EOACode7702Tx
>
Defined in: transactionFactory.ts:129
Method to retrieve a transaction from the provider
a url string for a JSON-RPC provider or an Ethers JSONRPCProvider object
string |
EthersProvider |
string
Transaction hash
The transaction options
Promise
<LegacyTx
| AccessList2930Tx
| FeeMarket1559Tx
| Blob4844Tx
| EOACode7702Tx
>
the transaction specified by txHash