UNPKG

@silvana-one/api

Version:
38 lines (37 loc) 1.47 kB
export { CanonicalBlockchain, MinaNetwork, networks, Mainnet, Devnet, Zeko, ZekoAlphaNet, Lightnet, Local, }; type CanonicalBlockchain = "mina:local" | "mina:lightnet" | "mina:devnet" | "mina:mainnet" | "zeko:testnet" | "zeko:alphanet"; /** * blockchain is the type for the chain ID - deprecated. */ /** * MinaNetwork is the data structure for a Mina network, keeping track of the Mina and archive endpoints, chain ID, name, account manager, explorer account URL, explorer transaction URL, and faucet. */ interface MinaNetwork { /** The Mina endpoints */ mina: string[]; /** The archive endpoints */ archive: string[]; /** The chain ID */ chainId: CanonicalBlockchain; /** The name of the network (optional) */ name?: string; /** The account manager for Lightnet (optional) */ accountManager?: string; /** The explorer account URL (optional) */ explorerAccountUrl?: string; /** The explorer transaction URL (optional) */ explorerTransactionUrl?: string; /** The explorer token URL (optional) */ explorerTokenUrl?: string; /** The launchpad URL (optional) */ launchpadUrl?: string; /** The faucet URL (optional) */ faucet?: string; } declare const Mainnet: MinaNetwork; declare const Local: MinaNetwork; declare const Devnet: MinaNetwork; declare const Zeko: MinaNetwork; declare const ZekoAlphaNet: MinaNetwork; declare const Lightnet: MinaNetwork; declare const networks: MinaNetwork[];