# 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](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/wallet/vytradingpairdto)\[]>\
Token pairs retrieved successfully.
{% endtab %}
{% endtabs %}
