{"id":23107814,"url":"https://github.com/kleros/event-service","last_synced_at":"2025-08-16T17:31:57.041Z","repository":{"id":44070446,"uuid":"162638371","full_name":"kleros/event-service","owner":"kleros","description":"API that sends webhooks for contract events","archived":false,"fork":false,"pushed_at":"2023-01-23T23:24:15.000Z","size":602,"stargazers_count":6,"open_issues_count":9,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-02-26T18:16:08.791Z","etag":null,"topics":["backend","kleros-v1","notifications","platform"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kleros.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-20T22:36:34.000Z","updated_at":"2022-12-17T01:06:24.000Z","dependencies_parsed_at":"2023-01-25T20:16:41.750Z","dependency_job_id":null,"html_url":"https://github.com/kleros/event-service","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Fevent-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Fevent-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Fevent-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kleros%2Fevent-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kleros","download_url":"https://codeload.github.com/kleros/event-service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230047186,"owners_count":18164575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","kleros-v1","notifications","platform"],"created_at":"2024-12-17T01:16:10.788Z","updated_at":"2024-12-17T01:16:11.405Z","avatar_url":"https://github.com/kleros.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Event Notification Service\n\nThis service is hosted at:\n- `https://kovan-events.kleros.io` to subscribe to events on the `Kovan` testnet\n- `https://events.kleros.io` to subscribe to events on the Ethereum mainnet\n\n## Basic Usage\n\n### Routes\n\n#### `https://events.kleros.io/contracts/:address/listeners/:eventName/callbacks`\n\n`POST`\n\nCreate a new subscription.\n\n```\nbody = {\n  callbackURI: 'https://my-callback-uri.com',\n  contractABI: [...]\n}\n```\n\nParams:\n- `address`: The smart contracts address\n- `eventName`: The name of the event that will trigger the callback\n- `callbackURI`: The URI of your webhook. When a matching event is consumed a POST request will be sent to this URI whose body is an Ethereum event log. For structure of event log see `https://web3js.readthedocs.io/en/1.0/web3-eth-contract.html#contract-events`\n- `contractABI`: \u003cconditional\u003e The contract ABI. This only needs to be included if the contract has not been registered before.\n\n`DELETE`\n\nRemove a subscription callback.\n\n```\nbody = {\n  callbackURI: 'https://my-callback-uri.com',\n}\n```\n\nParams:\n- `address`: The smart contracts address.\n- `eventName`: The name of the event.\n- `callbackURI`: The URI of your webhook to remove.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkleros%2Fevent-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkleros%2Fevent-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkleros%2Fevent-service/lists"}