Skip to main content
GET
/
v1
/
info
Get domain information
curl --request GET \
  --url https://xreserve-api-testnet.circle.com/v1/info
import requests

url = "https://xreserve-api-testnet.circle.com/v1/info"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://xreserve-api-testnet.circle.com/v1/info', 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://xreserve-api-testnet.circle.com/v1/info",
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://xreserve-api-testnet.circle.com/v1/info"

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://xreserve-api-testnet.circle.com/v1/info")
.asString();
require 'uri'
require 'net/http'

url = URI("https://xreserve-api-testnet.circle.com/v1/info")

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
{
  "sourceDomains": [
    {
      "chain": "Ethereum",
      "network": "Sepolia",
      "domain": 0,
      "contractAddress": "0x1234567890123456789012345678901234567890",
      "tokens": [
        "USDC"
      ]
    }
  ],
  "remoteDomains": [
    {
      "chain": "Ethereum",
      "network": "Mainnet",
      "domain": 0,
      "tokens": [
        {
          "remoteToken": "USDCx",
          "remoteTokenIdentifier": "0xb5c6b65f13c0c3b4bbf572ec78e63b262bd386c1",
          "associatedNativeToken": "USDC"
        }
      ]
    }
  ]
}
{
"success": false,
"message": "Error message"
}

Response

Successfully retrieved xReserve network information.

Contains source and remote domain data.

sourceDomains
object[]
required

List of source domains.

remoteDomains
object[]
required

List of remote domains.