@superfluid-finance/sdk-core
Version:
SDK Core for building with Superfluid Protocol
20 lines • 899 B
TypeScript
import { IFrameworkOptions } from "./Framework";
export declare const validateFrameworkConstructorOptions: (options: IFrameworkOptions) => void;
/**
* Subgraph Query endpoint is empty string and will break at runtime if this is not handled.
* @param options
* @returns SubgraphQueriesEndpoint which is a custom endpoint or based on selected network
*/
export declare const getSubgraphQueriesEndpoint: (options: IFrameworkOptions) => string;
interface INetworkNameParams {
readonly chainId?: number;
}
/**
* We check that the user has input a networkName or chainId and that they are both supported.
* @param options.chainId the chainId of the desired network
* @param options.networkName the name of the desired network
* @returns the network name
*/
export declare const getNetworkName: (options: INetworkNameParams) => string;
export {};
//# sourceMappingURL=frameworkHelpers.d.ts.map