MCPcopy Create free account
hub / github.com/ccxt/ccxt / parse_transaction_status

Method parse_transaction_status

python/ccxt/ascendex.py:2635–2642  ·  view source on GitHub ↗
(self, status: Str)

Source from the content-addressed store, hash-verified

2633 return self.parse_transactions(transactions, currency, since, limit)
2634
2635 def parse_transaction_status(self, status: Str):
2636 statuses = {
2637 'reviewing': 'pending',
2638 'pending': 'pending',
2639 'confirmed': 'ok',
2640 'rejected': 'rejected',
2641 }
2642 return self.safe_string(statuses, status, status)
2643
2644 def parse_transaction(self, transaction: dict, currency: Currency = None) -> Transaction:
2645 #

Callers 1

parse_transactionMethod · 0.95

Calls 1

safe_stringMethod · 0.80

Tested by

no test coverage detected