getTransactionByHash method
Returns the information about a transaction requested by transaction hash
transactionHash
.
Implementation
Future<TransactionInformation?> getTransactionByHash(
String transactionHash,
) async {
final map = await makeRPCCall<Map<String, dynamic>?>(
'eth_getTransactionByHash',
[transactionHash],
);
if (map == null) return null;
return TransactionInformation.fromMap(map);
}