/walletsolidity/getavailableunfreezecount REST API Endpoint
Body Parameters
owner_address
string
REQUIRED
Loading...
visible
boolean
Loading...
Returns
count
Loading...
Request
curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getavailableunfreezecount \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"visible": true
}
'fetch('https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getavailableunfreezecount', {
method: 'POST',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify({
owner_address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',
visible: true
})
})
.then(response => response.json())
.then(data => {
// Handle the response data
console.log(data);
})
.catch(error => {
// Handle any errors
console.error(error);
});
import requests
import json
url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getavailableunfreezecount'
headers = {
'Accept': 'application/json',
'Content-Type': 'application/json'
}
data = {
'owner_address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',
'visible': True
}
response = requests.post(url, headers=headers, data=json.dumps(data))
if response.status_code == 200:
result = response.json()
# Handle the response data
print(result)
else:
# Handle any errors
print('Request failed with status code', response.status_code)
print(response.text)
require 'net/http'
require 'json'
require 'uri'
url = URI.parse('https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getavailableunfreezecount')
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url.path, { 'Content-Type' => 'application/json', 'Accept' => 'application/json' })
request.body = {
owner_address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',
visible: true
}.to_json
response = http.request(request)
if response.code.to_i == 200
result = JSON.parse(response.body)
# Handle the response data
puts result
else
# Handle any errors
puts 'Request failed with status code ' + response.code
puts response.body
end
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free