getTransactionReceipt method

Future<TransactionReceipt?> getTransactionReceipt(
  1. String hash
)

Returns an receipt of a transaction based on its hash.

Implementation

Future<TransactionReceipt?> getTransactionReceipt(String hash) {
  return _makeRPCCall<Map<String, dynamic>?>(
          'eth_getTransactionReceipt', [hash])
      .then((s) => s != null ? TransactionReceipt.fromMap(s) : null);
}