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

Method parseTransactionStatus

ts/src/exmo.ts:2334–2343  ·  view source on GitHub ↗
(status: Str)

Source from the content-addressed store, hash-verified

2332 }
2333
2334 parseTransactionStatus (status: Str) {
2335 const statuses: Dict = {
2336 'transferred': 'ok',
2337 'paid': 'ok',
2338 'pending': 'pending',
2339 'processing': 'pending',
2340 'verifying': 'pending',
2341 };
2342 return this.safeString (statuses, status, status);
2343 }
2344
2345 parseTransaction (transaction: Dict, currency: Currency = undefined): Transaction {
2346 //

Callers 1

parseTransactionMethod · 0.95

Calls 1

safeStringMethod · 0.45

Tested by

no test coverage detected