Look a transaction up by hash, without submitting anything.
curl --request GET \
--url https://api.lumenwipe.com/v1/{network}/transactions/{hash} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lumenwipe.com/v1/{network}/transactions/{hash}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lumenwipe.com/v1/{network}/transactions/{hash}', 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://api.lumenwipe.com/v1/{network}/transactions/{hash}",
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: Bearer <token>"
],
]);
$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://api.lumenwipe.com/v1/{network}/transactions/{hash}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.lumenwipe.com/v1/{network}/transactions/{hash}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lumenwipe.com/v1/{network}/transactions/{hash}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "confirmed",
"hash": "a1b2c3...d4e5f6",
"ledger": 123456,
"message": "<string>",
"resultCode": "<string>",
"searched": {
"oldestLedger": 5395712,
"oldestLedgerCloseTime": 1793002147,
"latestLedger": 5516671,
"latestLedgerCloseTime": 1793606995
}
}{
"error": {
"code": "invalid_network",
"message": "<string>",
"details": {},
"requestId": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"details": {},
"requestId": "<string>"
}
}{
"error": {
"code": "key_network_not_allowed",
"message": "<string>",
"details": {},
"requestId": "<string>"
}
}{
"error": {
"code": "rate_limited",
"message": "<string>",
"details": {},
"requestId": "<string>"
}
}{
"error": {
"code": "service_unavailable",
"message": "<string>",
"details": {},
"requestId": "<string>"
}
}Close
Look a transaction up by hash, without submitting anything.
not_found means this RPC provider has no record of the hash in the ledger window named by searched. It does not mean the transaction did not land or will not land: it may still be queued, or be older than the window. Only a transaction whose time bounds ended before searched.latestLedgerCloseTime can no longer land.
GET
/
v1
/
{network}
/
transactions
/
{hash}
Look a transaction up by hash, without submitting anything.
curl --request GET \
--url https://api.lumenwipe.com/v1/{network}/transactions/{hash} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lumenwipe.com/v1/{network}/transactions/{hash}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lumenwipe.com/v1/{network}/transactions/{hash}', 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://api.lumenwipe.com/v1/{network}/transactions/{hash}",
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: Bearer <token>"
],
]);
$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://api.lumenwipe.com/v1/{network}/transactions/{hash}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.lumenwipe.com/v1/{network}/transactions/{hash}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lumenwipe.com/v1/{network}/transactions/{hash}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": "confirmed",
"hash": "a1b2c3...d4e5f6",
"ledger": 123456,
"message": "<string>",
"resultCode": "<string>",
"searched": {
"oldestLedger": 5395712,
"oldestLedgerCloseTime": 1793002147,
"latestLedger": 5516671,
"latestLedgerCloseTime": 1793606995
}
}{
"error": {
"code": "invalid_network",
"message": "<string>",
"details": {},
"requestId": "<string>"
}
}{
"error": {
"code": "unauthorized",
"message": "<string>",
"details": {},
"requestId": "<string>"
}
}{
"error": {
"code": "key_network_not_allowed",
"message": "<string>",
"details": {},
"requestId": "<string>"
}
}{
"error": {
"code": "rate_limited",
"message": "<string>",
"details": {},
"requestId": "<string>"
}
}{
"error": {
"code": "service_unavailable",
"message": "<string>",
"details": {},
"requestId": "<string>"
}
}Response
The outcome: confirmed, failed or not_found.