@mochiswap/asdk
Version:
🛠An SDK for building applications on top of MochiSwap.
19 lines (18 loc) • 628 B
TypeScript
import { Blockchain, ChainId } from './constants';
/**
* BlockchainSettings represents settings for a specific blockchain
*/
export declare class BlockchainSettings {
chainId: number;
blockchain?: Blockchain;
rpcURLs?: string[];
rpcAPIKey?: string;
blockTime?: number;
constructor(chainId: number, blockchain?: Blockchain, rpcURLs?: string[], rpcAPIKey?: string, blockTime?: number);
defaultBlockchainType(): Blockchain;
defaultRpcURLs(): string[];
defaultBlockTime(): number;
}
export declare const BLOCKCHAIN_SETTINGS: {
[chainId in ChainId]: BlockchainSettings;
};