yieldaggregator
Withdraw Pool
Processes withdrawals from yield-generating pools with configurable gas parameters and flexible pool identification options.
💡 Compute Unit Value: 40 (Fixed)
post/defi/v1/yieldaggregator/withdrawpool
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/yieldaggregator/withdrawpool
- AuthAPI key in header X-API-Key
Request body
Example request
{
"yieldAggregatorId": "5100",
"amount": "1000000000000000000",
"from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
"gas": "100000",
"tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"poolAddress": "0xfad57d2039c21811c8f2b5d5b65308aa99d31559",
"gasPriority": "low",
"enableFee": false
}Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"chainId": "1",
"from": "0x63056E00436Da25BcF48A40dfBbDcc7089351006",
"to": "0x3DA9D911301f8144bdF5c3c67886e5373DCdff8e",
"value": "0",
"gas": "2307200",
"data": "0x2e1a7d4d00000000000000000000000000000000000000000000000000000000004b4a52",
"referenceId": "cb96c9dc2c9e4ba7804b037f1c799059"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.