/wallet/unfreezebalance REST API Endpoint
身體參數
所有者地址
字串
必填
載入中...
resource
字串
必填
載入中...
receiver_address
字串
載入中...
permission_id
整數
載入中...
visible
布林值
載入中...
退貨
visible
載入中...
txid
載入中...
raw_data
載入中...
contract
載入中...
parameter
載入中...
值
載入中...
resource
載入中...
所有者地址
載入中...
receiver_address
載入中...
type_url
載入中...
類型
載入中...
ref_block_bytes
載入中...
ref_block_hash
載入中...
到期日
載入中...
時間戳記
載入中...
raw_data_hex
載入中...
請求
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/unfreezebalance \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"resource": "BANDWIDTH",8"visible": true9}10'11
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/unfreezebalance \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"resource": "BANDWIDTH",8"visible": true9}10'11
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/unfreezebalance';2const headers = {3'Accept': 'application/json',4「Content-Type」: 'application/json'5};67const 資料 = {8owner_address: 'OWNER_ADDRESS',9resource: 'BANDWIDTH',10visible: true11};1213fetch(url, {14方法: 'POST',15headers: headers,16body: JSON.stringify(data)17})18.then(response => response.json())19.then(result => {20console.log(result);21})22.catch(error => {23console.error(error);24});2526
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/unfreezebalance';2const headers = {3'Accept': 'application/json',4「Content-Type」: 'application/json'5};67const 資料 = {8owner_address: 'OWNER_ADDRESS',9resource: 'BANDWIDTH',10visible: true11};1213fetch(url, {14方法: 'POST',15headers: headers,16body: JSON.stringify(data)17})18.then(response => response.json())19.then(result => {20console.log(result);21})22.catch(error => {23console.error(error);24});2526
1匯入 請求23url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/unfreezebalance'45標題 = {6'accept': 'application/json',7'content-type': 'application/json'8}910data = {11"owner_address": "OWNER_ADDRESS",12"resource": "BANDWIDTH",13"visible": True14}1516response = requests.post(url, json=data, headers=headers)1718if response.status_code == 200:19print(response.json())20else:21print("Request failed with status code:", response.status_code)22
1匯入 請求23url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/unfreezebalance'45標題 = {6'accept': 'application/json',7'content-type': 'application/json'8}910data = {11"owner_address": "OWNER_ADDRESS",12"resource": "BANDWIDTH",13"visible": True14}1516response = requests.post(url, json=data, headers=headers)1718if response.status_code == 200:19print(response.json())20else:21print("Request failed with status code:", response.status_code)22
1require 'net/http'2require 'json'3require 'uri'45url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/unfreezebalance')67http = Net::HTTP.new(url.host, url.port)8http.use_ssl = true910標題 = {11'Accept' => 'application/json',12'Content-Type' => 'application/json'13}1415data = {16owner_address: 'OWNER_ADDRESS',17resource: 'BANDWIDTH',18visible: true19}2021請求 = 淨額::HTTP::POST.新增(網址)22request.body = data.to_json23headers.each { |key, value| request[key] = value }2425回應 = http.請求(請求)2627if response.code.to_i == 20028result = JSON.parse(response.body)29puts result30else31puts "Request failed with status code: #{response.code}"32結束33
1require 'net/http'2require 'json'3require 'uri'45url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/unfreezebalance')67http = Net::HTTP.new(url.host, url.port)8http.use_ssl = true910標題 = {11'Accept' => 'application/json',12'Content-Type' => 'application/json'13}1415data = {16owner_address: 'OWNER_ADDRESS',17resource: 'BANDWIDTH',18visible: true19}2021請求 = 淨額::HTTP::POST.新增(網址)22request.body = data.to_json23headers.each { |key, value| request[key] = value }2425回應 = http.請求(請求)2627if response.code.to_i == 20028result = JSON.parse(response.body)29puts result30else31puts "Request failed with status code: #{response.code}"32結束33