/wallet/getaccountnet REST API Endpoint
身體參數
地址
整數
必填
載入中...
visible
布林值
載入中...
退貨
freeNetUsed
載入中...
freeNetLimit
載入中...
netUsed
載入中...
netLimit
載入中...
totalNetLimit
載入中...
totalNetWeight
載入中...
assetNetUsed
載入中...
assetNetLimit
載入中...
請求
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 資料 = {4address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',5visible: true6};78fetch(url, {9方法: 'POST',10headers: {11'accept': 'application/json',12'content-type': 'application/json'13},14body: JSON.stringify(data)15})16.then(response => 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 資料 = {4address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',5visible: true6};78fetch(url, {9方法: 'POST',10headers: {11'accept': 'application/json',12'content-type': 'application/json'13},14body: JSON.stringify(data)15})16.then(response => response.json())17.then(data => console.log(data))18.catch(error => console.error(error));19
1匯入 請求23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet"45data = {6'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',7'visible': True8}910標題 = {11'accept': 'application/json',12'content-type': 'application/json'13}1415response = requests.post(url, json=data, headers=headers)16print(response.json())17json())18
1匯入 請求23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet"45data = {6'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',7'visible': True8}910標題 = {11'accept': 'application/json',12'content-type': 'application/json'13}1415response = requests.post(url, json=data, headers=headers)16print(response.json())17json())18
1需要 "uri"2需要 "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet")67data = {8'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',9'visible': true10}1112標題 = {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)21request.body = data.to_json2223回應 = http.請求(請求)24puts 回應。正文2526
1需要 "uri"2需要 "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountnet")67data = {8'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',9'visible': true10}1112標題 = {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)21request.body = data.to_json2223回應 = http.請求(請求)24puts 回應。正文2526