Protocol config
curl --request GET \
--url https://analytics.snek.fun/snekfun-front/protocol-config.jsonimport requests
url = "https://analytics.snek.fun/snekfun-front/protocol-config.json"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://analytics.snek.fun/snekfun-front/protocol-config.json', 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://analytics.snek.fun/snekfun-front/protocol-config.json",
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://analytics.snek.fun/snekfun-front/protocol-config.json"
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://analytics.snek.fun/snekfun-front/protocol-config.json")
.asString();require 'uri'
require 'net/http'
url = URI("https://analytics.snek.fun/snekfun-front/protocol-config.json")
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{
"version": 2,
"network": "mainnet",
"environment": "production",
"addresses": {
"fee": "addr1...",
"metadata": "addr1..."
},
"parameters": {
"launchStakeCredential": "b2f6abf60ccde92eae1a2f4fdf65f2eaf6208d872c6f0e597cc10b07",
"batcherKey": "e865941988edcca559268b57b7ee939974fd42fd26c7e1acd7a50678",
"factoryWitness": "30c1003aa7dec834e0d0a78db547ba8840e58060725dbfae352f0d64",
"adminWitness": "8807fbe6e36b1c35ad6f36f0993e2fc67ab6f2db06041cfa3a53c04a",
"tokenEmission": {
"human": "1_000_000_000",
"raw": "1000000000"
}
},
"documentation": "https://github.com/splashprotocol/snekdotfun-configs/blob/main/README.md#parameters"
}
Config
Protocol config
Full Snekfun protocol configuration
GET
/
snekfun-front
/
protocol-config.json
Protocol config
curl --request GET \
--url https://analytics.snek.fun/snekfun-front/protocol-config.jsonimport requests
url = "https://analytics.snek.fun/snekfun-front/protocol-config.json"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://analytics.snek.fun/snekfun-front/protocol-config.json', 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://analytics.snek.fun/snekfun-front/protocol-config.json",
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://analytics.snek.fun/snekfun-front/protocol-config.json"
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://analytics.snek.fun/snekfun-front/protocol-config.json")
.asString();require 'uri'
require 'net/http'
url = URI("https://analytics.snek.fun/snekfun-front/protocol-config.json")
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{
"version": 2,
"network": "mainnet",
"environment": "production",
"addresses": {
"fee": "addr1...",
"metadata": "addr1..."
},
"parameters": {
"launchStakeCredential": "b2f6abf60ccde92eae1a2f4fdf65f2eaf6208d872c6f0e597cc10b07",
"batcherKey": "e865941988edcca559268b57b7ee939974fd42fd26c7e1acd7a50678",
"factoryWitness": "30c1003aa7dec834e0d0a78db547ba8840e58060725dbfae352f0d64",
"adminWitness": "8807fbe6e36b1c35ad6f36f0993e2fc67ab6f2db06041cfa3a53c04a",
"tokenEmission": {
"human": "1_000_000_000",
"raw": "1000000000"
}
},
"documentation": "https://github.com/splashprotocol/snekdotfun-configs/blob/main/README.md#parameters"
}
Returns the full Snekfun protocol config used across Snekfun services.
Auth: Public
The
The
Most numeric parameter fields are value objects with:
Response
number
Config version.
string
Target Cardano network.
string
Deployment environment.
object
Protocol addresses.
object
Full protocol parameter set.
string
Upstream documentation for the config.
addresses object contains:
| Field | Description |
|---|---|
fee | Address where protocol fees are collected |
metadata | Address for token metadata output |
parameters object contains:
| Field | Description |
|---|---|
launchStakeCredential | Stake credential for launch script addresses |
batcherKey | Public key hash of the batcher (order executor) |
factoryWitness | Witness hash required for factory operations |
adminWitness | Witness hash required for admin operations |
tokenEmission | Total token supply minted on launch |
aNum | Bonding curve numerator of coefficient a |
aDenom | Bonding curve denominator of coefficient a |
bNum | Bonding curve numerator of exponent b |
bDenom | Bonding curve denominator of exponent b |
adaThreshold | ADA threshold for graduation to Splash DEX |
fixedFee | Fixed protocol fee per trade |
minTradeAda | Minimum trade amount |
percentFee | Percentage fee per trade |
networkFee | Network or transaction fee estimate |
poolMinAda | Minimum ADA locked in pool reserve |
minLaunchAdaInitialDepositFee | Minimum fee for the initial deposit during launch |
launchFeeAmount | Standard launch fee |
| Field | Description |
|---|---|
human | Human-readable value with separators |
raw | Raw on-chain value as a string |
executorFee is not returned directly. Compute it as networkFee.raw + fixedFee.raw.{
"version": 2,
"network": "mainnet",
"environment": "production",
"addresses": {
"fee": "addr1...",
"metadata": "addr1..."
},
"parameters": {
"launchStakeCredential": "b2f6abf60ccde92eae1a2f4fdf65f2eaf6208d872c6f0e597cc10b07",
"batcherKey": "e865941988edcca559268b57b7ee939974fd42fd26c7e1acd7a50678",
"factoryWitness": "30c1003aa7dec834e0d0a78db547ba8840e58060725dbfae352f0d64",
"adminWitness": "8807fbe6e36b1c35ad6f36f0993e2fc67ab6f2db06041cfa3a53c04a",
"tokenEmission": {
"human": "1_000_000_000",
"raw": "1000000000"
}
},
"documentation": "https://github.com/splashprotocol/snekdotfun-configs/blob/main/README.md#parameters"
}
Was this page helpful?
⌘I