Corridors
curl --request GET \
--url https://relay-production-f175.up.railway.app/v1/corridorsimport requests
url = "https://relay-production-f175.up.railway.app/v1/corridors"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://relay-production-f175.up.railway.app/v1/corridors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://relay-production-f175.up.railway.app/v1/corridors",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://relay-production-f175.up.railway.app/v1/corridors"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://relay-production-f175.up.railway.app/v1/corridors")
.asString();require 'uri'
require 'net/http'
url = URI("https://relay-production-f175.up.railway.app/v1/corridors")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"corridors": [
{
"chainId": 84532, "chain": "Base Sepolia",
"base": { "symbol": "cNGN", "address": "0xe2387F04d3858e7Cb64Ef5Ed6617f9B2fcEEAfa2", "decimals": 6, "minimum": "1000000000" },
"quote": { "symbol": "USDC", "address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e", "decimals": 6, "minimum": "1000000" },
"fee": { "feeToken": "0x036CbD53842c5426634e7929541eC2318f3dCF7e", "bps": 5 },
"band": { "base": "cNGN", "quote": "USDC", "mid": 1612.4, "low": 1598.1, "high": 1627.9, "sources": 5, "at": 1757750400123 },
"resolversOnline": 2
},
{
"chainId": 103, "chain": "Solana devnet",
"base": { "symbol": "cNGN", "address": "6RFnYruxidpR1m9L91bs8cZKjmigEpxXB2Wv2rR8m2pu", "tokenProgram": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb", "decimals": 6, "minimum": "1000000000" },
"quote": { "symbol": "USDT", "address": "An2RV3ZgsyXspuWLY2TgmjwR5UY1iYNgymrsLCTaPpCN", "tokenProgram": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", "decimals": 6, "minimum": "1000000" },
"fee": { "feeToken": "An2RV3ZgsyXspuWLY2TgmjwR5UY1iYNgymrsLCTaPpCN", "bps": 5 },
"band": null,
"resolversOnline": 1
}
]
}
Network
Corridors
Every pair the relay quotes, with its minimums, fee, reference band and resolvers online.
GET
/
v1
/
corridors
Corridors
curl --request GET \
--url https://relay-production-f175.up.railway.app/v1/corridorsimport requests
url = "https://relay-production-f175.up.railway.app/v1/corridors"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://relay-production-f175.up.railway.app/v1/corridors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://relay-production-f175.up.railway.app/v1/corridors",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://relay-production-f175.up.railway.app/v1/corridors"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://relay-production-f175.up.railway.app/v1/corridors")
.asString();require 'uri'
require 'net/http'
url = URI("https://relay-production-f175.up.railway.app/v1/corridors")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"corridors": [
{
"chainId": 84532, "chain": "Base Sepolia",
"base": { "symbol": "cNGN", "address": "0xe2387F04d3858e7Cb64Ef5Ed6617f9B2fcEEAfa2", "decimals": 6, "minimum": "1000000000" },
"quote": { "symbol": "USDC", "address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e", "decimals": 6, "minimum": "1000000" },
"fee": { "feeToken": "0x036CbD53842c5426634e7929541eC2318f3dCF7e", "bps": 5 },
"band": { "base": "cNGN", "quote": "USDC", "mid": 1612.4, "low": 1598.1, "high": 1627.9, "sources": 5, "at": 1757750400123 },
"resolversOnline": 2
},
{
"chainId": 103, "chain": "Solana devnet",
"base": { "symbol": "cNGN", "address": "6RFnYruxidpR1m9L91bs8cZKjmigEpxXB2Wv2rR8m2pu", "tokenProgram": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb", "decimals": 6, "minimum": "1000000000" },
"quote": { "symbol": "USDT", "address": "An2RV3ZgsyXspuWLY2TgmjwR5UY1iYNgymrsLCTaPpCN", "tokenProgram": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", "decimals": 6, "minimum": "1000000" },
"fee": { "feeToken": "An2RV3ZgsyXspuWLY2TgmjwR5UY1iYNgymrsLCTaPpCN", "bps": 5 },
"band": null,
"resolversOnline": 1
}
]
}
object[]
Show Corridor
Show Corridor
number
string
object
{ symbol, address, decimals, minimum }, plus tokenProgram on Solana.object
Same shape.
object | null
{ feeToken, bps } as the fee controller reports it (EVM) or as configured (Solana).object | null
{ base, quote, mid, low, high, sources, at }: the oracle band for this pair, or null.number
Nodes quoting this pair right now.
{
"corridors": [
{
"chainId": 84532, "chain": "Base Sepolia",
"base": { "symbol": "cNGN", "address": "0xe2387F04d3858e7Cb64Ef5Ed6617f9B2fcEEAfa2", "decimals": 6, "minimum": "1000000000" },
"quote": { "symbol": "USDC", "address": "0x036CbD53842c5426634e7929541eC2318f3dCF7e", "decimals": 6, "minimum": "1000000" },
"fee": { "feeToken": "0x036CbD53842c5426634e7929541eC2318f3dCF7e", "bps": 5 },
"band": { "base": "cNGN", "quote": "USDC", "mid": 1612.4, "low": 1598.1, "high": 1627.9, "sources": 5, "at": 1757750400123 },
"resolversOnline": 2
},
{
"chainId": 103, "chain": "Solana devnet",
"base": { "symbol": "cNGN", "address": "6RFnYruxidpR1m9L91bs8cZKjmigEpxXB2Wv2rR8m2pu", "tokenProgram": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb", "decimals": 6, "minimum": "1000000000" },
"quote": { "symbol": "USDT", "address": "An2RV3ZgsyXspuWLY2TgmjwR5UY1iYNgymrsLCTaPpCN", "tokenProgram": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", "decimals": 6, "minimum": "1000000" },
"fee": { "feeToken": "An2RV3ZgsyXspuWLY2TgmjwR5UY1iYNgymrsLCTaPpCN", "bps": 5 },
"band": null,
"resolversOnline": 1
}
]
}

