destinationsList

Returns all possible exchange destinations

GET /trades/destinationsList

Headers

Name
Value

Content-Type

application/json

Y_API_KEY

Public API Key

Response

```json
{
    "payin": [
      {
        "currency": "VERSE",
        "network": "ERC20",
        "limit": {
          "min_amount": 2500,
          "max_amount": 10000000
        }
      },
      {
        "currency": "DAI",
        "network": "ERC20",
        "limit": {
          "min_amount": 1,
          "max_amount": 10000000
        }
      },
      {
        "currency": "DAI",
        "network": "POLYGON",
        "limit": {
          "min_amount": 1,
          "max_amount": 10000000
        }
      },
      {
        "currency": "DAI",
        "network": "BEP20",
        "limit": {
          "min_amount": 1,
          "max_amount": 10000000
        }
      },
      {
        "currency": "ETH",
        "network": "BEP20",
        "limit": {
          "min_amount": 0.01,
          "max_amount": 10000000
        }
      },
      {
        "currency": "ETH",
        "network": "ARBITRUM",
        "limit": {
          "min_amount": 0.01,
          "max_amount": 1000000
        }
      },
      {
        "currency": "ETH",
        "network": "ERC20",
        "limit": {
          "min_amount": 0.001,
          "max_amount": 1000
        }
      }
      ...
    ],
    "payout": [
      {
        "currency": "USDC",
        "network": "BEP20",
        "limit": {
          "min_amount": 1,
          "max_amount": 10000000
        },
        "commission": {
          "fee_amount": 0.3
        }
      },
      {
        "currency": "USDC",
        "network": "POLYGON",
        "limit": {
          "min_amount": 0.5,
          "max_amount": 10000000
        },
        "commission": {
          "fee_amount": 0.01
        }
      },
      {
        "currency": "USDC",
        "network": "ARBITRUM",
        "limit": {
          "min_amount": 1,
          "max_amount": 1000000
        },
        "commission": {
          "fee_amount": 0.5
        }
      },
      {
        "currency": "USDC",
        "network": "ERC20",
        "limit": {
          "min_amount": 10,
          "max_amount": 10000000
        },
        "commission": {
          "fee_amount": 3.06
        }
      },
      {
        "currency": "USDC",
        "network": "AVALANCHE",
        "limit": {
          "min_amount": 1,
          "max_amount": 1000000
        },
        "commission": {
          "fee_amount": 0.01
        }
      },
      {
        "currency": "DAI",
        "network": "BEP20",
        "limit": {
          "min_amount": 1,
          "max_amount": 10000000
        },
        "commission": {
          "fee_amount": 0.3
        }
      },
      {
        "currency": "DAI",
        "network": "ERC20",
        "limit": {
          "min_amount": 10,
          "max_amount": 10000000
        },
        "commission": {
          "fee_amount": 3.06
        }
      },
      {
        "currency": "DAI",
        "network": "POLYGON",
        "limit": {
          "min_amount": 1,
          "max_amount": 10000000
        },
        "commission": {
          "fee_amount": 0.5
        }
      },
      {
        "currency": "BNB",
        "network": "BEP20",
        "limit": {
          "min_amount": 0.005,
          "max_amount": 1000000
        },
        "commission": {
          "fee_amount": 0.0002
        }
      }
      ...
    ]
  }
```

Example

const options = {
  method: 'GET',
  headers: {'Content-Type': 'application/json', Y_API_KEY: 'Your API Key'},
  body: 'false'
};

fetch('https://api.yellowchanger.com/trades/destinationsList', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));

Last updated