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

Method parseLedgerEntryType

ts/src/woo.ts:2685–2691  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

2683 }
2684
2685 parseLedgerEntryType (type) {
2686 const types: Dict = {
2687 'BALANCE': 'transaction', // Funds moved in/out wallet
2688 'COLLATERAL': 'transfer', // Funds moved between portfolios
2689 };
2690 return this.safeString (types, type, type);
2691 }
2692
2693 getCurrencyFromChaincode (networkizedCode, currency) {
2694 if (currency !== undefined) {

Callers 1

parseLedgerEntryMethod · 0.95

Calls 1

safeStringMethod · 0.45

Tested by

no test coverage detected