UNPKG

@bombearn/sdk

Version:

Interaction framework for the yearn protocol

11 lines (10 loc) 371 B
import { ChainId } from "../../chain"; import { Service } from "../../common"; import { Context } from "../../context"; export declare class SubgraphService extends Service { yearnSubgraphEndpoint?: string; constructor(chainId: ChainId, ctx: Context); fetchQuery<T>(query: string, variables?: { [key: string]: unknown; }): Promise<T>; }