liquidstaking
Increase Allowance
Increases the spending allowance for staked tokens with configurable gas parameters and amount specifications.
💡 Compute Unit Value: 60 (Fixed)
post/defi/v1/liquidstaking/increaseallowance
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/liquidstaking/increaseallowance
- AuthAPI key in header X-API-Key
Request body
Example request
{
"liquidStakingId": "1",
"from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
"tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"spender": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D",
"addedAmount": "100000",
"gas": "100000",
"gasPriority": "low",
"enableFee": false
}Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"chainId": "1",
"from": "0x747b11E5AaCeF79cd78C78a8436946b00dE30b97",
"to": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"data": "0x395093510000000000000000000000007f39c581f595b53c5cb19bd0b3f8da6c935e2ca000000000000000000000000000000000000000000000000000000000000186a0",
"value": "0",
"gas": "40000000",
"referenceId": "fefeae75bdf247039d0cc0b6028247d5"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.