/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
정수
로딩 중...
visible
부울
로딩 중...
반품
visible
로딩 중...
txid
로딩 중...
raw_data
로딩 중...
contract
로딩 중...
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';23가져오기(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.그런 다음(응답 => 응답.json())15.then(data => {16// Handle the response data17console.log(data);18})19.catchcatch (error => {20// Handle any errors21콘솔.오류(오류);22});23
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/withdrawexpireunfreeze';23가져오기(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.그런 다음(응답 => 응답.json())15.then(data => {16// Handle the response data17console.log(data);18})19.catchcatch (error => {20// Handle any errors21콘솔.오류(오류);22});23
1import 요청2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/withdrawexpireunfreeze'56헤더 = {7'수락': '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'수락': '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'3필수 '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}1415데이터 = {16owner_address: 'OWNER_ADDRESS',17visible: true18}1920요청 = 순::HTTP::POST.새(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'3필수 '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}1415데이터 = {16owner_address: 'OWNER_ADDRESS',17visible: true18}1920요청 = 순::HTTP::POST.새(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