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

Method parse_transaction_status

python/ccxt/lighter.py:2618–2625  ·  view source on GitHub ↗
(self, status: Str)

Source from the content-addressed store, hash-verified

2616 }
2617
2618 def parse_transaction_status(self, status: Str):
2619 statuses = {
2620 'failed': 'failed',
2621 'pending': 'pending',
2622 'completed': 'ok',
2623 'claimable': 'ok',
2624 }
2625 return self.safe_string(statuses, status, status)
2626
2627 def withdraw(self, code: str, amount: float, address: str, tag: Str = None, params={}) -> Transaction:
2628 """

Callers 1

parse_transactionMethod · 0.95

Calls 1

safe_stringMethod · 0.80

Tested by

no test coverage detected