UNPKG

@graphprotocol/graph-cli

Version:

CLI for building for and deploying to The Graph

10 lines (9 loc) 340 B
import { URL } from 'node:url'; export declare const SUBGRAPH_STUDIO_URL = "https://api.studio.thegraph.com/deploy/"; export declare const validateNodeUrl: (node: string) => URL; export declare const normalizeNodeUrl: (node: string) => string; export declare function chooseNodeUrl({ node }: { node?: string; }): { node: string; };