/wallet/getaccountnet REST API Endpoint
Parámetros corporales
dirección
entero
OBLIGATORIO
Cargando...
visible
booleano
Cargando...
Devoluciones
freeNetUsed
Cargando...
freeNetLimit
Cargando...
netUsed
Cargando...
netLimit
Cargando...
totalNetLimit
Cargando...
totalNetWeight
Cargando...
assetNetUsed
Cargando...
assetNetLimit
Cargando...
Solicitud
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet \2--header 'accept: application/json' \3--encabezado 'content-type: application/json' \4--datos '5{6"address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",7"visible": true8}9'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet \2--header 'accept: application/json' \3--encabezado 'content-type: application/json' \4--datos '5{6"address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",7"visible": true8}9'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet';23const datos = {4address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',5visible: true6};78recoger(url, {9método: 'POST',10headers: {11'accept': 'application/json',12'content-type': 'application/json'13},14cuerpo: JSON.convertir a cadena(datos)15})16.entonces(respuesta => respuesta.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 datos = {4address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',5visible: true6};78recoger(url, {9método: 'POST',10headers: {11'accept': 'application/json',12'content-type': 'application/json'13},14cuerpo: JSON.convertir a cadena(datos)15})16.entonces(respuesta => respuesta.json())17.then(data => console.log(data))18.catch(error => console.error(error));19
1importar solicitudes23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet"45datos = {6'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',7'visible': True8}910encabezados = {11'accept': 'application/json',12'content-type': 'application/json'13}1415respuesta = solicitudes.post(url, json=datos, encabezados=encabezados)16print(response.json())17json())18
1importar solicitudes23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet"45datos = {6'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',7'visible': True8}910encabezados = {11'accept': 'application/json',12'content-type': 'application/json'13}1415respuesta = solicitudes.post(url, json=datos, encabezados=encabezados)16print(response.json())17json())18
1requiere «uri»2requiere «net/http»3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet")67datos = {8'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',9'visible': true10}1112encabezados = {13'accept' => 'application/json',14'content-type' => 'application/json'15}1617http = Net::HTTP.nuevo(url.host, url.puerto)18http.use_ssl = true1920request = Net::HTTP::Post.new(url.path, headers)21solicitud.cuerpo = datos.to_json2223respuesta = http.solicitud(solicitud)24muestra la respuesta.cuerpo2526
1requiere «uri»2requiere «net/http»3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet")67datos = {8'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',9'visible': true10}1112encabezados = {13'accept' => 'application/json',14'content-type' => 'application/json'15}1617http = Net::HTTP.nuevo(url.host, url.puerto)18http.use_ssl = true1920request = Net::HTTP::Post.new(url.path, headers)21solicitud.cuerpo = datos.to_json2223respuesta = http.solicitud(solicitud)24muestra la respuesta.cuerpo2526
¿Aún no tienes una cuenta?
Crea tuendpoint Quicknode endpoint segundos y empieza a desarrollar
Empieza gratis