Check perp process status
curl --request GET \
--url https://demo-api.mobula.io/api/2/perp/check-processimport requests
url = "https://demo-api.mobula.io/api/2/perp/check-process"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://demo-api.mobula.io/api/2/perp/check-process', 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://demo-api.mobula.io/api/2/perp/check-process",
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://demo-api.mobula.io/api/2/perp/check-process"
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://demo-api.mobula.io/api/2/perp/check-process")
.asString();require 'uri'
require 'net/http'
url = URI("https://demo-api.mobula.io/api/2/perp/check-process")
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{
"processId": "<string>",
"status": "<string>",
"message": "<string>",
"errorMessage": "<string>"
}Check Perp Process
Poll the status of a long-running perpetual action (typically a deposit) started by /2/perp/execute-v2.
GET
/
2
/
perp
/
check-process
Check perp process status
curl --request GET \
--url https://demo-api.mobula.io/api/2/perp/check-processimport requests
url = "https://demo-api.mobula.io/api/2/perp/check-process"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://demo-api.mobula.io/api/2/perp/check-process', 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://demo-api.mobula.io/api/2/perp/check-process",
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://demo-api.mobula.io/api/2/perp/check-process"
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://demo-api.mobula.io/api/2/perp/check-process")
.asString();require 'uri'
require 'net/http'
url = URI("https://demo-api.mobula.io/api/2/perp/check-process")
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{
"processId": "<string>",
"status": "<string>",
"message": "<string>",
"errorMessage": "<string>"
}Some actions submitted to
/2/perp/execute-v2 are asynchronous — the most common case is deposit on Lighter, which must observe the underlying bridge/settlement before the user’s margin is usable. When the execute-v2 response includes a processId, poll this endpoint until the process reports a terminal status.
Query Parameters
string
required
UUID returned by
/2/perp/execute-v2 in data.processId.Response
Unwrapped body. Unlike every other perp route (
{ data: { ... } }), this endpoint returns the fields below at the top level — there is no data envelope. Parse defensively if your client assumes the wrapped shape.{
"processId": "0c1f6f24-…",
"status": "settled",
"message": "deposit settled on L2"
}
string
UUID of the tracked process.
string
Process status reported by the execution engine (e.g.,
pending, settled, failed). Terminal values depend on the action; clients should treat any non-pending value as final.string
Human-readable status message.
string
Error detail, present only when the process failed.
Errors
| Status | message |
|---|---|
| 404 | Process not found or tracking disabled — unknown processId, or the instance has process tracking disabled |