Set Allowance - Protocol
This endpoint allows users to modify the token allowance 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.
Body
Request model for increasing token allowance for a contract.
The symbol of the token for which the allowance is increased. Note the supported tokens per chain.
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 increase allowance for.
AaveV3Pool
, AaveV3Oracle
, AaveV3ProtocolDataProvider
, AerodromeBasicFactory
, AerodromeSlipstreamFactory
, AerodromeBasicRouter
, AerodromeSlipstreamRouter
, AerodromeBasicPool
, AerodromeSlipstreamPool
, AerodromeSlipstreamNonfungiblePositionManager
, UniswapV3Pool
, UniswapV3Router
, UniswapV3Factory
, UniswapV3NFTPositionManager
, UniswapV3Quoter
, ChainlinkEACAggregatorProxy
, Multicall
The amount of tokens to increase the allowance by.
x > 0
1.5
The chain to use.
base:mainnet
, ethereum:mainnet
, arbitrum:mainnet
The address of the transaction sender
Response
The chain id of the transaction
The data of the transaction
The sender of the transaction
The gas of the transaction
The recipient of the transaction
The value of the transaction
The nonce of the address
The max fee per gas of the transaction
The max priority fee per gas of the transaction
Was this page helpful?