---
title: "Approve Enso contract"
method: GET
path: "/api/v1/wallet/approve"
tags: ["DeFi Shortcuts"]
---

# Approve Enso contract

`GET /api/v1/wallet/approve`

Returns a transaction that approves your Enso contracts to spend the given amount of specified tokens. Approve before sending the route transaction on-chain.

## Query parameters

- `chainId` number
- `fromAddress` string, required
- `routingStrategy` 'ensowallet' | 'router' | 'delegate' | 'router-legacy' | 'delegate-legacy', nullable
- `tokenAddress` string, required
- `amount` string, required

## Response `200`

- WalletApproveTransaction
  - `tx` object, required — The tx object to use in `ethers`
  - `gas` string, required — The gas estimate for the transaction
  - `token` string, required — The token address to approve
  - `amount` string, required — The amount of tokens to approve
  - `spender` string, required — The spender address to approve

---

[API](https://skmtc.dev/enso/apis/enso-api.md) · [All operations](https://skmtc.dev/enso/apis/enso-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/enso/enso-api/revisions/249f471fdafd/schema)
