UNPKG

761 BTypeScriptView Raw
1import type { bool as Bool, Option, Text, u32, Vec } from '@polkadot/types-codec';
2import type { Registry } from '@polkadot/types-codec/types';
3import { Json } from '@polkadot/types-codec';
4export declare class GenericChainProperties extends Json {
5 constructor(registry: Registry, value?: Map<string, unknown> | Record<string, unknown> | null);
6 /**
7 * @description The chain uses Ethereum addresses
8 */
9 get isEthereum(): Bool;
10 /**
11 * @description The chain ss58Format
12 */
13 get ss58Format(): Option<u32>;
14 /**
15 * @description The decimals for each of the tokens
16 */
17 get tokenDecimals(): Option<Vec<u32>>;
18 /**
19 * @description The symbols for the tokens
20 */
21 get tokenSymbol(): Option<Vec<Text>>;
22}