/wallet/getaccountnet REST API Endpoint
Parâmetros corporais
morada
número inteiro
OBRIGATÓRIO
A carregar...
visible
booleano
A carregar...
Devoluções
freeNetUsed
A carregar...
freeNetLimit
A carregar...
netUsed
A carregar...
netLimit
A carregar...
totalNetLimit
A carregar...
totalNetWeight
A carregar...
assetNetUsed
A carregar...
assetNetLimit
A carregar...
Pedido
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};78buscar(url, {9método: 'POST',10headers: {11'accept': 'application/json',12'content-type': 'application/json'13},14body: JSON.stringify(data)15})16.então(resposta => resposta.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};78buscar(url, {9método: 'POST',10headers: {11'accept': 'application/json',12'content-type': 'application/json'13},14body: JSON.stringify(data)15})16.então(resposta => resposta.json())17.then(data => console.log(data))18.catch(error => console.error(error));19
1importar pedidos23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet"45dados = {6'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',7'visible': True8}910cabeçalhos = {11'accept': 'application/json',12'content-type': 'application/json'13}1415response = requests.post(url, json=data, headers=headers)16print(response.json())17json())18
1importar pedidos23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet"45dados = {6'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',7'visible': True8}910cabeçalhos = {11'accept': 'application/json',12'content-type': 'application/json'13}1415response = requests.post(url, json=data, headers=headers)16print(response.json())17json())18
1exigir "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet")67dados = {8'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',9'visible': true10}1112cabeçalhos = {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)21pedido.corpo = dados.to_json2223resposta = http.pedido(pedido)24insere a resposta.corpo2526
1exigir "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet")67dados = {8'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',9'visible': true10}1112cabeçalhos = {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)21pedido.corpo = dados.to_json2223resposta = http.pedido(pedido)24insere a resposta.corpo2526
Ainda não tem uma conta?
Crie o seu ponto de extremidade Quicknode em segundos e comece a desenvolver
Comece gratuitamente