/wallet/getcanwithdrawunfreezeamount REST API Endpoint
Körperparameter
owner_address
Zeichenkette
ERFORDERLICH
Wird geladen...
Zeitstempel
Ganzzahl
ERFORDERLICH
Wird geladen...
sichtbar
boolesch
Wird geladen...
Rücksendungen
Betrag
Wird geladen...
Anfrage
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getcanwithdrawunfreezeamount \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"timestamp": 1667977444000,8"visible": true9}10'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getcanwithdrawunfreezeamount \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"timestamp": 1667977444000,8"visible": true9}10'
1fetch('https://docs-demo.tron-mainnet.quiknode.pro/wallet/getcanwithdrawunfreezeamount', {2Methode: 'POST',3headers: {4'Accept': 'application/json',5'Content-Type': 'application/json'6},7body: JSON.stringify({8owner_address: 'OWNER_ADDRESS',9timestamp: 1667977444000,10visible: true11})12})13.dann(Antwort => Antwort.json())14.then(data => {15// Handle the response data16console.log(data);17})18.catch(Fehler => {19// Handle any errors20Konsole.Fehler(Fehler);21});22
1fetch('https://docs-demo.tron-mainnet.quiknode.pro/wallet/getcanwithdrawunfreezeamount', {2Methode: 'POST',3headers: {4'Accept': 'application/json',5'Content-Type': 'application/json'6},7body: JSON.stringify({8owner_address: 'OWNER_ADDRESS',9timestamp: 1667977444000,10visible: true11})12})13.dann(Antwort => Antwort.json())14.then(data => {15// Handle the response data16console.log(data);17})18.catch(Fehler => {19// Handle any errors20Konsole.Fehler(Fehler);21});22
1import Anfragen2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getcanwithdrawunfreezeamount'5Überschriften = {6'Accept': 'application/json',7'Content-Type': 'application/json'8}9Daten = {10'owner_address': 'OWNER_ADDRESS',11'timestamp': 1667977444000,12'visible': True13}1415Antwort = Anfragen.POST(URL, Header=headers, Daten=json.dumps(Daten))16wenn Antwort.status_code == 200:17result = response.json()18# Handle the response data19print(result)20sonst:21# Handle any errors22print('Request failed with status code', response.status_code)23print(response.text)24
1import Anfragen2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getcanwithdrawunfreezeamount'5Überschriften = {6'Accept': 'application/json',7'Content-Type': 'application/json'8}9Daten = {10'owner_address': 'OWNER_ADDRESS',11'timestamp': 1667977444000,12'visible': True13}1415Antwort = Anfragen.POST(URL, Header=headers, Daten=json.dumps(Daten))16wenn Antwort.status_code == 200:17result = response.json()18# Handle the response data19print(result)20sonst:21# Handle any errors22print('Request failed with status code', response.status_code)23print(response.text)24
1require 'net/http'2require 'json'3benötigen 'uri'45url = URI.parse('https://docs-demo.tron-mainnet.quiknode.pro/wallet/getcanwithdrawunfreezeamount')6http = Net::HTTP.new(url.host, URL.Port)78request = Net::HTTP::Post.new(url.path, { 'Content-Type' => 'application/json', 'Accept' => 'application/json' })9request.body = { owner_address: 'OWNER_ADDRESS', timestamp: 1667977444000, visible: true }.to_json1011Antwort = http.Anfrage(Anfrage)1213wenn Antwort.Code.to_i == 20014Ergebnis = JSON.parse(response.body)15# Handle the response data16gibt das Ergebnis aus17sonst18# Handle any errors19puts 'Request failed with status code ' + response.code20puts response.body21Ende22
1require 'net/http'2require 'json'3benötigen 'uri'45url = URI.parse('https://docs-demo.tron-mainnet.quiknode.pro/wallet/getcanwithdrawunfreezeamount')6http = Net::HTTP.new(url.host, URL.Port)78request = Net::HTTP::Post.new(url.path, { 'Content-Type' => 'application/json', 'Accept' => 'application/json' })9request.body = { owner_address: 'OWNER_ADDRESS', timestamp: 1667977444000, visible: true }.to_json1011Antwort = http.Anfrage(Anfrage)1213wenn Antwort.Code.to_i == 20014Ergebnis = JSON.parse(response.body)15# Handle the response data16gibt das Ergebnis aus17sonst18# Handle any errors19puts 'Request failed with status code ' + response.code20puts response.body21Ende22
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen