@spheron/protocol-sdk
Version:
Spheron Protocol SDK
53 lines • 1.65 kB
TypeScript
export declare const SPHERON_TESTNET_HTTP_URL = "https://base-sepolia-rpc.publicnode.com";
export declare const SPHERON_TESTNET_WSS_URL = "wss://base-sepolia-rpc.publicnode.com";
export declare const SPHERON_TESTNET_EXPLORER_URL = "https://sepolia.basescan.org";
export declare const SPHERON_MAINNET_HTTP_URL = "https://mainnet.base.org";
export declare const SPHERON_MAINNET_WSS_URL = "wss://base-rpc.publicnode.com";
export declare const SPHERON_MAINNET_EXPLORER_URL = "https://basescan.org/";
export declare const publicRpcUrls: {
testnet: {
http: string;
websocket: string;
explorer: string;
};
mainnet: {
http: string;
websocket: string;
explorer: 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 interface RpcUrls {
http: string;
websocket: string;
}
export type NetworkType = 'testnet' | 'mainnet';
export declare const networkMap: Record<NetworkType, INetwork>;
export declare const tokenMap: Record<NetworkType, IToken[]>;
export declare const DEFAULT_PAGE_SIZE = 10;
export declare const GSEQ = "1";
export declare const OSEQ = "1";
export type gaslessOptions = {
type: 'biconomy' | 'coinbase';
bundlerUrl: string;
paymasterUrl: string;
};
export declare const SIGNATURE_DEADLINE: number;
//# sourceMappingURL=index.d.ts.map