UNPKG

butterjs-sdk

Version:
19 lines (18 loc) 616 B
/** * Represents a chain with some metadata. */ export declare class Chain { /** chain id, we use string because some non-evm chain might have larger chainId that we defiend*/ readonly chainId: string; /** name of the chain */ readonly chainName: string; /** chain rpc uri */ readonly rpc?: string; /** chain scan url */ readonly scanUrl?: string; /** chain logo */ readonly chainLogo?: string; /** chain symbol **/ readonly symbol?: string; constructor(chainId: string, chainName: string, rpc?: string, scanUrl?: string, chainLogo?: string, symbol?: string); }