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

Method parseAddress

ts/src/cryptocom.ts:1962–1974  ·  view source on GitHub ↗
(addressString)

Source from the content-addressed store, hash-verified

1960 }
1961
1962 parseAddress (addressString) {
1963 let address: Str = undefined;
1964 let tag: Str = undefined;
1965 let rawTag: Str = undefined;
1966 if (addressString.indexOf ('?') > 0) {
1967 [ address, rawTag ] = addressString.split ('?');
1968 const splitted = (rawTag as string).split ('=');
1969 tag = splitted[1];
1970 } else {
1971 address = addressString;
1972 }
1973 return [ address, tag ];
1974 }
1975
1976 /**
1977 * @method

Callers 2

parseTransactionMethod · 0.95

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected