curl --request GET \
--url https://core.api.dev.predictstreet.sde.adifoundation.ai/api/platform/contractsimport requests
url = "https://core.api.dev.predictstreet.sde.adifoundation.ai/api/platform/contracts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://core.api.dev.predictstreet.sde.adifoundation.ai/api/platform/contracts', 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.dev.predictstreet.sde.adifoundation.ai/api/platform/contracts",
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.dev.predictstreet.sde.adifoundation.ai/api/platform/contracts"
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.dev.predictstreet.sde.adifoundation.ai/api/platform/contracts")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.api.dev.predictstreet.sde.adifoundation.ai/api/platform/contracts")
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{
"chainId": 99999,
"rpcUrl": "https://rpc.ab.testnet.adifoundation.ai/",
"vaultFactory": "<string>",
"usdc": "<string>",
"wrappedCollateral": "<string>",
"ctfExchange": "<string>",
"ctfExchangeNegRisk": "<string>",
"negRiskAdapter": "<string>",
"conditionalTokens": "<string>",
"depositLimitRegistry": "<string>",
"depositLimitRegistryProxy": "<string>",
"oracle": "<string>",
"negRiskOracle": "<string>",
"multicallExecutor": "<string>",
"usdcEip712": {
"name": "USD Coin",
"version": "2"
},
"ccipBridge": {
"destChainSelector": "<string>"
},
"generatedAt": "2023-11-07T05:31:56Z",
"vaultFactoryGen2": "<string>",
"ctfExchangeGen2": "<string>",
"ctfExchangeNegRiskGen2": "<string>",
"negRiskAdapterGen2": "<string>",
"negRiskOracleGen2": "<string>"
}{
"status": 404,
"error": {
"code": "<string>",
"message": "<string>",
"trace_id": "<string>",
"retryAfterSec": 123,
"retryable": true,
"details": {}
}
}{
"status": 404,
"error": {
"code": "<string>",
"message": "<string>",
"trace_id": "<string>",
"retryAfterSec": 123,
"retryable": true,
"details": {}
}
}Get contract addresses
Contract addresses and chain settings for the environment this API serves: the chain id and a public RPC URL, the two exchanges you sign orders against (ctfExchange for binary markets, ctfExchangeNegRisk for neg-risk markets), the USDC collateral token and its EIP-712 permit domain, the vault factory, the outcome-token contract, both oracles, and the executor you name as spender in a gasless-deposit permit. The values come from the live deployment’s configuration, so read them at startup instead of hardcoding addresses. See Environments for a sample response and Addresses for the per-environment table.
Public, no authentication. Rate limit: 60 requests per minute per IP, on top of the 600 per minute per IP that contracts and fee-config share (status and notices moved to buckets of their own, behind a partner API key, on 2026-10-13). Cacheable for 30 seconds.
curl --request GET \
--url https://core.api.dev.predictstreet.sde.adifoundation.ai/api/platform/contractsimport requests
url = "https://core.api.dev.predictstreet.sde.adifoundation.ai/api/platform/contracts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://core.api.dev.predictstreet.sde.adifoundation.ai/api/platform/contracts', 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.dev.predictstreet.sde.adifoundation.ai/api/platform/contracts",
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.dev.predictstreet.sde.adifoundation.ai/api/platform/contracts"
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.dev.predictstreet.sde.adifoundation.ai/api/platform/contracts")
.asString();require 'uri'
require 'net/http'
url = URI("https://core.api.dev.predictstreet.sde.adifoundation.ai/api/platform/contracts")
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{
"chainId": 99999,
"rpcUrl": "https://rpc.ab.testnet.adifoundation.ai/",
"vaultFactory": "<string>",
"usdc": "<string>",
"wrappedCollateral": "<string>",
"ctfExchange": "<string>",
"ctfExchangeNegRisk": "<string>",
"negRiskAdapter": "<string>",
"conditionalTokens": "<string>",
"depositLimitRegistry": "<string>",
"depositLimitRegistryProxy": "<string>",
"oracle": "<string>",
"negRiskOracle": "<string>",
"multicallExecutor": "<string>",
"usdcEip712": {
"name": "USD Coin",
"version": "2"
},
"ccipBridge": {
"destChainSelector": "<string>"
},
"generatedAt": "2023-11-07T05:31:56Z",
"vaultFactoryGen2": "<string>",
"ctfExchangeGen2": "<string>",
"ctfExchangeNegRiskGen2": "<string>",
"negRiskAdapterGen2": "<string>",
"negRiskOracleGen2": "<string>"
}{
"status": 404,
"error": {
"code": "<string>",
"message": "<string>",
"trace_id": "<string>",
"retryAfterSec": 123,
"retryable": true,
"details": {}
}
}{
"status": 404,
"error": {
"code": "<string>",
"message": "<string>",
"trace_id": "<string>",
"retryAfterSec": 123,
"retryable": true,
"details": {}
}
}Response
OK
Contract addresses and chain settings for this environment. Every address is a 0x-prefixed 20-byte hex string.
NegRiskAdapter — multi-outcome (neg-risk) support on top of ConditionalTokens. See NegRiskAdapter.
Executor contract for gasless deposits. Name it as the spender of the USDC EIP-2612 Permit you sign for POST /api/deposits/relay — not the account that pays the gas. The relay rebuilds the permit with this spender, so a permit signed for any other spender is refused as permit_signer_mismatch.
ISO-8601. While usdcEip712 is set, the time the answering server instance started, so repeated reads served by the same instance match and a conditional request (If-None-Match) can be answered 304 Not Modified; while usdcEip712 is null, the time of this response. Not a deploy timestamp and not a freshness signal: compare the addresses between reads to detect a redeploy.
Generation-2 (post-audit) VaultFactory, lower-cased 0x-hex — .vaultOf(signer) returns the user's generation-2 vault, the only maker accepted on ctfExchangeGen2 / ctfExchangeNegRiskGen2. .vaultOf(signer) returns the zero address until that vault is deployed (the generation-2 vault migration, POST /api/me/vault/upgrade, or a new user created on generation 2). Null until configured.