> For the complete documentation index, see [llms.txt](https://sdk.venly.io/sdk-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdk.venly.io/sdk-reference/ts-js-v3/function-references/wallet/token-swapping/gettraidingpairs.md).

# getTraidingPairs

### Description

This endpoint gets all the possible token pairs that can be swapped based on the blockchain of the wallet.

{% code overflow="wrap" %}

```javascript
public getTraidingPairs(id: string) : VyPromise<VyTradingPairDto[]>
```

{% endcode %}

{% tabs %}
{% tab title="Details" %}
**Parameters**

| id | string | This is the wallet \`ID\`. The \*\*SWAP\*\* pairs will be displayed based on the blockchain of this wallet. |
| -- | ------ | ----------------------------------------------------------------------------------------------------------- |

**Returns**

VyPromise<[VyTradingPairDto](/sdk-reference/ts-js-v3/object-references/wallet/vytradingpairdto.md)\[]>\
Token pairs retrieved successfully.
{% endtab %}
{% endtabs %}
