v26

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

Wrap BETH(TRADE)

  • 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/wbeth/wrap

Query parameters

amountnumber double required

Amount in BETH, limit 4 decimals

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Wrap BETH

successboolean required
wbethAmountstring required
exchangeRatestring required

Example response

{
  "success": true,
  "wbethAmount": "0.22330928",
  "exchangeRate": "1.001212343432"
}