Contracts config
curl --request GET \
--url https://analytics.snek.fun/snekfun-front/contracts.jsonimport requests
url = "https://analytics.snek.fun/snekfun-front/contracts.json"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://analytics.snek.fun/snekfun-front/contracts.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/contracts.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/contracts.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/contracts.json")
.asString();require 'uri'
require 'net/http'
url = URI("https://analytics.snek.fun/snekfun-front/contracts.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{
"network": "mainnet",
"minting": {
"nft": {
"script": "59023f...",
"policy": "63f947b8d9535bc4e4ce6919e3dc056547e8d30ada12f29aa5f826b8",
"documentation": "https://github.com/splashprotocol/snekdotfun-configs/blob/main/docs/launchAsset.md#pool-nft"
},
"other": {
"template": "5901fc...",
"documentation": "https://github.com/splashprotocol/snekdotfun-configs/blob/main/docs/launchAsset.md#token"
}
},
"contracts": {
"launchAsset": {
"hash": "905ab869961b094f1b8197278cfe15b45cbe49fa8f32c6b014f85a2d",
"documentation": "https://github.com/splashprotocol/snekdotfun-configs/blob/main/docs/launchAsset.md"
}
}
}
Config
Contracts config
Full Snekfun contracts configuration
GET
/
snekfun-front
/
contracts.json
Contracts config
curl --request GET \
--url https://analytics.snek.fun/snekfun-front/contracts.jsonimport requests
url = "https://analytics.snek.fun/snekfun-front/contracts.json"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://analytics.snek.fun/snekfun-front/contracts.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/contracts.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/contracts.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/contracts.json")
.asString();require 'uri'
require 'net/http'
url = URI("https://analytics.snek.fun/snekfun-front/contracts.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{
"network": "mainnet",
"minting": {
"nft": {
"script": "59023f...",
"policy": "63f947b8d9535bc4e4ce6919e3dc056547e8d30ada12f29aa5f826b8",
"documentation": "https://github.com/splashprotocol/snekdotfun-configs/blob/main/docs/launchAsset.md#pool-nft"
},
"other": {
"template": "5901fc...",
"documentation": "https://github.com/splashprotocol/snekdotfun-configs/blob/main/docs/launchAsset.md#token"
}
},
"contracts": {
"launchAsset": {
"hash": "905ab869961b094f1b8197278cfe15b45cbe49fa8f32c6b014f85a2d",
"documentation": "https://github.com/splashprotocol/snekdotfun-configs/blob/main/docs/launchAsset.md"
}
}
}
Returns the full Snekfun contracts config used across Snekfun services.
Auth: Public
The
The
Response
string
Target Cardano network.
object
Minting scripts and metadata.
object
Deployed validator configs.
minting object contains:
| Field | Description |
|---|---|
nft.script | Serialized minting script for pool NFTs |
nft.policy | Policy ID for pool NFTs |
nft.documentation | Upstream documentation for the NFT minting config |
other.template | Template used for token minting |
other.documentation | Upstream documentation for the token minting template |
contracts object contains:
| Field | Description |
|---|---|
launchAsset.hash | Launch validator script hash |
launchAsset.documentation | Upstream documentation for the launch validator |
snekfunOrderLegacy.script | Serialized legacy order validator |
snekfunOrderLegacy.hash | Legacy order validator hash |
snekfunOrderLegacy.uTxORef.txHash | Reference input transaction hash |
snekfunOrderLegacy.uTxORef.index | Reference input index |
snekfunOrderLegacy.cost.mem | Execution memory budget |
snekfunOrderLegacy.cost.steps | Execution step budget |
snekfunOrderLegacy.documentation | Upstream documentation |
snekfunOrder.script | Serialized current order validator |
snekfunOrder.hash | Current order validator hash |
snekfunOrder.uTxORef.txHash | Reference input transaction hash |
snekfunOrder.uTxORef.index | Reference input index |
snekfunOrder.cost.mem | Execution memory budget |
snekfunOrder.cost.steps | Execution step budget |
snekfunOrder.documentation | Upstream documentation |
{
"network": "mainnet",
"minting": {
"nft": {
"script": "59023f...",
"policy": "63f947b8d9535bc4e4ce6919e3dc056547e8d30ada12f29aa5f826b8",
"documentation": "https://github.com/splashprotocol/snekdotfun-configs/blob/main/docs/launchAsset.md#pool-nft"
},
"other": {
"template": "5901fc...",
"documentation": "https://github.com/splashprotocol/snekdotfun-configs/blob/main/docs/launchAsset.md#token"
}
},
"contracts": {
"launchAsset": {
"hash": "905ab869961b094f1b8197278cfe15b45cbe49fa8f32c6b014f85a2d",
"documentation": "https://github.com/splashprotocol/snekdotfun-configs/blob/main/docs/launchAsset.md"
}
}
}
Was this page helpful?
⌘I