(self, transaction: dict, currency: Currency = None)
| 3489 | return self.safe_string(statuses, status, status) |
| 3490 | |
| 3491 | def parse_transaction(self, transaction: dict, currency: Currency = None) -> Transaction: |
| 3492 | # |
| 3493 | # withdraw |
| 3494 | # |
| 3495 | # { |
| 3496 | # "id": "10000001", |
| 3497 | # "freezeId": null, |
| 3498 | # "address": "44exxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", |
| 3499 | # "amountRv": "100", |
| 3500 | # "chainCode": "11", |
| 3501 | # "chainName": "TRX", |
| 3502 | # "currency": "USDT", |
| 3503 | # "currencyCode": 3, |
| 3504 | # "email": "abc@gmail.com", |
| 3505 | # "expiredTime": "0", |
| 3506 | # "feeRv": "1", |
| 3507 | # "nickName": null, |
| 3508 | # "phone": null, |
| 3509 | # "rejectReason": "", |
| 3510 | # "submitedAt": "1670000000000", |
| 3511 | # "submittedAt": "1670000000000", |
| 3512 | # "txHash": null, |
| 3513 | # "userId": "10000001", |
| 3514 | # "status": "Success" |
| 3515 | # |
| 3516 | # fetchDeposits |
| 3517 | # |
| 3518 | # { |
| 3519 | # "id": "29200", |
| 3520 | # "currency": "USDT", |
| 3521 | # "currencyCode": "3", |
| 3522 | # "chainName": "ETH", |
| 3523 | # "chainCode": "4", |
| 3524 | # "txHash": "0x0bdbdc47807769a03b158d5753f54dfc58b92993d2f5e818db21863e01238e5d", |
| 3525 | # "address": "0x5bfbf60e0fa7f63598e6cfd8a7fd3ffac4ccc6ad", |
| 3526 | # "amountEv": "3000000000", |
| 3527 | # "confirmations": "13", |
| 3528 | # "type": "Deposit", |
| 3529 | # "status": "Success", |
| 3530 | # "createdAt": "1592722565000", |
| 3531 | # } |
| 3532 | # |
| 3533 | # fetchWithdrawals |
| 3534 | # |
| 3535 | # { |
| 3536 | # "id": "10000001", |
| 3537 | # "userId": "10000001", |
| 3538 | # "freezeId": "10000002", |
| 3539 | # "phone": null, |
| 3540 | # "email": "abc@gmail.com", |
| 3541 | # "nickName": null, |
| 3542 | # "currency": "USDT", |
| 3543 | # "currencyCode": "3", |
| 3544 | # "status": "Succeed", |
| 3545 | # "withdrawStatus": "Succeed", |
| 3546 | # "amountEv": "8800000000", |
| 3547 | # "feeEv": "1200000000", |
| 3548 | # "address": "0x5xxxad", |
no test coverage detected