/walletsolidity/getcandelegatedmaxsize REST API Endpoint
Body Parameters
owner_address
string
REQUIRED
Loading...
type
integer
REQUIRED
Loading...
visible
boolean
Loading...
Returns
max_size
Loading...
Request
curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getcandelegatedmaxsize \ --header 'accept: application/json' \ --header 'content-type: application/json' \ --data ' { "owner_address": "OWNER_ADDRESS", "type": 0, "visible": true } '
fetch('https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getcandelegatedmaxsize', { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: JSON.stringify({ owner_address: 'OWNER_ADDRESS', type: 0, 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/getcandelegatedmaxsize' headers = { 'Accept': 'application/json', 'Content-Type': 'application/json' } data = { 'owner_address': 'OWNER_ADDRESS', 'type': 0, '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/getcandelegatedmaxsize') 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: 'OWNER_ADDRESS', type: 0, 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