dydxprotocol / v3-client

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

v1.4.2: return positionId from recovery [BAC-2015] #136

Closed samweinberg23 closed 2 years ago

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