---
title: "Returns transaction that approves your EnsoWallet-v2 to spend tokens"
method: GET
path: "/api/v1/wallet/approve"
tags: ["wallet"]
---

# Returns transaction that approves your EnsoWallet-v2 to spend tokens

`GET /api/v1/wallet/approve`

## Query parameters

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

## Response `200`

- WalletApproveTransaction
  - `tx` WalletTransaction, required
    - `data` string, required
    - `to` string, required
    - `from` string, required
    - `value` string
  - `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.net/enso/apis/untitled-api.md) · [All operations](https://skmtc.net/enso/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/enso/untitled-api/revisions/b70d36b7002b/schema)
