This endpoint allows users to modify the token allowance on any ERC-20 token for a specific protocol.
In decentralized finance (DeFi), setting an allowance is a necessary step to authorize a protocol to spend a specified amount of tokens on behalf of the user. This operation is crucial for ensuring that the protocol can manage the user’s tokens securely and efficiently, enabling seamless transactions and operations within the DeFi ecosystem.
Request model for increasing token allowance for a contract.
The symbol or address of the token for which the allowance is set..
"USDC"
"0xaf88d065e77c8cC2239327C5EDb3A432268e5831"
The name or address of the contract to set spending allowance for.
AaveV3Pool, AerodromeBasicRouter, AerodromeSlipstreamRouter, AerodromeSlipstreamNonfungiblePositionManager, UniswapV3Router, UniswapV3NFTPositionManager, MorphoMarket, SkyDaiUsdsConverter, SkyUsdcUsdsConverter, SkyUsdsVault, PendleRouter, OdosRouter, EthenaVault "AaveV3Pool"
The amount to set the allowance to.
x > 01.5
arbitrum, base, ethereum The address of the transaction sender.
"0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"
"SET_ALLOWANCE"Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed.
Successful Response
The unsigned transaction data. User must sign and broadcast to network.