Resolver console
curl --request GET \
--url https://relay-production-f175.up.railway.app/v1/resolvers/{address}import requests
url = "https://relay-production-f175.up.railway.app/v1/resolvers/{address}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://relay-production-f175.up.railway.app/v1/resolvers/{address}', 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/resolvers/{address}",
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/resolvers/{address}"
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/resolvers/{address}")
.asString();require 'uri'
require 'net/http'
url = URI("https://relay-production-f175.up.railway.app/v1/resolvers/{address}")
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{
"resolver": {},
"live": {},
"counts": {},
"reasons24h": [
{}
],
"recent": [
{}
],
"fills": [
{}
],
"thresholds": {}
}Resolvers
Resolver console
One resolver’s standing, counts, decline reasons, recent RFQs and fills. What the web console shows.
GET
/
v1
/
resolvers
/
{address}
Resolver console
curl --request GET \
--url https://relay-production-f175.up.railway.app/v1/resolvers/{address}import requests
url = "https://relay-production-f175.up.railway.app/v1/resolvers/{address}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://relay-production-f175.up.railway.app/v1/resolvers/{address}', 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/resolvers/{address}",
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/resolvers/{address}"
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/resolvers/{address}")
.asString();require 'uri'
require 'net/http'
url = URI("https://relay-production-f175.up.railway.app/v1/resolvers/{address}")
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{
"resolver": {},
"live": {},
"counts": {},
"reasons24h": [
{}
],
"recent": [
{}
],
"fills": [
{}
],
"thresholds": {}
}address
required
object
The directory entry, as in Resolver directory.
object | null
The node’s last heartbeat, as in Connected nodes, or null when offline.
object
{ day, week }, each { rfqs, replied, offered, valid, won, settled, resolverFailures } over 24 hours and 7 days.object[]
{ reason, count } per decline reason over the last day.object[]
The last 50 RFQs:
{ rfqId, status, reason, rank, latencyMs, inputAmount, outputAmount, at }.object[]
The last 20:
{ txHash, orderHash, block, blockTime, confirmed }.object
The demotion rules:
{ revertRate: 0.25, minReverts: 2, durationMs: 3600000, floor: 0.5, floorMinRfqs: 20 }.400 invalid_address, 404 not_found for an address that never registered.
