@wasserstoff/tribes-sdk
Version:
SDK for integrating with Tribes by Astrix platform on any EVM compatible chain
28 lines (27 loc) • 532 B
TypeScript
/**
* Network types for Tribes by Astrix SDK
*/
/**
* Supported network types
*/
export type NetworkType = 'mainnet' | 'testnet' | 'devnet' | 'local';
/**
* Network configuration
*/
export interface NetworkConfig {
chainId: number;
name: string;
type: NetworkType;
rpcUrl?: string;
explorerUrl?: string;
}
/**
* Network details by chain ID
*/
export interface NetworkDetails {
[chainId: number]: NetworkConfig;
}
/**
* Supported networks
*/
export declare const SUPPORTED_NETWORKS: NetworkDetails;