The Withdrawals API service offers an utility for estimating the waiting time for withdrawals within the Lido protocol on Ethereum.
The service is helpful for stakers, providing insights from the moment of withdrawal request placement to its finalization when the request becomes claimable.
- Estimation before request: users can estimate the waiting time before placing a withdrawal request.
- Tracking the existing request: users can track the estimated waiting time for the already placed request.
ℹ️ See also the detailed explanation of the estimation algorithm.
- Node.js (version 20.0 or higher)
- Yarn (version 1.22 or higher)
$ yarn install
# Edit the newly created `.env` file to populate with proper values.
$ cp sample.env .env
# development
$ yarn start
# watch mode
$ yarn start:dev
# production mode
$ yarn build
$ yarn start:prod
# unit tests
$ yarn test
# e2e tests
$ yarn test:e2e
# test coverage
$ yarn test:cov
To create a new release:
- Merge all changes to the
main
branch. - After the merge, the
Prepare release draft
action will run automatically. When the action is complete, a release draft is created. - When you need to release, go to Repo → Releases.
- Publish the desired release draft manually by clicking the edit button - this release is now the
Latest Published
. - After publication, the action to create a release bump will be triggered automatically.
Withdawals API is MIT licensed.