/walletsolidity/getcandelegatedmaxsize REST API Endpoint
신체 측정값
소유자 주소
문자열
필수
로딩 중...
유형
정수
필수
로딩 중...
보이는
부울
로딩 중...
반품
max_size
로딩 중...
요청
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getcandelegatedmaxsize \2--header 'accept: application/json' \3--헤더 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"type": 0,8"visible": true9}10'
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getcandelegatedmaxsize \2--header 'accept: application/json' \3--헤더 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"type": 0,8"visible": true9}10'
1fetch('https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getcandelegatedmaxsize', {2메서드: 'POST',3headers: {4'수락': 'application/json',5'Content-Type': 'application/json'6},7body: JSON.stringify({8owner_address: 'OWNER_ADDRESS',9type: 0,10visible: true11})12})13.그런 다음(응답 => 응답.json())14.그런 다음(데이터 => {15// Handle the response data16콘솔.log(데이터);17})18.catchcatch (오류 => {19// Handle any errors20콘솔.오류(오류);21});22
1fetch('https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getcandelegatedmaxsize', {2메서드: 'POST',3headers: {4'수락': 'application/json',5'Content-Type': 'application/json'6},7body: JSON.stringify({8owner_address: 'OWNER_ADDRESS',9type: 0,10visible: true11})12})13.그런 다음(응답 => 응답.json())14.그런 다음(데이터 => {15// Handle the response data16콘솔.log(데이터);17})18.catchcatch (오류 => {19// Handle any errors20콘솔.오류(오류);21});22
1import 요청2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getcandelegatedmaxsize'5헤더 = {6'수락': 'application/json',7'Content-Type': 'application/json'8}9데이터 = {10'owner_address': 'OWNER_ADDRESS',11'type': 0,12'visible': True13}1415response = requests.post(url, headers=headers, data=json.dumps(data))16만약 응답.status_code == 200:17result = response.json()18# Handle the response data19print(result)20else:21# Handle any errors22print('Request failed with status code', response.status_code)23print(response.text)24
1import 요청2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getcandelegatedmaxsize'5헤더 = {6'수락': 'application/json',7'Content-Type': 'application/json'8}9데이터 = {10'owner_address': 'OWNER_ADDRESS',11'type': 0,12'visible': True13}1415response = requests.post(url, headers=headers, data=json.dumps(data))16만약 응답.status_code == 200:17result = response.json()18# Handle the response data19print(result)20else:21# Handle any errors22print('Request failed with status code', response.status_code)23print(response.text)24
1require 'net/http'2require 'json'3필수 'uri'45url = URI.parse('https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getcandelegatedmaxsize')6http = Net::HTTP.new(url.호스트, url.포트)78request = Net::HTTP::Post.new(url.path, { 'Content-Type' => 'application/json', 'Accept' => 'application/json' })9request.body = { owner_address: 'OWNER_ADDRESS', type: 0, visible: true }.to_json1011답변 = http.요청(요청)1213만약 응답.코드.to_i == 20014결과 = JSON.parse(response.body)15# Handle the response data16결과를 출력합니다17else18# Handle any errors19puts 'Request failed with status code ' + response.code20puts response.body21끝22
1require 'net/http'2require 'json'3필수 'uri'45url = URI.parse('https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getcandelegatedmaxsize')6http = Net::HTTP.new(url.호스트, url.포트)78request = Net::HTTP::Post.new(url.path, { 'Content-Type' => 'application/json', 'Accept' => 'application/json' })9request.body = { owner_address: 'OWNER_ADDRESS', type: 0, visible: true }.to_json1011답변 = http.요청(요청)1213만약 응답.코드.to_i == 20014결과 = JSON.parse(response.body)15# Handle the response data16결과를 출력합니다17else18# Handle any errors19puts 'Request failed with status code ' + response.code20puts response.body21끝22