A chain's payout queues
curl --request GET \
--url https://mpc.hex-api.app/relay/queue/{chain}import requests
url = "https://mpc.hex-api.app/relay/queue/{chain}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://mpc.hex-api.app/relay/queue/{chain}', 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/relay/queue/{chain}",
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/relay/queue/{chain}"
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/relay/queue/{chain}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mpc.hex-api.app/relay/queue/{chain}")
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{
"shards": [
{
"alarm": 1792944184000,
"now": 1792944180000,
"queue": [
{
"id": "b55dd9d2-a1bd-48fb-b8d6-6e91aa21433b",
"origin": "refuel",
"chain_id": 1100,
"receiver": "1114wxgAxsZMgcitQaVJLFGp4U8ZgJTtC6wgFMt2pu4tEXU1bzbfMaiEDiw",
"status": "running",
"pending": 1,
"steps": [],
"detail": "payment of 1792944123000000004211 is not at latest - 1 yet",
"created_at": 1792944172000,
"updated_at": 1792944180000,
"attempts": 0,
"waits": 2
}
]
}
]
}
Relay
A chain's payout queues
Every payout queue of the chain (one per shard: 8 on EVM chains paid through the smart wallet, 1 elsewhere): its length, and its first 20 queued or running jobs with their attempts and waits. For operators and debugging. A chain the relay does not pay out on is a 400.
GET
/
relay
/
queue
/
{chain}
A chain's payout queues
curl --request GET \
--url https://mpc.hex-api.app/relay/queue/{chain}import requests
url = "https://mpc.hex-api.app/relay/queue/{chain}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://mpc.hex-api.app/relay/queue/{chain}', 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/relay/queue/{chain}",
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/relay/queue/{chain}"
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/relay/queue/{chain}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mpc.hex-api.app/relay/queue/{chain}")
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{
"shards": [
{
"alarm": 1792944184000,
"now": 1792944180000,
"queue": [
{
"id": "b55dd9d2-a1bd-48fb-b8d6-6e91aa21433b",
"origin": "refuel",
"chain_id": 1100,
"receiver": "1114wxgAxsZMgcitQaVJLFGp4U8ZgJTtC6wgFMt2pu4tEXU1bzbfMaiEDiw",
"status": "running",
"pending": 1,
"steps": [],
"detail": "payment of 1792944123000000004211 is not at latest - 1 yet",
"created_at": 1792944172000,
"updated_at": 1792944180000,
"attempts": 0,
"waits": 2
}
]
}
]
}