(self, status: Str)
| 3469 | return self.parse_transactions(data, currency, since, limit) |
| 3470 | |
| 3471 | def parse_transaction_status(self, status: Str): |
| 3472 | statuses = { |
| 3473 | 'Success': 'ok', |
| 3474 | 'Succeed': 'ok', |
| 3475 | 'Rejected': 'failed', |
| 3476 | 'Security check failed': 'failed', |
| 3477 | 'SecurityCheckFailed': 'failed', |
| 3478 | 'Expired': 'failed', |
| 3479 | 'Address Risk': 'failed', |
| 3480 | 'Security Checking': 'pending', |
| 3481 | 'SecurityChecking': 'pending', |
| 3482 | 'Pending Review': 'pending', |
| 3483 | 'Pending Transfer': 'pending', |
| 3484 | 'AmlCsApporve': 'pending', |
| 3485 | 'New': 'pending', |
| 3486 | 'Confirmed': 'pending', |
| 3487 | 'Cancelled': 'canceled', |
| 3488 | } |
| 3489 | return self.safe_string(statuses, status, status) |
| 3490 | |
| 3491 | def parse_transaction(self, transaction: dict, currency: Currency = None) -> Transaction: |
| 3492 | # |
no test coverage detected