• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-client-gateway / 7830407798
93%
main: 89%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/eslint-9.39.2
DEFAULT BRANCH: main
Ran 08 Feb 2024 01:33PM UTC
Jobs 2
Files 536
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Feb 2024 12:30PM UTC coverage: 93.055% (+0.04%) from 93.019%
7830407798

push

github

web-flow
Add route to retrieve email address (#1116)

- Adds a new route to retrieve an email address: `GET /v1/chains/:chainId/safes/:safeAddress/emails/:signerAddress`
- This route returns the `emailAddress` and respective verification status for authenticated requests. If there are no emails associated with the signer a `404 Not Found` is returned. 

```
GET /v1/chains/:chainId/safes/:safeAddress/emails/:signerAddress

{
  email: <string>, // the signer's email address
  verified: <boolean>, // the current verification status of the email
}
```

- This new route requires two headers to be set:
  * `Safe-Wallet-Signature` – which includes the signature of the expected message
  * `Safe-Wallet-Signature-Timestamp` – which includes the timestamp that is signed with the message
- The expected message to be signed is: `email-retrieval-${chainId}-${safe}-${signer}-${timestamp}`
- A signature is only valid for 5 minutes. If a signature is re-used after these 5 minutes, a `403 Forbidden` is returned.

Future work:

We can move the authentication components to the headers instead for the other endpoints that require some sort of authentication. This decouples the authentication part with the payload part of each request which was an issue when building this `GET` endpoint.

1515 of 1819 branches covered (0.0%)

Branch coverage included in aggregate %.

5814 of 6057 relevant lines covered (95.99%)

182.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-test:e2e:cov - 7830407798.1 08 Feb 2024 01:33PM UTC 910
53.59
GitHub Action Run
2 run-test:cov - 7830407798.2 08 Feb 2024 01:34PM UTC 1067
93.86
GitHub Action Run
Source Files on build 7830407798
  • Tree
  • List 536
  • Changed 482
  • Source Changed 5
  • Coverage Changed 144
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #7830407798
  • b1a4b7fa on github
  • Prev Build on 1118-add-additional-logging-to-events-route (#7828677353)
  • Next Build on v1.26.0 (#7830483614)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc