Poll the status of a gasless redeem
curl --request GET \
--url https://core-api.adipredictstreet.com/api/me/positions/redeem/{jobId}import requests
url = "https://core-api.adipredictstreet.com/api/me/positions/redeem/{jobId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://core-api.adipredictstreet.com/api/me/positions/redeem/{jobId}', 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://core-api.adipredictstreet.com/api/me/positions/redeem/{jobId}",
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://core-api.adipredictstreet.com/api/me/positions/redeem/{jobId}"
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://core-api.adipredictstreet.com/api/me/positions/redeem/{jobId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://core-api.adipredictstreet.com/api/me/positions/redeem/{jobId}")
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{
"jobId": "<string>",
"status": "<string>",
"txHash": "<string>",
"submittedAt": "<string>",
"confirmedAt": "<string>",
"lastError": "<string>"
}Portfolio
Poll the status of a gasless redeem
Owner-scoped projection of the redeem_positions submitter job: pending → building → submitted → confirmed (or failed_permanent / expired). Returns 404 for an unknown id, a non-redeem job, or a job owned by another wallet (anti-enumeration).
GET
/
api
/
me
/
positions
/
redeem
/
{jobId}
Poll the status of a gasless redeem
curl --request GET \
--url https://core-api.adipredictstreet.com/api/me/positions/redeem/{jobId}import requests
url = "https://core-api.adipredictstreet.com/api/me/positions/redeem/{jobId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://core-api.adipredictstreet.com/api/me/positions/redeem/{jobId}', 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://core-api.adipredictstreet.com/api/me/positions/redeem/{jobId}",
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://core-api.adipredictstreet.com/api/me/positions/redeem/{jobId}"
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://core-api.adipredictstreet.com/api/me/positions/redeem/{jobId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://core-api.adipredictstreet.com/api/me/positions/redeem/{jobId}")
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{
"jobId": "<string>",
"status": "<string>",
"txHash": "<string>",
"submittedAt": "<string>",
"confirmedAt": "<string>",
"lastError": "<string>"
}Path Parameters
Job id returned by the redeem call.
Response
Current job status.
Submitter job id (decimal string).
Job status: pending | building | submitted | confirmed | failed_permanent | expired.
On-chain hash once broadcast.
ISO-8601 broadcast timestamp (when the submitter sent the tx).
ISO-8601 confirmation timestamp (receipt observed on-chain).
Last submitter error (populated on failed_permanent / retries).