curl --request GET \
--url https://public-test.blips.network/sandbox/lightning-execution-profile \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://public-test.blips.network/sandbox/lightning-execution-profile"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://public-test.blips.network/sandbox/lightning-execution-profile', 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://public-test.blips.network/sandbox/lightning-execution-profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$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://public-test.blips.network/sandbox/lightning-execution-profile"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://public-test.blips.network/sandbox/lightning-execution-profile")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-test.blips.network/sandbox/lightning-execution-profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"btcFiatSpreadBps": 10,
"lockPriceDurationSeconds": 300
}{
"error_code": "INVALID_PLATFORM_ID",
"message": "X-Platform-Id must be a UUIDv4 value"
}{
"error_code": "UNAUTHORIZED",
"message": "Unauthorized"
}{
"error_code": "PLATFORM_NOT_FOUND",
"message": "Platform not found"
}Get sandbox Lightning execution profile
Read the platform-scoped Sandbox Lightning Network Execution Profile singleton. If the platform has not saved an explicit profile yet, BLIPS returns the default singleton values. This sandbox resource is a quote-input surface only and affects newly created quotes after corridor confirmation, does not return quote outputs, and does not expose Lightning node, channel, liquidity, payment-hash, or routing details. POST /quotes remains the sole outward quote truth source.
curl --request GET \
--url https://public-test.blips.network/sandbox/lightning-execution-profile \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://public-test.blips.network/sandbox/lightning-execution-profile"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://public-test.blips.network/sandbox/lightning-execution-profile', 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://public-test.blips.network/sandbox/lightning-execution-profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$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://public-test.blips.network/sandbox/lightning-execution-profile"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://public-test.blips.network/sandbox/lightning-execution-profile")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://public-test.blips.network/sandbox/lightning-execution-profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"btcFiatSpreadBps": 10,
"lockPriceDurationSeconds": 300
}{
"error_code": "INVALID_PLATFORM_ID",
"message": "X-Platform-Id must be a UUIDv4 value"
}{
"error_code": "UNAUTHORIZED",
"message": "Unauthorized"
}{
"error_code": "PLATFORM_NOT_FOUND",
"message": "Platform not found"
}Authorizations
Integration-key Basic Auth (clientId:clientSecret) as documented in docs/public/AUTHENTICATION.md.
Headers
Optional platform scope selector for sandbox multitenant/internal compatibility. Basic-auth integration requests normally omit this header because platform context is derived from credentials. If supplied, it must be a UUIDv4 value.
^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$Response
Current sandbox Lightning execution profile returned. When no explicit profile has been saved yet, this returns the platform-scoped default singleton values.
Platform-scoped sandbox execution-profile input used during quote creation after corridor confirmation.
Platform-scoped BTC/fiat spread input in basis points. Sender and receiver platform values are summed at quote time to derive the effective corridor spread.
0 <= x <= 10000Platform-scoped quote lock-duration input in seconds. Sender and receiver platform values are combined at quote time by taking the shorter duration.
30 <= x <= 3600