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

Method parse_transaction_status

python/ccxt/async_support/modetrade.py:2324–2332  ·  view source on GitHub ↗
(self, status: Str)

Source from the content-addressed store, hash-verified

2322 }
2323
2324 def parse_transaction_status(self, status: Str):
2325 statuses = {
2326 'NEW': 'pending',
2327 'CONFIRMING': 'pending',
2328 'PROCESSING': 'pending',
2329 'COMPLETED': 'ok',
2330 'CANCELED': 'canceled',
2331 }
2332 return self.safe_string(statuses, status, status)
2333
2334 async def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
2335 """

Callers 2

parse_ledger_entryMethod · 0.95
parse_transactionMethod · 0.95

Calls 1

safe_stringMethod · 0.80

Tested by

no test coverage detected