SubgraphConfig
Defined in: packages/synapse-sdk/src/types.ts:136
Configuration for the SubgraphService, determining how to connect to a Synapse-compatible subgraph for provider discovery.
Properties
Section titled “Properties”apiKey?
Section titled “apiKey?”
optionalapiKey:string
Defined in: packages/synapse-sdk/src/types.ts:146
Optional API key for authenticated subgraph access
endpoint?
Section titled “endpoint?”
optionalendpoint:string
Defined in: packages/synapse-sdk/src/types.ts:138
Direct GraphQL endpoint URL. Takes precedence if provided.
goldsky?
Section titled “goldsky?”
optionalgoldsky:object
Defined in: packages/synapse-sdk/src/types.ts:140
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