/wallet/getavailableunfreezecount REST API Endpoint
Stake 2.0 allows unstaking in batches, but it imposes a limit of 32 simultaneous unstake operations. This means that after initiating the first unstake, users must wait for the first transaction to complete before starting another unstake operation. During this time, they can only initiate up to 31 additional unstake operations. This safeguard is implemented to prevent potential malicious attacks and ensure the overall security of the system.
身体パラメータ
owner_address
文字列
必須
読み込み中...
表示されている
ブール値
読み込み中...
返品
カウント
読み込み中...
リクエスト
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getavailableunfreezecount \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",7"visible": true8}9'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getavailableunfreezecount \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",7"visible": true8}9'
1fetch('https://docs-demo.tron-mainnet.quiknode.pro/wallet/getavailableunfreezecount', {2メソッド: 'POST',3headers: {4「承諾」: 'application/json',5「Content-Type」: 'application/json'6},7body: JSON.stringify({8owner_address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',9visible: true10})11})12.その後(レスポンス => レスポンス.json())13.then(data => {14// Handle the response data15コンソール.log(データ);16})17.catchcatch(エラー => {18// Handle any errors19コンソール.エラー(エラー);20});21
1fetch('https://docs-demo.tron-mainnet.quiknode.pro/wallet/getavailableunfreezecount', {2メソッド: 'POST',3headers: {4「承諾」: 'application/json',5「Content-Type」: 'application/json'6},7body: JSON.stringify({8owner_address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',9visible: true10})11})12.その後(レスポンス => レスポンス.json())13.then(data => {14// Handle the response data15コンソール.log(データ);16})17.catchcatch(エラー => {18// Handle any errors19コンソール.エラー(エラー);20});21
1import リクエスト2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getavailableunfreezecount'5ヘッダー = {6「承諾」: 'application/json',7「Content-Type」: 'application/json'8}9データ = {10'owner_address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',11'visible': True12}1314回答 = リクエスト.post(url, ヘッダー=headers, データ=json.dumps(data))15if response.status_code == 200:16result = response.json()17# Handle the response data18print(result)19else:20# Handle any errors21print('Request failed with status code', response.status_code)22print(response.text)23
1import リクエスト2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getavailableunfreezecount'5ヘッダー = {6「承諾」: 'application/json',7「Content-Type」: 'application/json'8}9データ = {10'owner_address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',11'visible': True12}1314回答 = リクエスト.post(url, ヘッダー=headers, データ=json.dumps(data))15if response.status_code == 200:16result = response.json()17# Handle the response data18print(result)19else:20# Handle any errors21print('Request failed with status code', response.status_code)22print(response.text)23
1require 'net/http'2require 'json'3require 'uri'45url = URI.parse('https://docs-demo.tron-mainnet.quiknode.pro/wallet/getavailableunfreezecount')6http = ネット::HTTP.new(url.ホスト, url.ポート)78request = Net::HTTP::Post.new(url.path, { 'Content-Type' => 'application/json', 'Accept' => 'application/json' })9request.body = {10owner_address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',11visible: true12}.to_json1314回答 = http.リクエスト(リクエスト)1516if response.code.to_i == 20017result = JSON.parse(response.body)18# Handle the response data19puts result20else21# Handle any errors22puts 'Request failed with status code ' + response.code23puts response.body24終わり25
1require 'net/http'2require 'json'3require 'uri'45url = URI.parse('https://docs-demo.tron-mainnet.quiknode.pro/wallet/getavailableunfreezecount')6http = ネット::HTTP.new(url.ホスト, url.ポート)78request = Net::HTTP::Post.new(url.path, { 'Content-Type' => 'application/json', 'Accept' => 'application/json' })9request.body = {10owner_address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',11visible: true12}.to_json1314回答 = http.リクエスト(リクエスト)1516if response.code.to_i == 20017result = JSON.parse(response.body)18# Handle the response data19puts result20else21# Handle any errors22puts 'Request failed with status code ' + response.code23puts response.body24終わり25