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

Method parse_transaction_status

python/ccxt/async_support/woo.py:2693–2701  ·  view source on GitHub ↗
(self, status: Str)

Source from the content-addressed store, hash-verified

2691 }
2692
2693 def parse_transaction_status(self, status: Str):
2694 statuses = {
2695 'NEW': 'pending',
2696 'CONFIRMING': 'pending',
2697 'PROCESSING': 'pending',
2698 'COMPLETED': 'ok',
2699 'CANCELED': 'canceled',
2700 }
2701 return self.safe_string(statuses, status, status)
2702
2703 async def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
2704 """

Callers 2

parse_ledger_entryMethod · 0.95
parse_transactionMethod · 0.95

Calls 1

safe_stringMethod · 0.80

Tested by

no test coverage detected