/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.
身体パラメータ
owner_address
文字列
必須
読み込み中...
permission_id
整数
読み込み中...
表示されている
ブール値
読み込み中...
返品
表示されている
読み込み中...
txid
読み込み中...
raw_data
読み込み中...
契約
読み込み中...
parameter
読み込み中...
値
読み込み中...
owner_address
読み込み中...
type_url
読み込み中...
タイプ
読み込み中...
ref_block_bytes
読み込み中...
ref_block_hash
読み込み中...
expiration
読み込み中...
タイムスタンプ
読み込み中...
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「承諾」: 'application/json',7「Content-Type」: 'application/json'8},9body: JSON.stringify({10owner_address: 'OWNER_ADDRESS',11visible: true12})13})14.その後(レスポンス => レスポンス.json())15.then(data => {16// Handle the response data17コンソール.log(データ);18})19.catchcatch(エラー => {20// Handle any errors21コンソール.エラー(エラー);22});23
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/withdrawexpireunfreeze';23fetch(url, {4メソッド: 'POST',5headers: {6「承諾」: 'application/json',7「Content-Type」: 'application/json'8},9body: JSON.stringify({10owner_address: 'OWNER_ADDRESS',11visible: true12})13})14.その後(レスポンス => レスポンス.json())15.then(data => {16// Handle the response data17コンソール.log(データ);18})19.catchcatch(エラー => {20// Handle any errors21コンソール.エラー(エラー);22});23
1import リクエスト2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/withdrawexpireunfreeze'56ヘッダー = {7「accept」: 'application/json',8「content-type」: 'application/json'9}1011データ = {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
1import リクエスト2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/withdrawexpireunfreeze'56ヘッダー = {7「accept」: 'application/json',8「content-type」: 'application/json'9}1011データ = {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 = ネット::HTTP.new(url.ホスト, url.ポート)8http.use_ssl = true910ヘッダー = {11'Accept' => 'application/json',12'Content-Type' => 'application/json'13}1415データ = {16owner_address: 'OWNER_ADDRESS',17visible: true18}1920リクエスト = ネット::HTTP::POST.new(URL)21リクエスト.本文 = 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 = ネット::HTTP.new(url.ホスト, url.ポート)8http.use_ssl = true910ヘッダー = {11'Accept' => 'application/json',12'Content-Type' => 'application/json'13}1415データ = {16owner_address: 'OWNER_ADDRESS',17visible: true18}1920リクエスト = ネット::HTTP::POST.new(URL)21リクエスト.本文 = 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