/wallet/unfreezebalance REST API Endpoint
신체 매개변수
owner_address
문자열
필수
로딩 중...
resource
문자열
필수
로딩 중...
receiver_address
문자열
로딩 중...
permission_id
정수
로딩 중...
visible
부울
로딩 중...
반품
visible
로딩 중...
txid
로딩 중...
raw_data
로딩 중...
contract
로딩 중...
parameter
로딩 중...
값
로딩 중...
resource
로딩 중...
owner_address
로딩 중...
receiver_address
로딩 중...
type_url
로딩 중...
유형
로딩 중...
ref_block_bytes
로딩 중...
ref_block_hash
로딩 중...
expiration
로딩 중...
타임스탬프
로딩 중...
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 헤더 = {3'Accept': 'application/json',4'Content-Type': 'application/json'5};67const data = {8owner_address: 'OWNER_ADDRESS',9resource: 'BANDWIDTH',10visible: true11};1213가져오기(url, {14메서드: 'POST',15헤더: 헤더,16body: JSON.stringify(data)17})18.그런 다음(응답 => 응답.json())19.그런 다음(결과 => {20콘솔.log(결과);21})22.catchcatch (error => {23콘솔.오류(오류);24});2526
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/unfreezebalance';2const 헤더 = {3'Accept': 'application/json',4'Content-Type': 'application/json'5};67const data = {8owner_address: 'OWNER_ADDRESS',9resource: 'BANDWIDTH',10visible: true11};1213가져오기(url, {14메서드: 'POST',15헤더: 헤더,16body: JSON.stringify(data)17})18.그런 다음(응답 => 응답.json())19.그런 다음(결과 => {20콘솔.log(결과);21})22.catchcatch (error => {23콘솔.오류(오류);24});2526
1import 요청23url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/unfreezebalance'45헤더 = {6'수락': 'application/json',7'content-type': 'application/json'8}910데이터 = {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
1import 요청23url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/unfreezebalance'45헤더 = {6'수락': 'application/json',7'content-type': 'application/json'8}910데이터 = {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'3필수 '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}1415데이터 = {16owner_address: 'OWNER_ADDRESS',17resource: 'BANDWIDTH',18visible: true19}2021요청 = 순::HTTP::POST.새(URL)22요청.본문 = 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'3필수 '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}1415데이터 = {16owner_address: 'OWNER_ADDRESS',17resource: 'BANDWIDTH',18visible: true19}2021요청 = 순::HTTP::POST.새(URL)22요청.본문 = 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