Smart Mode
订阅列表
列出您的活跃智能模式订阅
GET
/
api
/
v1
/
smart-mode
/
subscriptions
订阅列表
curl --request GET \
--url https://api.example.com/api/v1/smart-mode/subscriptionsimport requests
url = "https://api.example.com/api/v1/smart-mode/subscriptions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/smart-mode/subscriptions', 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.example.com/api/v1/smart-mode/subscriptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/api/v1/smart-mode/subscriptions"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/api/v1/smart-mode/subscriptions")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/smart-mode/subscriptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": 123,
"address": "<string>",
"label": "<string>",
"status": "<string>",
"bw_guarantee": true,
"created_at": "<string>"
}订阅列表
返回所有活跃和暂停的智能模式订阅。已停用的订阅不会包含在内。响应
订阅对象数组:订阅 ID
被监控的 TRON 地址
可选标签
active 或 paused是否启用带宽保障
ISO 8601 时间戳
示例
curl https://api.tronrental.com/v1/smart-mode/subscriptions \
-H "X-API-Key: your_api_key"
Response
[
{
"id": 42,
"address": "TYourAddress...",
"label": "Main wallet",
"status": "active",
"bw_guarantee": true,
"created_at": "2026-03-05T12:00:00Z"
},
{
"id": 43,
"address": "TAnotherAddress...",
"label": null,
"status": "paused",
"bw_guarantee": false,
"created_at": "2026-03-04T10:00:00Z"
}
]
⌘I
订阅列表
curl --request GET \
--url https://api.example.com/api/v1/smart-mode/subscriptionsimport requests
url = "https://api.example.com/api/v1/smart-mode/subscriptions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/smart-mode/subscriptions', 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.example.com/api/v1/smart-mode/subscriptions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/api/v1/smart-mode/subscriptions"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/api/v1/smart-mode/subscriptions")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/smart-mode/subscriptions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": 123,
"address": "<string>",
"label": "<string>",
"status": "<string>",
"bw_guarantee": true,
"created_at": "<string>"
}