transactionPending method

Future<bool> transactionPending(
  1. String txnHash
)

Implementation

Future<bool> transactionPending(String txnHash) async {
  final response = await getTransactionByHash(txnHash);
  return response["type"] == "pending_transaction";
}