@spheron/protocol-sdk
Version:
Spheron Protocol SDK
41 lines • 1.27 kB
TypeScript
export declare const SPHERON_DEVNET_HTTP_URL = "https://spheron-devnet-eth.rpc.caldera.xyz/infra-partner-http";
export declare const SPHERON_DEVNET_WSS_URL = "wss://spheron-devnet-eth.rpc.caldera.xyz/ws";
export declare const SPHERON_DEVNET_EXPLORER_URL = "https://spheron-devnet-eth.explorer.caldera.xyz";
export declare const rpcUrls: {
testnet: {
HTTP_URL: string;
WSS_URL: string;
EXPORER_URL: string;
};
mainnet: {
HTTP_URL: string;
WSS_URL: string;
EXPORER_URL: string;
};
};
export interface IToken {
id: number;
name: string;
symbol: string;
decimal: number;
address: string;
}
export interface INetwork {
chainId: number;
chainName: string;
rpcUrls: string[];
nativeCurrency: {
name: string;
symbol: string;
decimals: number;
};
blockExplorerUrls: string[];
}
export type NetworkType = 'testnet' | 'mainnet';
export declare const networkMap: Record<NetworkType, INetwork>;
export declare const tokenMap: Record<NetworkType, IToken[]>;
export declare const networkType: NetworkType;
export declare const DEFAULT_PAGE_SIZE = 10;
export declare const GSEQ = "1";
export declare const OSEQ = "1";
//# sourceMappingURL=index.d.ts.map