@armada/sdk / index / IndexerEventSourceOptions
Interface: IndexerEventSourceOptions
Defined in: src/sync/event-source.ts:36
Properties
baseUrl
readonlybaseUrl:string
Defined in: src/sync/event-source.ts:38
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:40
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:42
Injected fetch (defaults to the global).
Call Signature
(
input,init?):Promise<Response>
Parameters
input
URL | RequestInfo
init?
RequestInit
Returns
Promise<Response>
Call Signature
(
input,init?):Promise<Response>
Parameters
input
string | URL | Request
init?
RequestInit
Returns
Promise<Response>