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

Method parse_transaction_status

python/ccxt/upbit.py:1573–1584  ·  view source on GitHub ↗
(self, status: Str)

Source from the content-addressed store, hash-verified

1571 return self.parse_transaction(response, currency)
1572
1573 def parse_transaction_status(self, status: Str):
1574 statuses = {
1575 'submitting': 'pending', # 처리 중
1576 'submitted': 'pending', # 처리 완료
1577 'almost_accepted': 'pending', # 출금대기중
1578 'rejected': 'failed', # 거부
1579 'accepted': 'ok', # 승인됨
1580 'processing': 'pending', # 처리 중
1581 'done': 'ok', # 완료
1582 'canceled': 'canceled', # 취소됨
1583 }
1584 return self.safe_string(statuses, status, status)
1585
1586 def parse_transaction(self, transaction: dict, currency: Currency = None) -> Transaction:
1587 #

Callers 1

parse_transactionMethod · 0.95

Calls 1

safe_stringMethod · 0.80

Tested by

no test coverage detected