Pairs
GET/pairs
Returns the minimum and maximum deposit amount and the rate for every possible pair of coins listed in the query string.
Request
Query Parameters
pairs stringrequired
btc-mainnet,usdc-bsc,bch,eth
Responses
- 200
- 500
OK
- application/json
- Schema
- Example
Schema
Array [
]
depositCoin stringrequired
settleCoin stringrequired
depositNetwork stringrequired
settleNetwork stringrequired
min stringrequired
max stringrequired
rate stringrequired
[
{
"depositCoin": "BTC",
"settleCoin": "ETH",
"depositNetwork": "bitcoin",
"settleNetwork": "ethereum",
"min": "0.00010753",
"max": "1.43368044",
"rate": "17.291251441744"
},
{
"depositCoin": "ETH",
"settleCoin": "BTC",
"depositNetwork": "ethereum",
"settleNetwork": "bitcoin",
"min": "0.013802779514",
"max": "25.27981596",
"rate": "0.055429074413"
}
]
Internal Server Error
- application/json
- Schema
- Examples
Schema
error object
message stringrequired
{
"error": {
"message": "Rate unavailable"
}
}
{
"error": {
"message": "Duplicate coin"
}
}
{
"error": {
"message": "Invalid coin"
}
}
{
"error": {
"message": "Invalid network"
}
}
Loading...