Class ChainProperties

  • All Implemented Interfaces:
    com.alibaba.fastjson.JSONAware, com.alibaba.fastjson.JSONStreamAware, java.io.Serializable, java.lang.Cloneable, java.lang.reflect.InvocationHandler, java.util.Map<java.lang.String,​java.lang.Object>, Codec

    public class ChainProperties
    extends Json
    Wraps the properties retrieved from the chain via the `system.properties` RPC call.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Field Summary

      • Fields inherited from class com.alibaba.fastjson.JSON

        DEFAULT_GENERATE_FEATURE, DEFAULT_PARSER_FEATURE, DEFAULT_TYPE_KEY, defaultLocale, defaultTimeZone, DEFFAULT_DATE_FORMAT, VERSION
    • Constructor Summary

      Constructors 
      Constructor Description
      ChainProperties​(java.lang.Object value)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.Double getTokenDecimals()
      The token decimals, if defined (de-facto standard only)
      java.lang.String getTokenSymbol()
      The token system, if defined (de-facto standard only)
      • Methods inherited from class com.alibaba.fastjson.JSONObject

        clear, clone, containsKey, containsValue, entrySet, equals, fluentClear, fluentPut, fluentPutAll, fluentRemove, get, getBigDecimal, getBigInteger, getBoolean, getBooleanValue, getByte, getBytes, getByteValue, getDate, getDouble, getDoubleValue, getFloat, getFloatValue, getInnerMap, getInteger, getIntValue, getJSONArray, getJSONObject, getLong, getLongValue, getObject, getObject, getObject, getShort, getShortValue, getSqlDate, getString, getTimestamp, hashCode, invoke, keySet, put, putAll, remove, size, values
      • Methods inherited from class com.alibaba.fastjson.JSON

        handleResovleTask, parse, parse, parse, parse, parse, parse, parse, parse, parseArray, parseArray, parseArray, parseObject, parseObject, parseObject, parseObject, parseObject, parseObject, parseObject, parseObject, parseObject, parseObject, parseObject, parseObject, parseObject, parseObject, parseObject, parseObject, parseObject, parseObject, setDefaultTypeKey, toJavaObject, toJavaObject, toJavaObject, toJavaObject, toJSON, toJSON, toJSON, toJSONBytes, toJSONBytes, toJSONBytes, toJSONBytes, toJSONBytes, toJSONBytes, toJSONBytes, toJSONBytes, toJSONString, toJSONString, toJSONString, toJSONString, toJSONString, toJSONString, toJSONString, toJSONString, toJSONString, toJSONString, toJSONString, toJSONStringWithDateFormat, toJSONStringZ, toString, writeJSONString, writeJSONString, writeJSONString, writeJSONString, writeJSONString, writeJSONString, writeJSONString, writeJSONStringTo
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.polkadot.types.Codec

        toU8a
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
    • Constructor Detail

      • ChainProperties

        public ChainProperties​(java.lang.Object value)
    • Method Detail

      • getTokenDecimals

        public java.lang.Double getTokenDecimals()
        The token decimals, if defined (de-facto standard only)
      • getTokenSymbol

        public java.lang.String getTokenSymbol()
        The token system, if defined (de-facto standard only)