MCPcopy Index your code
hub / github.com/ccxt/ccxt / getInfo

Method getInfo

java/lib/src/main/java/io/github/ccxt/types/TypeHelper.java:42–50  ·  view source on GitHub ↗
(Object data)

Source from the content-addressed store, hash-verified

40 }
41
42 public static Map<String, Object> getInfo(Object data) {
43 if (data == null) return null;
44 Map<String, Object> map = (Map<String, Object>) data;
45 Object info = map.get("info");
46 if (info instanceof Map) {
47 return new LinkedHashMap<>((Map<String, Object>) info);
48 }
49 return null;
50 }
51
52 public static Object safeValue(Object obj, Object key) {
53 return SafeMethods.SafeValue(obj, key);

Callers 15

testTypeHelperGetInfoMethod · 0.95
LongShortRatioMethod · 0.95
TransferEntryMethod · 0.95
FundingRateHistoryMethod · 0.95
WithdrawalResponseMethod · 0.95
TickersMethod · 0.95
DepositAddressMethod · 0.95
LedgerEntryMethod · 0.95
MarginModeMethod · 0.95
OpenInterestMethod · 0.95
LastPriceMethod · 0.95
MarginModificationMethod · 0.95

Calls 1

getMethod · 0.45

Tested by 1

testTypeHelperGetInfoMethod · 0.76