UNPKG

@hyperionxyz/sdk

Version:

This SDK allows you to interact with the Hyperion API. You can use it to request data, create pools/positions and more.

19 lines 629 B
import { RequestDocument, Variables } from 'graphql-request'; export declare class RequestModule { protected _indexerURL: string; protected _officialIndexerURL: string; constructor(opt: { indexerURL: string; officialIndexerURL: string; }); queryIndexer({ document, variables, }: { document: RequestDocument; variables?: Variables; }): Promise<unknown>; queryOfficialIndexer({ document, variables, }: { document: RequestDocument; variables?: Variables; }): Promise<unknown>; get indexerURL(): string; } //# sourceMappingURL=requestModule.d.ts.map