/wallet/getcanwithdrawunfreezeamount REST API Endpoint
Lichaamsparameters
owner_address
tekenreeks
VERPLICHT
Bezig met laden...
tijdstempel
geheel getal
VERPLICHT
Bezig met laden...
visible
booleaanse waarde
Bezig met laden...
Retourzendingen
amount
Bezig met laden...
Verzoek
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.dan(reactie => response.json())14.then(data => {15// Handle the response data16console.log(data);17})18.catch(fout => {19// Handle any errors20console.fout(fout);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.dan(reactie => response.json())14.then(data => {15// Handle the response data16console.log(data);17})18.catch(fout => {19// Handle any errors20console.fout(fout);21});22
1import verzoeken2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getcanwithdrawunfreezeamount'5kopteksten = {6'Accept': 'application/json',7'Content-Type': 'application/json'8}9gegevens = {10'owner_address': 'OWNER_ADDRESS',11'timestamp': 1667977444000,12'visible': True13}1415antwoord = verzoeken.post(url, headers=headers, gegevens=json.dumps(data))16if response.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 verzoeken2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getcanwithdrawunfreezeamount'5kopteksten = {6'Accept': 'application/json',7'Content-Type': 'application/json'8}9gegevens = {10'owner_address': 'OWNER_ADDRESS',11'timestamp': 1667977444000,12'visible': True13}1415antwoord = verzoeken.post(url, headers=headers, gegevens=json.dumps(data))16if response.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
1vereisen 'net/http'2require 'json'3vereisen '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_json1011antwoord = http.verzoek(verzoek)1213if response.code.to_i == 20014result = JSON.parse(response.body)15# Handle the response data16puts result17else18# Handle any errors19puts 'Request failed with status code ' + response.code20puts response.body21einde22
1vereisen 'net/http'2require 'json'3vereisen '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_json1011antwoord = http.verzoek(verzoek)1213if response.code.to_i == 20014result = JSON.parse(response.body)15# Handle the response data16puts result17else18# Handle any errors19puts 'Request failed with status code ' + response.code20puts response.body21einde22
Heb je nog geen account?
Maak binnen enkele seconden je Quicknode-eindpunt aan en ga aan de slag
Ga gratis aan de slag