dydxprotocol / v3-client

TypeScript client for dYdX (v3 API).
Apache License 2.0
108 stars 53 forks source link

v1.4.0: add recovery endpoint [BAC-2015] #134

Closed samweinberg23 closed 2 years ago

samweinberg23 commented 2 years ago

the api-keys module no longer really works as a name if we include recovery as an eth-private endpoint and it didn't make sense to add a new module for another eth private endpoint so I overhauled the module :(

linear[bot] commented 2 years ago
BAC-2015 GET v3/recovery endpoint for Force-Withdrawals from frontend

* This is needed to unblock @darryl on the force-withdrawal project * This will be an `Ethereum Key Private Endpoint` as described [here](https://docs.dydx.exchange/#creating-and-signing-requests). * The endpoint should be added to proposals. * The endpoint should be added to librarian * Sync with @darryl if additional code is needed in `v3-client` for this endpoint * Afterwards add the endpoint to `v3-teacher` Content of the endpoint: If no such account, return a `404` code. Otherwise return the: * starkKey of the account * quoteBalance of the account * each open position of the account