liquidstaking
Wrap
Initiate the conversion of stETH tokens into their wrapped version (wstETH). This wrapping process enables enhanced flexibility or additional functionality within the protocol, and supports customizable token amounts and gas settings to ensure efficient processing.
💡 Compute Unit Value: 25 (Fixed)
post/defi/v1/liquidstaking/wrap
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/liquidstaking/wrap
- AuthAPI key in header X-API-Key
Request body
Example request
{
"liquidStakingId": "1",
"from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
"amount": "1000000000000000000",
"gas": "100000",
"gasPriority": "low",
"enableFee": false
}Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"chainId": "1",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"to": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"data": "0xea598cb000000000000000000000000000000000000000000000000000000000000186a0",
"value": "0",
"gas": "40000000",
"referenceId": "03d97934beaa4f7faafbf31f85f2cea4"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.