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

Method parseLedgerEntryType

ts/src/bitso.ts:340–348  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

338 }
339
340 parseLedgerEntryType (type) {
341 const types: Dict = {
342 'funding': 'transaction',
343 'withdrawal': 'transaction',
344 'trade': 'trade',
345 'fee': 'fee',
346 };
347 return this.safeString (types, type, type);
348 }
349
350 parseLedgerEntry (item: Dict, currency: Currency = undefined): LedgerEntry {
351 //

Callers 1

parseLedgerEntryMethod · 0.95

Calls 1

safeStringMethod · 0.45

Tested by

no test coverage detected