/wallet/getaccountnet REST API Endpoint
Lichaamsparameters
adres
geheel getal
VERPLICHT
Bezig met laden...
visible
booleaanse waarde
Bezig met laden...
Retourzendingen
freeNetUsed
Bezig met laden...
freeNetLimit
Bezig met laden...
netUsed
Bezig met laden...
netLimit
Bezig met laden...
totalNetLimit
Bezig met laden...
totalNetWeight
Bezig met laden...
assetNetUsed
Bezig met laden...
assetNetLimit
Bezig met laden...
Verzoek
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",7"visible": true8}9'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",7"visible": true8}9'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet';23const data = {4address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',5visible: true6};78ophalen(url, {9methode: 'POST',10headers: {11'accept': 'application/json',12'content-type': 'application/json'13},14body: JSON.stringify(data)15})16.dan(reactie => response.json())17.then(data => console.log(data))18.catch(error => console.error(error));19
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet';23const data = {4address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',5visible: true6};78ophalen(url, {9methode: 'POST',10headers: {11'accept': 'application/json',12'content-type': 'application/json'13},14body: JSON.stringify(data)15})16.dan(reactie => response.json())17.then(data => console.log(data))18.catch(error => console.error(error));19
1import verzoeken23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet"45gegevens = {6'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',7'visible': True8}910kopteksten = {11'accept': 'application/json',12'content-type': 'application/json'13}1415response = requests.post(url, json=data, headers=headers)16print(response.json())17json())18
1import verzoeken23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet"45gegevens = {6'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',7'visible': True8}910kopteksten = {11'accept': 'application/json',12'content-type': 'application/json'13}1415response = requests.post(url, json=data, headers=headers)16print(response.json())17json())18
1vereisen "uri"2vereisen "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet")67gegevens = {8'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',9'visible': true10}1112kopteksten = {13'accept' => 'application/json',14'content-type' => 'application/json'15}1617http = Net::HTTP.new(url.host, url.port)18http.use_ssl = true1920request = Net::HTTP::Post.new(url.path, headers)21verzoek.tekst = gegevens.to_json2223antwoord = http.verzoek(verzoek)24geeft het antwoord weer.body2526
1vereisen "uri"2vereisen "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet")67gegevens = {8'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',9'visible': true10}1112kopteksten = {13'accept' => 'application/json',14'content-type' => 'application/json'15}1617http = Net::HTTP.new(url.host, url.port)18http.use_ssl = true1920request = Net::HTTP::Post.new(url.path, headers)21verzoek.tekst = gegevens.to_json2223antwoord = http.verzoek(verzoek)24geeft het antwoord weer.body2526
Heb je nog geen account?
Maak binnen enkele seconden je Quicknode-eindpunt aan en ga aan de slag
Ga gratis aan de slag