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:
prathamesh0
2024-09-16 19:05:45 +05:30
committed by GitHub
parent b46d8816b5
commit d413d724c7
24 changed files with 207 additions and 42 deletions
@@ -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;
}