liquidstaking
Decrease Allowance
Reduce the spending allowance for staked tokens by a specified amount. This transaction lets you fine-tune the approved amount that a spender can use on your behalf, with customizable gas settings to ensure efficient execution.
💡 Compute Unit Value: 55 (Fixed)
post/defi/v1/liquidstaking/decreaseallowance
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/liquidstaking/decreaseallowance
- AuthAPI key in header X-API-Key
Request body
Example request
{
"liquidStakingId": "1",
"from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
"tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"spender": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
"subtractedAmount": "100000",
"gas": "100000",
"gasPriority": "low",
"enableFee": false
}Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"chainId": "1",
"from": "0x9f0ff6eCef671200447604c19D72228a170BC21c",
"to": "0xA35b1B31Ce002FBF2058D22F30f95D405200A15b",
"data": "0xa457c2d7000000000000000000000000cf5ea1b38380f6af39068375516daf40ed70d29900000000000000000000000000000000000000000000000000000000000186a0",
"value": "0",
"gas": "400000",
"referenceId": "c86772e57a054784b95f30660b804e51"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.