curl --request GET \
--url https://mpc.hex-api.app/bridge/monitorimport requests
url = "https://mpc.hex-api.app/bridge/monitor"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://mpc.hex-api.app/bridge/monitor', 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://mpc.hex-api.app/bridge/monitor",
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://mpc.hex-api.app/bridge/monitor"
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://mpc.hex-api.app/bridge/monitor")
.asString();require 'uri'
require 'net/http'
url = URI("https://mpc.hex-api.app/bridge/monitor")
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{
"now": 1792944180000,
"window_s": 86400,
"stuck_after_s": {
"deposit": 900,
"withdrawal": 600
},
"backlog_after_s": 86400,
"sources": {
"hot_sweep": 1792944150000,
"oneclick": 1792944160000,
"oneclick_enabled": true
},
"totals": {
"deposit": {
"done": 42,
"oneclick": 30,
"usd": 18250.4,
"pending": 1,
"stuck": 0,
"backlog": 0,
"refund": 0,
"failed": 0,
"p50_s": 95,
"p90_s": 240,
"samples": 38,
"oldest_s": 60
},
"withdrawal": {
"done": 17,
"oneclick": 9,
"usd": 6100,
"pending": 2,
"stuck": 1,
"backlog": 0,
"refund": 0,
"failed": 0,
"p50_s": 120,
"p90_s": 600,
"samples": 15,
"oldest_s": 900
}
},
"chains": [
{
"chain": "1100",
"name": "Stellar",
"deposit": {
"done": 42,
"oneclick": 30,
"usd": 18250.4,
"pending": 1,
"stuck": 0,
"backlog": 0,
"refund": 0,
"failed": 0,
"p50_s": 95,
"p90_s": 240,
"samples": 38,
"oldest_s": 60
},
"withdrawal": {
"done": 17,
"oneclick": 9,
"usd": 6100,
"pending": 2,
"stuck": 1,
"backlog": 0,
"refund": 0,
"failed": 0,
"p50_s": 120,
"p90_s": 600,
"samples": 15,
"oldest_s": 900
},
"health": "slow"
}
],
"items": [
{
"source": "hot",
"direction": "withdrawal",
"chain": "1100",
"id": "1792944123000000004211",
"state": "pending",
"triage": "stuck",
"status": "running",
"created_at": 1792943280000,
"age_s": 900,
"amount": "2.5 USDC",
"receiver": "GDJ4JZXZELZD737NVFORH4PSSQDWFDZTKW3AIDKHYQG23ZXBPDGGQBJK",
"txs": [
{
"kind": "near",
"hash": "2rQmS4n4TxT7GJ26XLDDZEHEmsizLb1ezGC81zr8dpkR",
"url": "https://nearblocks.io/txns/2rQmS4n4TxT7GJ26XLDDZEHEmsizLb1ezGC81zr8dpkR"
}
],
"detail": "payment of 1792944123000000004211 is not at latest - 1 yet"
}
],
"series": [
{
"t": 1792940580000,
"deposit": {
"done": 3,
"oneclick": 2,
"failed": 0,
"p50_s": 90,
"usd": 1200
},
"withdrawal": {
"done": 1,
"oneclick": 0,
"failed": 0,
"p50_s": 130,
"usd": null
}
}
]
}Every bridge's health over 24 hours
The HOT bridge’s deposits and withdrawals by chain over a 24-hour window, both kit’s direct transfers and 1Click’s legs over the HOT bridge (referral intents.tg): what finished and how long it took (p50, p90), what is in flight, stuck, in the old backlog or refund-only, what failed, an hourly trend, and the stuck and failed transfers themselves. Feeds HEX’s /bridges page.
What is in flight is split by what it needs (triage): the live flow (in flight for less than the window; stuck past stuck_after_s), the backlog (in flight longer than the window, still payable) and refund-only withdrawals that no payout can land (to the token contract, to the zero address, Stellar nonces past 60 days). A chain’s health is the live flow’s. A chain with error_kind: "read" has its withdrawals in flight unknown, not zero. Without the database it answers an empty picture.
curl --request GET \
--url https://mpc.hex-api.app/bridge/monitorimport requests
url = "https://mpc.hex-api.app/bridge/monitor"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://mpc.hex-api.app/bridge/monitor', 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://mpc.hex-api.app/bridge/monitor",
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://mpc.hex-api.app/bridge/monitor"
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://mpc.hex-api.app/bridge/monitor")
.asString();require 'uri'
require 'net/http'
url = URI("https://mpc.hex-api.app/bridge/monitor")
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{
"now": 1792944180000,
"window_s": 86400,
"stuck_after_s": {
"deposit": 900,
"withdrawal": 600
},
"backlog_after_s": 86400,
"sources": {
"hot_sweep": 1792944150000,
"oneclick": 1792944160000,
"oneclick_enabled": true
},
"totals": {
"deposit": {
"done": 42,
"oneclick": 30,
"usd": 18250.4,
"pending": 1,
"stuck": 0,
"backlog": 0,
"refund": 0,
"failed": 0,
"p50_s": 95,
"p90_s": 240,
"samples": 38,
"oldest_s": 60
},
"withdrawal": {
"done": 17,
"oneclick": 9,
"usd": 6100,
"pending": 2,
"stuck": 1,
"backlog": 0,
"refund": 0,
"failed": 0,
"p50_s": 120,
"p90_s": 600,
"samples": 15,
"oldest_s": 900
}
},
"chains": [
{
"chain": "1100",
"name": "Stellar",
"deposit": {
"done": 42,
"oneclick": 30,
"usd": 18250.4,
"pending": 1,
"stuck": 0,
"backlog": 0,
"refund": 0,
"failed": 0,
"p50_s": 95,
"p90_s": 240,
"samples": 38,
"oldest_s": 60
},
"withdrawal": {
"done": 17,
"oneclick": 9,
"usd": 6100,
"pending": 2,
"stuck": 1,
"backlog": 0,
"refund": 0,
"failed": 0,
"p50_s": 120,
"p90_s": 600,
"samples": 15,
"oldest_s": 900
},
"health": "slow"
}
],
"items": [
{
"source": "hot",
"direction": "withdrawal",
"chain": "1100",
"id": "1792944123000000004211",
"state": "pending",
"triage": "stuck",
"status": "running",
"created_at": 1792943280000,
"age_s": 900,
"amount": "2.5 USDC",
"receiver": "GDJ4JZXZELZD737NVFORH4PSSQDWFDZTKW3AIDKHYQG23ZXBPDGGQBJK",
"txs": [
{
"kind": "near",
"hash": "2rQmS4n4TxT7GJ26XLDDZEHEmsizLb1ezGC81zr8dpkR",
"url": "https://nearblocks.io/txns/2rQmS4n4TxT7GJ26XLDDZEHEmsizLb1ezGC81zr8dpkR"
}
],
"detail": "payment of 1792944123000000004211 is not at latest - 1 yet"
}
],
"series": [
{
"t": 1792940580000,
"deposit": {
"done": 3,
"oneclick": 2,
"failed": 0,
"p50_s": 90,
"usd": 1200
},
"withdrawal": {
"done": 1,
"oneclick": 0,
"failed": 0,
"p50_s": 130,
"usd": null
}
}
]
}Response
The monitor.