curl --request GET \
--url https://api.lumenwipe.com/v1/{network}/close/delivered \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lumenwipe.com/v1/{network}/close/delivered"
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}/close/delivered', 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}/close/delivered",
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}/close/delivered"
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}/close/delivered")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lumenwipe.com/v1/{network}/close/delivered")
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{
"destination": "<string>",
"entries": [
{
"hash": "a1b2c3...d4e5f6",
"status": "delivered",
"amountStroops": "52345000",
"reason": "not_found",
"ledger": 123456
}
],
"totalStroops": "52345000"
}{
"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>"
}
}Read the XLM confirmed close transactions delivered to their destination.
Read from the ledger’s own result for each transaction, through RPC and then Horizon when RPC no longer holds it. Counted: the balance a successful merge into destination carried, as the merge’s result reports it, and, for a close routed through the relay account, the successful native payment to destination from the account a merge earlier in the same transaction went into, at most once per merge and never more than that merge carried. Not counted: XLM that reached destination by any other operation (a path payment, or a payment without that merge) and any asset other than XLM. An entry that cannot be read as delivered is unavailable with a reason and no amount, and totalStroops is present only when every entry is delivered. not_found means no provider holds the hash: it may be unknown, still pending, or older than the providers keep. Wait for transactions/{hash} to report confirmed before asking. A fee-bump answers for its outer or its inner hash.
curl --request GET \
--url https://api.lumenwipe.com/v1/{network}/close/delivered \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lumenwipe.com/v1/{network}/close/delivered"
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}/close/delivered', 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}/close/delivered",
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}/close/delivered"
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}/close/delivered")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lumenwipe.com/v1/{network}/close/delivered")
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{
"destination": "<string>",
"entries": [
{
"hash": "a1b2c3...d4e5f6",
"status": "delivered",
"amountStroops": "52345000",
"reason": "not_found",
"ledger": 123456
}
],
"totalStroops": "52345000"
}{
"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>"
}
}Query Parameters
Response
One entry per hash, in the order asked, and the total when every one resolved.