Universal
Get allowance - Protocol
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.
GET
Query Parameters
The chain to use.
Available options:
base:mainnet
, ethereum:mainnet
, arbitrum:mainnet
The user to get the ERC20 allowance of.
The symbol of the token for which the allowance is checked..
Available options:
1INCH
, AAVE
, BAL
, cbBTC
, cbETH
, CRV
, crvUSD
, DAI
, ENS
, ETHx
, FRAX
, FXS
, GHO
, KNC
, LDO
, LINK
, LUSD
, MKR
, osETH
, PYUSD
, rETH
, RPL
, rsETH
, sDAI
, SNX
, STG
, sUSDe
, tBTC
, UNI
, USDC
, USDe
, USDS
, USDT
, WBTC
, weETH
, WETH
, wstETH
, ARB
, EURS
, MAI
, USDCe
, AERO
, EUR
, VIRTUAL
The name of the contract to check allowance for.
Available options:
AaveV3Pool
, AerodromeBasicRouter
, AerodromeSlipstreamRouter
, AerodromeSlipstreamNonfungiblePositionManager
, UniswapV3Router
, UniswapV3NFTPositionManager
, Morpho
, SkyDaiUsdsConverter
, SkyUsdcUsdsConverter
, SkyUsdsVault
Response
200
application/json
Successful Response
Response model for token allowance information.