export type ChainName = 'g1' | 'gdev' | 'gtest' | 'gdev_local'; /** * The crypto schema of the different chains. */ export type CryptoSchema = 'sr25519' | 'ed25519'; /** * The information of the chain. */ export interface ChainInfo { active?: boolean; genesis_hash?: string; genesis_timestamp?: number; last_g1_v1_block_number?: number; rpc?: string[]; squid?: string[]; name: ChainName; display_name: string; crypto_schema: CryptoSchema; ss58: number; symbol: string; decimals: number; } export interface RequestCesiumValidate { csID: string; csPwd: string; type?: 'ed25519' | 'sr25519'; }