Submit a Transaction
curl --request POST \
--url https://mainnet.gomaestro-api.org/v1/txmanager \
--header 'Content-Type: <content-type>' \
--header 'api-key: <api-key>' \
--data '
"raw_transaction_hex_data_here"
'import requests
url = "https://mainnet.gomaestro-api.org/v1/txmanager"
payload = "raw_transaction_hex_data_here"
headers = {
"Content-Type": "<content-type>",
"api-key": "<api-key>"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': '<content-type>', 'api-key': '<api-key>'},
body: JSON.stringify('raw_transaction_hex_data_here')
};
fetch('https://mainnet.gomaestro-api.org/v1/txmanager', 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://mainnet.gomaestro-api.org/v1/txmanager",
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('raw_transaction_hex_data_here'),
CURLOPT_HTTPHEADER => [
"Content-Type: <content-type>",
"api-key: <api-key>"
],
]);
$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://mainnet.gomaestro-api.org/v1/txmanager"
payload := strings.NewReader("\"raw_transaction_hex_data_here\"")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "<content-type>")
req.Header.Add("api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mainnet.gomaestro-api.org/v1/txmanager")
.header("Content-Type", "<content-type>")
.header("api-key", "<api-key>")
.body("\"raw_transaction_hex_data_here\"")
.asString();require 'uri'
require 'net/http'
url = URI("https://mainnet.gomaestro-api.org/v1/txmanager")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = '<content-type>'
request["api-key"] = '<api-key>'
request.body = "\"raw_transaction_hex_data_here\""
response = http.request(request)
puts response.read_body"<string>""<string>""<string>""<string>"Transactions
Submit a Transaction
Submit a signed Cardano transaction to the network with automatic retry logic and confirmation tracking.
POST
/
txmanager
Submit a Transaction
curl --request POST \
--url https://mainnet.gomaestro-api.org/v1/txmanager \
--header 'Content-Type: <content-type>' \
--header 'api-key: <api-key>' \
--data '
"raw_transaction_hex_data_here"
'import requests
url = "https://mainnet.gomaestro-api.org/v1/txmanager"
payload = "raw_transaction_hex_data_here"
headers = {
"Content-Type": "<content-type>",
"api-key": "<api-key>"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': '<content-type>', 'api-key': '<api-key>'},
body: JSON.stringify('raw_transaction_hex_data_here')
};
fetch('https://mainnet.gomaestro-api.org/v1/txmanager', 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://mainnet.gomaestro-api.org/v1/txmanager",
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('raw_transaction_hex_data_here'),
CURLOPT_HTTPHEADER => [
"Content-Type: <content-type>",
"api-key: <api-key>"
],
]);
$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://mainnet.gomaestro-api.org/v1/txmanager"
payload := strings.NewReader("\"raw_transaction_hex_data_here\"")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "<content-type>")
req.Header.Add("api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mainnet.gomaestro-api.org/v1/txmanager")
.header("Content-Type", "<content-type>")
.header("api-key", "<api-key>")
.body("\"raw_transaction_hex_data_here\"")
.asString();require 'uri'
require 'net/http'
url = URI("https://mainnet.gomaestro-api.org/v1/txmanager")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = '<content-type>'
request["api-key"] = '<api-key>'
request.body = "\"raw_transaction_hex_data_here\""
response = http.request(request)
puts response.read_body"<string>""<string>""<string>""<string>"Was this page helpful?
⌘I

