SubgraphConfig
Defined in: packages/synapse-sdk/src/types.ts:131
Configuration for the SubgraphService, determining how to connect to a Synapse-compatible subgraph for provider discovery.
Properties
Section titled “Properties”apiKey?
Section titled “apiKey?”optional apiKey: string;
Defined in: packages/synapse-sdk/src/types.ts:141
Optional API key for authenticated subgraph access
endpoint?
Section titled “endpoint?”optional endpoint: string;
Defined in: packages/synapse-sdk/src/types.ts:133
Direct GraphQL endpoint URL. Takes precedence if provided.
goldsky?
Section titled “goldsky?”optional goldsky: object;
Defined in: packages/synapse-sdk/src/types.ts:135
Configuration for Goldsky subgraphs. Used if ‘endpoint’ is not provided.
projectId
Section titled “projectId”projectId: string;
subgraphName
Section titled “subgraphName”subgraphName: string;
version
Section titled “version”version: string;