/wallet/withdrawexpireunfreeze REST API Endpoint
Please note that Stake 2.0 supports multiple partial unstakes. Through this API, all unstaked funds that have passed the N-day lock-up period will be withdrawn at one time.
身體參數
所有者地址
字串
必填
載入中...
permission_id
整數
載入中...
visible
布林值
載入中...
退貨
visible
載入中...
txid
載入中...
raw_data
載入中...
contract
載入中...
parameter
載入中...
值
載入中...
所有者地址
載入中...
type_url
載入中...
類型
載入中...
ref_block_bytes
載入中...
ref_block_hash
載入中...
到期日
載入中...
時間戳記
載入中...
raw_data_hex
載入中...
請求
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/withdrawexpireunfreeze \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"visible": true8}9'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/withdrawexpireunfreeze \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"visible": true8}9'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/withdrawexpireunfreeze';23fetch(url, {4方法: 'POST',5headers: {6'Accept': 'application/json',7'Content-Type': 'application/json'8},9body: JSON.stringify({10owner_address: 'OWNER_ADDRESS',11visible: true12})13})14.then(response => response.json())15.then(data => {16// Handle the response data17console.log(data);18})19.catch(error => {20// Handle any errors21console.error(error);22});23
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/withdrawexpireunfreeze';23fetch(url, {4方法: 'POST',5headers: {6'Accept': 'application/json',7'Content-Type': 'application/json'8},9body: JSON.stringify({10owner_address: 'OWNER_ADDRESS',11visible: true12})13})14.then(response => response.json())15.then(data => {16// Handle the response data17console.log(data);18})19.catch(error => {20// Handle any errors21console.error(error);22});23
1匯入 請求2匯入 json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/withdrawexpireunfreeze'56標題 = {7'accept': 'application/json',8'content-type': 'application/json'9}1011data = {12'owner_address': 'OWNER_ADDRESS',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匯入 請求2匯入 json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/withdrawexpireunfreeze'56標題 = {7'accept': 'application/json',8'content-type': 'application/json'9}1011data = {12'owner_address': 'OWNER_ADDRESS',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/withdrawexpireunfreeze')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',17visible: true18}1920請求 = 淨額::HTTP::POST.新增(網址)21request.body = data.to_json22headers.each { |key, value| request[key] = value }2324回應 = http.請求(請求)2526if response.code.to_i == 20027result = JSON.parse(response.body)28puts result29else30puts "Request failed with status code: #{response.code}"31結束32
1require 'net/http'2require 'json'3require 'uri'45url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/withdrawexpireunfreeze')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',17visible: true18}1920請求 = 淨額::HTTP::POST.新增(網址)21request.body = data.to_json22headers.each { |key, value| request[key] = value }2324回應 = http.請求(請求)2526if response.code.to_i == 20027result = JSON.parse(response.body)28puts result29else30puts "Request failed with status code: #{response.code}"31結束32