@armada/sdk / index / IndexerEventSourceOptions
Interface: IndexerEventSourceOptions
Defined in: src/sync/event-source.ts:37
Properties
baseUrl
readonlybaseUrl:string
Defined in: src/sync/event-source.ts:39
Base URL of the indexer serving the native quick-sync API (e.g. the relayer-v2 watcher).
chainId
readonlychainId:number
Defined in: src/sync/event-source.ts:41
Hub chain id — path segment of /v2/quick-sync/:chainId.
fetchFn?
readonlyoptionalfetchFn?: {(input,init?):Promise<Response>; (input,init?):Promise<Response>; }
Defined in: src/sync/event-source.ts:43
Injected fetch (defaults to the global).
Call Signature
(
input,init?):Promise<Response>
Parameters
input
RequestInfo | URL
init?
RequestInit
Returns
Promise<Response>
Call Signature
(
input,init?):Promise<Response>
Parameters
input
string | Request | URL
init?
RequestInit
Returns
Promise<Response>