v26

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

Subscribe ETH Staking V2(TRADE)

Stake ETH to get WBETH

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

Weight(IP): 150

post/sapi/v2/eth-staking/eth/stake

Query parameters

amountnumber double required

Amount in ETH, limit 4 decimals

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Subscribed WBETH

successboolean required
wbethAmountstring required
conversionRatiostring required

ETH amount per 1 WBETH

Example response

{
  "success": true,
  "wbethAmount": "0.23092091",
  "conversionRatio": "1.001212342342"
}