---
description: >-
  Endpoint allows you to transfer a specific ERC20 token from one wallet address
  to another on the Polygon Network.
---

# Transfer ERC20 Token

## Overview

{% hint style="success" %}
### Endpoint

* **Method:** POST
* **URL:** `/wallet/{address}/{chain}/transfer-token`
{% endhint %}

### Parameters

* **`address`**: (Path Parameter): Sender's wallet address (string).
* **`chain`**: (Path Parameter): Blockchain (string). Available values: `polygon`.

### Request Body

* **Media Type:** application/json
* **Example Value:**

```json
{
  "tokenAddress": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359",
  "amount": 100,
  "to": "0x8e9DD3c1Db3254d968967CbC367542C343273629"
}
```

### Responses

#### Success (Code 200)

```json
{
  "transactionHash": "0xe2e830fcc13af572c0cbe970e69c2ebd873cc85b9984099a072709f1ee62305b"
}
```

* **Media Type**: application/json
* **Example Value**: An object containing the transaction hash for the successful transfer.\


## Usage

1. **Send a POST request** to the `/api/wallet/{address}/{chain}/transfer-token` endpoint to initiate the transfer of an ERC20 token.
2. **Include the required parameters and request body** in the request.
3. **Handle the response accordingly** based on success, unauthorized access, forbidden access, not found, method not allowed, precondition failed, or internal server error.

**Note:** Ensure the wallet address and blockchain chain are valid. Verify the user's authentication status and permissions before initiating the transfer.
