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

Method parseTransactionStatus

js/src/cex.js:1549–1556  ·  view source on GitHub ↗
(status)

Source from the content-addressed store, hash-verified

1547 };
1548 }
1549 parseTransactionStatus(status) {
1550 const statuses = {
1551 'rejected': 'rejected',
1552 'pending': 'pending',
1553 'approved': 'ok',
1554 };
1555 return this.safeString(statuses, status, status);
1556 }
1557 /**
1558 * @method
1559 * @name cex#transfer

Callers 2

parseTransactionMethod · 0.95
parseTransferMethod · 0.95

Calls 1

safeStringMethod · 0.45

Tested by

no test coverage detected