# Platforms List
GET /v1/platforms method allows to retrieve paginated list of all the platforms supported by WX Network deposit/withdrawal.
You can also specify a platform ID in the GET /v1/platforms/{id} request to retrieve the data about a particular platform.
# GET /v1/platforms
Request parameters (optional):
Parameter | Data type | Default Value | Description |
---|---|---|---|
limit | uint16 | 100 | [1, 100] valid interval. Sets max number of records in the response |
after | string | - | value from the page_info.last_cursor field from the previous page response |
Request example:
GET /v1/platforms?limit=20&after=0q9nufaownuf09msufi09asmpofikap
Successful response:
Code : 200 OK
Response format (GET /v1/platforms):
{
type: "list",
page_info: {
has_next_page: boolean,
last_cursor: string,
},
items: [
{
type: platform,
id: string,
name: string,
currencies: string[],
}
],
}
Response example (GET /v1/platforms):
{
"type": "list",
"page_info": {
"has_next_page": false,
"last_cursor": null
},
"items": [
{
"type": "platform",
"id": "ETH",
"name": "Ethereum",
"currencies": [
"BAG",
"BNT",
"CRV",
"ETH",
"FL",
"NSBT",
"USDC",
"USDFL",
"USDN",
"USDT",
"WAVES"
]
},
{
"type": "platform",
"id": "BTC",
"name": "Bitcoin",
"currencies": [
"BTC"
]
},
{
"type": "platform",
"id": "BSC",
"name": "Binance Smart Chain",
"currencies": [
"USDN"
]
}
]
}
# GET /v1/platforms/{id}
This method retrieves the data about a platform by ID.
Successful response:
Code : 200 OK
Response format (GET /v1/platforms/{id}):
{
type: "platform",
id: string,
name: string,
currencies: string[],
}
Response example (GET /v1/platforms/ETH):
{
"type": "platform",
"id": "ETH",
"name": "Ethereum",
"currencies": [
"BAG",
"BNT",
"CRV",
"ETH",
"FL",
"NSBT",
"USDC",
"USDFL",
"USDN",
"USDT",
"WAVES"
]
}