Save (and optionally relay) the signed launch transactions
curl --request POST \
--url https://runners.family/api/launch/submit \
--header 'Content-Type: application/json' \
--data '
{
"deploymentId": "<string>",
"owner": "So11111111111111111111111111111111111111112",
"baseMint": "So11111111111111111111111111111111111111112",
"pool": "So11111111111111111111111111111111111111112",
"config": "So11111111111111111111111111111111111111112",
"configTransaction": {
"signature": "<string>",
"transactionBase64": "<string>",
"blockhash": "<string>",
"lastValidBlockHeight": "<string>"
},
"poolTransaction": {
"signature": "<string>",
"transactionBase64": "<string>",
"blockhash": "<string>",
"lastValidBlockHeight": "<string>"
},
"relay": true
}
'import requests
url = "https://runners.family/api/launch/submit"
payload = {
"deploymentId": "<string>",
"owner": "So11111111111111111111111111111111111111112",
"baseMint": "So11111111111111111111111111111111111111112",
"pool": "So11111111111111111111111111111111111111112",
"config": "So11111111111111111111111111111111111111112",
"configTransaction": {
"signature": "<string>",
"transactionBase64": "<string>",
"blockhash": "<string>",
"lastValidBlockHeight": "<string>"
},
"poolTransaction": {
"signature": "<string>",
"transactionBase64": "<string>",
"blockhash": "<string>",
"lastValidBlockHeight": "<string>"
},
"relay": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
deploymentId: '<string>',
owner: 'So11111111111111111111111111111111111111112',
baseMint: 'So11111111111111111111111111111111111111112',
pool: 'So11111111111111111111111111111111111111112',
config: 'So11111111111111111111111111111111111111112',
configTransaction: {
signature: '<string>',
transactionBase64: '<string>',
blockhash: '<string>',
lastValidBlockHeight: '<string>'
},
poolTransaction: {
signature: '<string>',
transactionBase64: '<string>',
blockhash: '<string>',
lastValidBlockHeight: '<string>'
},
relay: true
})
};
fetch('https://runners.family/api/launch/submit', 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://runners.family/api/launch/submit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'deploymentId' => '<string>',
'owner' => 'So11111111111111111111111111111111111111112',
'baseMint' => 'So11111111111111111111111111111111111111112',
'pool' => 'So11111111111111111111111111111111111111112',
'config' => 'So11111111111111111111111111111111111111112',
'configTransaction' => [
'signature' => '<string>',
'transactionBase64' => '<string>',
'blockhash' => '<string>',
'lastValidBlockHeight' => '<string>'
],
'poolTransaction' => [
'signature' => '<string>',
'transactionBase64' => '<string>',
'blockhash' => '<string>',
'lastValidBlockHeight' => '<string>'
],
'relay' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://runners.family/api/launch/submit"
payload := strings.NewReader("{\n \"deploymentId\": \"<string>\",\n \"owner\": \"So11111111111111111111111111111111111111112\",\n \"baseMint\": \"So11111111111111111111111111111111111111112\",\n \"pool\": \"So11111111111111111111111111111111111111112\",\n \"config\": \"So11111111111111111111111111111111111111112\",\n \"configTransaction\": {\n \"signature\": \"<string>\",\n \"transactionBase64\": \"<string>\",\n \"blockhash\": \"<string>\",\n \"lastValidBlockHeight\": \"<string>\"\n },\n \"poolTransaction\": {\n \"signature\": \"<string>\",\n \"transactionBase64\": \"<string>\",\n \"blockhash\": \"<string>\",\n \"lastValidBlockHeight\": \"<string>\"\n },\n \"relay\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://runners.family/api/launch/submit")
.header("Content-Type", "application/json")
.body("{\n \"deploymentId\": \"<string>\",\n \"owner\": \"So11111111111111111111111111111111111111112\",\n \"baseMint\": \"So11111111111111111111111111111111111111112\",\n \"pool\": \"So11111111111111111111111111111111111111112\",\n \"config\": \"So11111111111111111111111111111111111111112\",\n \"configTransaction\": {\n \"signature\": \"<string>\",\n \"transactionBase64\": \"<string>\",\n \"blockhash\": \"<string>\",\n \"lastValidBlockHeight\": \"<string>\"\n },\n \"poolTransaction\": {\n \"signature\": \"<string>\",\n \"transactionBase64\": \"<string>\",\n \"blockhash\": \"<string>\",\n \"lastValidBlockHeight\": \"<string>\"\n },\n \"relay\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://runners.family/api/launch/submit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"deploymentId\": \"<string>\",\n \"owner\": \"So11111111111111111111111111111111111111112\",\n \"baseMint\": \"So11111111111111111111111111111111111111112\",\n \"pool\": \"So11111111111111111111111111111111111111112\",\n \"config\": \"So11111111111111111111111111111111111111112\",\n \"configTransaction\": {\n \"signature\": \"<string>\",\n \"transactionBase64\": \"<string>\",\n \"blockhash\": \"<string>\",\n \"lastValidBlockHeight\": \"<string>\"\n },\n \"poolTransaction\": {\n \"signature\": \"<string>\",\n \"transactionBase64\": \"<string>\",\n \"blockhash\": \"<string>\",\n \"lastValidBlockHeight\": \"<string>\"\n },\n \"relay\": true\n}"
response = http.request(request)
puts response.read_body{
"saved": true,
"state": "signed",
"relayed": {
"config": "confirmed",
"pool": "sent"
}
}{
"error": "<string>",
"code": "request_invalid"
}{
"error": "<string>",
"code": "request_invalid"
}{
"error": "<string>",
"code": "request_invalid"
}{
"code": "rate_limited",
"error": "Too many requests. Please wait a moment and try again."
}{
"error": "<string>",
"code": "request_invalid"
}Launch
Save (and optionally relay) the signed launch transactions
The server verifies each wire byte for byte against what it prepared and stores both before anything is sent. Re-submitting the same wires is idempotent.
POST
/
api
/
launch
/
submit
Save (and optionally relay) the signed launch transactions
curl --request POST \
--url https://runners.family/api/launch/submit \
--header 'Content-Type: application/json' \
--data '
{
"deploymentId": "<string>",
"owner": "So11111111111111111111111111111111111111112",
"baseMint": "So11111111111111111111111111111111111111112",
"pool": "So11111111111111111111111111111111111111112",
"config": "So11111111111111111111111111111111111111112",
"configTransaction": {
"signature": "<string>",
"transactionBase64": "<string>",
"blockhash": "<string>",
"lastValidBlockHeight": "<string>"
},
"poolTransaction": {
"signature": "<string>",
"transactionBase64": "<string>",
"blockhash": "<string>",
"lastValidBlockHeight": "<string>"
},
"relay": true
}
'import requests
url = "https://runners.family/api/launch/submit"
payload = {
"deploymentId": "<string>",
"owner": "So11111111111111111111111111111111111111112",
"baseMint": "So11111111111111111111111111111111111111112",
"pool": "So11111111111111111111111111111111111111112",
"config": "So11111111111111111111111111111111111111112",
"configTransaction": {
"signature": "<string>",
"transactionBase64": "<string>",
"blockhash": "<string>",
"lastValidBlockHeight": "<string>"
},
"poolTransaction": {
"signature": "<string>",
"transactionBase64": "<string>",
"blockhash": "<string>",
"lastValidBlockHeight": "<string>"
},
"relay": True
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
deploymentId: '<string>',
owner: 'So11111111111111111111111111111111111111112',
baseMint: 'So11111111111111111111111111111111111111112',
pool: 'So11111111111111111111111111111111111111112',
config: 'So11111111111111111111111111111111111111112',
configTransaction: {
signature: '<string>',
transactionBase64: '<string>',
blockhash: '<string>',
lastValidBlockHeight: '<string>'
},
poolTransaction: {
signature: '<string>',
transactionBase64: '<string>',
blockhash: '<string>',
lastValidBlockHeight: '<string>'
},
relay: true
})
};
fetch('https://runners.family/api/launch/submit', 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://runners.family/api/launch/submit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'deploymentId' => '<string>',
'owner' => 'So11111111111111111111111111111111111111112',
'baseMint' => 'So11111111111111111111111111111111111111112',
'pool' => 'So11111111111111111111111111111111111111112',
'config' => 'So11111111111111111111111111111111111111112',
'configTransaction' => [
'signature' => '<string>',
'transactionBase64' => '<string>',
'blockhash' => '<string>',
'lastValidBlockHeight' => '<string>'
],
'poolTransaction' => [
'signature' => '<string>',
'transactionBase64' => '<string>',
'blockhash' => '<string>',
'lastValidBlockHeight' => '<string>'
],
'relay' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://runners.family/api/launch/submit"
payload := strings.NewReader("{\n \"deploymentId\": \"<string>\",\n \"owner\": \"So11111111111111111111111111111111111111112\",\n \"baseMint\": \"So11111111111111111111111111111111111111112\",\n \"pool\": \"So11111111111111111111111111111111111111112\",\n \"config\": \"So11111111111111111111111111111111111111112\",\n \"configTransaction\": {\n \"signature\": \"<string>\",\n \"transactionBase64\": \"<string>\",\n \"blockhash\": \"<string>\",\n \"lastValidBlockHeight\": \"<string>\"\n },\n \"poolTransaction\": {\n \"signature\": \"<string>\",\n \"transactionBase64\": \"<string>\",\n \"blockhash\": \"<string>\",\n \"lastValidBlockHeight\": \"<string>\"\n },\n \"relay\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://runners.family/api/launch/submit")
.header("Content-Type", "application/json")
.body("{\n \"deploymentId\": \"<string>\",\n \"owner\": \"So11111111111111111111111111111111111111112\",\n \"baseMint\": \"So11111111111111111111111111111111111111112\",\n \"pool\": \"So11111111111111111111111111111111111111112\",\n \"config\": \"So11111111111111111111111111111111111111112\",\n \"configTransaction\": {\n \"signature\": \"<string>\",\n \"transactionBase64\": \"<string>\",\n \"blockhash\": \"<string>\",\n \"lastValidBlockHeight\": \"<string>\"\n },\n \"poolTransaction\": {\n \"signature\": \"<string>\",\n \"transactionBase64\": \"<string>\",\n \"blockhash\": \"<string>\",\n \"lastValidBlockHeight\": \"<string>\"\n },\n \"relay\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://runners.family/api/launch/submit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"deploymentId\": \"<string>\",\n \"owner\": \"So11111111111111111111111111111111111111112\",\n \"baseMint\": \"So11111111111111111111111111111111111111112\",\n \"pool\": \"So11111111111111111111111111111111111111112\",\n \"config\": \"So11111111111111111111111111111111111111112\",\n \"configTransaction\": {\n \"signature\": \"<string>\",\n \"transactionBase64\": \"<string>\",\n \"blockhash\": \"<string>\",\n \"lastValidBlockHeight\": \"<string>\"\n },\n \"poolTransaction\": {\n \"signature\": \"<string>\",\n \"transactionBase64\": \"<string>\",\n \"blockhash\": \"<string>\",\n \"lastValidBlockHeight\": \"<string>\"\n },\n \"relay\": true\n}"
response = http.request(request)
puts response.read_body{
"saved": true,
"state": "signed",
"relayed": {
"config": "confirmed",
"pool": "sent"
}
}{
"error": "<string>",
"code": "request_invalid"
}{
"error": "<string>",
"code": "request_invalid"
}{
"error": "<string>",
"code": "request_invalid"
}{
"code": "rate_limited",
"error": "Too many requests. Please wait a moment and try again."
}{
"error": "<string>",
"code": "request_invalid"
}Body
application/json