# single-service

Tethering Costs, Untethered Fees!

There are different conditions for USDT transfer on Tron network. In the case that your destination wallet has USDT, you have to pay 13.39 trx for the fee. If the destination wallet does not have USDT and its balance is zero, your transaction fee will be around 27.25 trx. Any transaction on TRON network consume energy or trx, we provide these needed energy for your wallets so that there is no need to consume energy. By using this service, you can save up to 50% on your transaction fee at the moment of transaction due to server traffic and Tron blockchain network.

Make Request

<https://publicapi.transferbyme.com/api/transaction/buy>

<table><thead><tr><th width="175">Field</th><th width="121">Type</th><th width="161">Position</th><th>Description</th></tr></thead><tbody><tr><td>address</td><td>string</td><td>body parameter</td><td>Your wallet you need transfer USDT from it</td></tr><tr><td>apikey</td><td>string</td><td>header</td><td>Your apikey that generated in your account</td></tr><tr><td>destination</td><td>string</td><td>body parameter</td><td>Target wallet you want to transfer to it.</td></tr><tr><td>amount(optional)</td><td>number</td><td>body parameter</td><td>If you want specific amount of energy, and don't send destination , number must be multiple of 65000</td></tr></tbody></table>

{% hint style="warning" %}
Either amount or destination is required
{% endhint %}

<figure><img src="https://1791031198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPJLgaz29vIUwPdhT5K34%2Fuploads%2FgOMayO3WAu2fn1uio55D%2Facreen%20api.png?alt=media&#x26;token=3a1bd79d-0fa9-4080-b5d2-4d35a8997329" alt=""><figcaption><p>Postman example </p></figcaption></figure>

#### Example

In this example we need transfer from our wallet (TSfTbUkcbhoZQvqmxhrnPqs4x4YX3TDyZT) to this address(TTNFeU6YHALriUp5eL8GstrVeXRYKU3uq6).Target wallet is for check has USDT balance or no. Any transaction cost is depend on balance of target address is greater than zero or is zero.

These information use first for estimate cost and then for detect your wallet on blockchain network to decrease transfer fee. Any request will be saved and record in your account for review your transaction in any time.

Returns

| Field   | Type    | Description                                                |
| ------- | ------- | ---------------------------------------------------------- |
| success | boolean | Status of transaction on blockchain network                |
| message | string  | In any request we send a message about request             |
| id      | string  | An id that you can track transaction full info and status. |

<figure><img src="https://1791031198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPJLgaz29vIUwPdhT5K34%2Fuploads%2FtOm265Y1LNphkGrkSoO9%2Fpostman.png?alt=media&#x26;token=deae12a7-1780-4200-8962-9a446f8b6228" alt=""><figcaption><p>Response example</p></figcaption></figure>

Check Balance

{% embed url="<https://api.transferbyme.com/api/user/getbalance>" %}
Use for check your wallet balance
{% endembed %}

| Field  | Type   | Position | Description                           |
| ------ | ------ | -------- | ------------------------------------- |
| apikey | string | header   | Your apikey generated in your account |

Returns

<figure><img src="https://1791031198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPJLgaz29vIUwPdhT5K34%2Fuploads%2FEMzFCc2Z9G9tWxwkbfwO%2Fscreen.png?alt=media&#x26;token=1d72252a-b52e-44f4-bc82-7de71012cb5e" alt=""><figcaption><p>Example</p></figcaption></figure>

| Field   | Type   | Description         |
| ------- | ------ | ------------------- |
| balance | Number | Your balance amount |

Get Transaction detail

{% embed url="<https://api.transferbyme.com/api/user/transaction>" %}

| Field  | Type   | Position        | Description                          |
| ------ | ------ | --------------- | ------------------------------------ |
| apikey | string | header          | Your apikey generated in platform    |
| id     | uuid   | body of request | transaction id return in any request |

<figure><img src="https://1791031198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPJLgaz29vIUwPdhT5K34%2Fuploads%2F1yh0Pmoev2NuwsI5mlTe%2Fscrenn2222.png?alt=media&#x26;token=1ffccabe-7c0d-425c-b552-6f46d55ae9d0" alt=""><figcaption><p>Example of this request</p></figcaption></figure>

Get transaction in a date range

{% embed url="<https://api.transferbyme.com/api/user/gettransactions>" %}

| Filed    | Type    | Position     | Description                 |
| -------- | ------- | ------------ | --------------------------- |
| from     | string  | body request | formatted date like example |
| to       | string  | body request | formatted date like example |
| apikey   | string  | body request | Your apikey in platform     |
| page     | integer | body request | Number of page              |
| pageSize | integer | body request | Count of item in any page   |

<figure><img src="https://1791031198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPJLgaz29vIUwPdhT5K34%2Fuploads%2FzBO6oX7k9fDhRtveKTyZ%2Fsc101.png?alt=media&#x26;token=602c5a92-2c91-4d40-a185-df04ee2aabc3" alt=""><figcaption><p>Example</p></figcaption></figure>

Estimate a transaction fee

{% embed url="<https://publicapi.transferbyme.com/api/transaction/estimate>" %}
Address
{% endembed %}

| Field       | Type   | Position       | Description                                |
| ----------- | ------ | -------------- | ------------------------------------------ |
| apikey      | string | header         | Your apikey that generated in your account |
| address     | string | body parameter | Your wallet you need transfer USDT from it |
| destination | string | body parameter | Target wallet you want to transfer to it.  |

<figure><img src="https://1791031198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPJLgaz29vIUwPdhT5K34%2Fuploads%2FK3gwHYI7sjfEPgiSN0is%2Festimate.png?alt=media&#x26;token=796b0472-8023-4dee-b78d-6a7f4ab6bbfa" alt=""><figcaption><p>Postman example</p></figcaption></figure>

In this example we need transfer from our wallet (TSfTbUkcbhoZQvqmxhrnPqs4x4YX3TDyZT) to this address(TSfTbUkcbhoZQvqmxhrnPqs4x4YX3TDyZT).Target wallet is for check has USDT balance or no. Any transaction cost is depend on balance of target address is greater than zero or is zero.

These information use first for estimate cost and then for detect your wallet on blockchain network to decrease transfer fee.&#x20;

Returns

| Field   | Type    | Description                                                                                 |
| ------- | ------- | ------------------------------------------------------------------------------------------- |
| success | boolean | status of your request                                                                      |
| fee     | number  | describe how much trx is needed for this transaction at this moment accroding to your plan. |
| message | string  | comment about this transaction and balance of your target wallet.                           |

<figure><img src="https://1791031198-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPJLgaz29vIUwPdhT5K34%2Fuploads%2FOmQnMscAfLXhFueBtLIu%2Festimate-response.png?alt=media&#x26;token=e9d3661f-6aa6-42a3-817c-06c337866a3e" alt=""><figcaption><p>Postman Example</p></figcaption></figure>
