v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
Staking

Redeem ETH (TRADE)

Redeem WBETH or BETH and get ETH

  • You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.

Weight(IP): 150

post/sapi/v1/eth-staking/eth/redeem

Query parameters

assetstring

WBETH or BETH, default to BETH

amountnumber double required

Amount in BETH, limit 8 decimals

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Returned ETH

successboolean required
arrivalTimeinteger required
ethAmountstring required
conversionRatiostring required

Example response

{
  "success": true,
  "arrivalTime": 1575018510000,
  "ethAmount": "0.23092091",
  "conversionRatio": "1.00121234"
}