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

Method parseTransactionStatus

js/src/woo.js:2797–2806  ·  view source on GitHub ↗
(status)

Source from the content-addressed store, hash-verified

2795 };
2796 }
2797 parseTransactionStatus(status) {
2798 const statuses = {
2799 'NEW': 'pending',
2800 'CONFIRMING': 'pending',
2801 'PROCESSING': 'pending',
2802 'COMPLETED': 'ok',
2803 'CANCELED': 'canceled',
2804 };
2805 return this.safeString(statuses, status, status);
2806 }
2807 /**
2808 * @method
2809 * @name woo#transfer

Callers 2

parseLedgerEntryMethod · 0.95
parseTransactionMethod · 0.95

Calls 1

safeStringMethod · 0.45

Tested by

no test coverage detected