DeFi Shortcuts
Approval to Enso contract
Returns a transaction that approves your Enso contracts to spend the given amount of specified tokens. Approve before sending the route transaction on-chain.
GET
Query Parameters
Chain ID of the network to execute the transaction on
Ethereum address of the wallet to send the transaction from
Example:
"0xd8da6bf26964af9d7eed9e03e53415d37aa96045"
Routing strategy to use. Use the same routing strategy you used to create the transaction.
Available options:
ensowallet
, router
, delegate
, router-legacy
, delegate-legacy
ERC20 token address of the token to approve
Amount of tokens to approve in wei
Response
200 - application/json
The response is of type object
.