mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-12 02:27:31 +00:00
Add ETH RPC API to get logs (#536)
* Add eth_getLogs API handler * Transform events into logs * Update codegen templates * Allow GET requests * Increment package verisons * Remove unnecessary todo * Add limit on getLogs results size * Fix config template
This commit is contained in:
@@ -91,6 +91,12 @@ export class Indexer implements IndexerInterface {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
async getEvents (options: FindManyOptions<EventInterface>): Promise<Array<EventInterface>> {
|
||||
assert(options);
|
||||
|
||||
return [];
|
||||
}
|
||||
|
||||
async getSyncStatus (): Promise<SyncStatusInterface | undefined> {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user