# tradingEnabled()

```solidity
    function tradingEnabled(Token token) external view returns (bool);
```

This function allows you to identify if the token is available for trading.

{% hint style="info" %}
Notice, all tokens are paired with "targetToken" which means the caller needs to send "targetToken" to the contract in order to receive the tokens.

However, "targetToken" might be traded against "finalTargetToken", in such case, to receive "targetToken", the caller needs to send "finalTargetToken" to the contract.
{% endhint %}

### **Function Arguments**

<table><thead><tr><th width="162">Name</th><th width="114.66666666666663">Type</th><th>Description</th></tr></thead><tbody><tr><td>token</td><td>Token</td><td>The token address of the token you would like to trade out of the contract. </td></tr></tbody></table>

### Example

{% code overflow="wrap" %}

```solidity
tradingEnabled(
0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 //token address
)
returns (
true/false //true indicates that trading is enable for this token
)
```

{% endcode %}

{% hint style="info" %}
To trade directly with the ETH token, use the contract address: *0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE*&#x20;
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.carbondefi.xyz/contracts-and-functions/carbonvortex-functions/read-functions/tradingenabled.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
