Instant exchange API
Retrieve Currency Networks
GET:
https://api.pegasusswap.com/api/private/get-coin-network
This API endpoint provides the networks associated with a specific currency code.
Parameters:
Name | Type | Required or optional | Description |
---|---|---|---|
coin | string | required | Currency code (Coin sub name) |
Successful response fields:
Name | Type | Description |
---|---|---|
deposit | array | List with deposit networks |
withdraws | array | List with withdraws networks |
subName | string | Sub name network |
Example request:
GET:
https://api.pegasusswap.com/api/private/get-coin-network?coin=eth
Example response:
{
"deposit": [
{
"subName": "ERC20"
}
],
"withdraws": [
{
"subName": "ERC20"
}
]
}