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.
Query Parameters
The chain to use.
base:mainnet
, ethereum:mainnet
, arbitrum:mainnet
A class representing the token.
This class is used to represent the token in the system. Notice individual endpoints' documentation where per chain tokens are presented.
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
AaveV3Pool
, AerodromeBasicRouter
, AerodromeSlipstreamRouter
, AerodromeSlipstreamNonfungiblePositionManager
, UniswapV3Router
, UniswapV3NFTPositionManager
, Morpho
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.
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
Address of the token
"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
Address of the contract
"0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"