Read every live SEP-41 allowance the account has granted (architecture.md §12). Read-only.
curl --request GET \
--url https://api.lumenwipe.com/{network}/allowances/{address} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lumenwipe.com/{network}/allowances/{address}"
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/{network}/allowances/{address}', 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/{network}/allowances/{address}",
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/{network}/allowances/{address}"
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/{network}/allowances/{address}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lumenwipe.com/{network}/allowances/{address}")
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{
"allowances": [
{
"token": "CABC...XYZ",
"tokenSymbol": "USDC",
"tokenDecimals": 7,
"spender": "CDEF...UVW",
"spenderProtocol": "blend",
"amount": "1000000000",
"expirationLedger": 123456,
"sources": [
"events"
]
}
],
"coverage": [
{
"source": "events",
"status": "ok",
"detail": "<string>"
}
],
"eventsScanned": {
"fromLedger": 123,
"toLedger": 123
},
"warnings": [
{
"message": "<string>",
"helpUrl": "<string>",
"code": "<string>"
}
]
}Account
Read every live SEP-41 allowance the account has granted (architecture.md §12). Read-only.
GET
/
{network}
/
allowances
/
{address}
Read every live SEP-41 allowance the account has granted (architecture.md §12). Read-only.
curl --request GET \
--url https://api.lumenwipe.com/{network}/allowances/{address} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.lumenwipe.com/{network}/allowances/{address}"
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/{network}/allowances/{address}', 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/{network}/allowances/{address}",
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/{network}/allowances/{address}"
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/{network}/allowances/{address}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.lumenwipe.com/{network}/allowances/{address}")
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{
"allowances": [
{
"token": "CABC...XYZ",
"tokenSymbol": "USDC",
"tokenDecimals": 7,
"spender": "CDEF...UVW",
"spenderProtocol": "blend",
"amount": "1000000000",
"expirationLedger": 123456,
"sources": [
"events"
]
}
],
"coverage": [
{
"source": "events",
"status": "ok",
"detail": "<string>"
}
],
"eventsScanned": {
"fromLedger": 123,
"toLedger": 123
},
"warnings": [
{
"message": "<string>",
"helpUrl": "<string>",
"code": "<string>"
}
]
}Authorizations
Integrator API key
Path Parameters
Available options:
testnet, mainnet Stellar account (G...).
Response
Live, non-zero allowances, best effort.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The ledger range the event scan covered, or null if it ran out of budget before starting.
Show child attributes
Show child attributes
Plain-language warnings: a source that failed, candidates dropped by the cap.
Show child attributes
Show child attributes