In decentralized finance (DeFi) protocols such as Uniswap or AAVE, users must set a token allowance to authorize the protocol to spend a specified amount of their tokens on their behalf.
This is a crucial step before engaging in any transactions or operations within these protocols, ensuring that the protocol has the necessary permissions to manage the user’s tokens securely and efficiently.
arbitrum, base, ethereum The user to get the ERC20 allowance of.
The symbol or address of the token for which the allowance is checked. A token identifier - either a supported symbol (e.g., USDC, WETH) or a valid Ethereum address (0x...)
"USDC"
"WETH"
"0xA0b86a33E6441ccF30EE5DdEF1E9b652C91ac1c8"
The name or address of the contract to check allowance for.
AaveV3Pool, AerodromeBasicRouter, AerodromeSlipstreamRouter, AerodromeSlipstreamNonfungiblePositionManager, UniswapV3Router, UniswapV3NFTPositionManager, MorphoMarket, SkyDaiUsdsConverter, SkyUsdcUsdsConverter, SkyUsdsVault, PendleRouter, OdosRouter, EthenaVault Successful Response
Response model for token allowance information.
Amount of tokens allowed to be spent by spender
1.5
Number of decimals of the token
18
Symbol of the token.
"WETH"
Address of the token
"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
Address of the contract
"0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"