/wallet/getaccountresource REST API Endpoint
身体パラメータ
住所
整数
必須
読み込み中...
表示されている
ブール値
読み込み中...
返品
freeNetUsed
読み込み中...
freeNetLimit
読み込み中...
netUsed
読み込み中...
netLimit
読み込み中...
totalNetLimit
読み込み中...
totalNetWeight
読み込み中...
totalTronPowerWeight
読み込み中...
tronPowerLimit
読み込み中...
tronPowerUsed
読み込み中...
energyUsed
読み込み中...
energyLimit
読み込み中...
totalEnergyLimit
読み込み中...
totalEnergyWeight
読み込み中...
assetNetUsed
読み込み中...
assetNetLimit
読み込み中...
リクエスト
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountresource \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/getaccountresource \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/getaccountresource';23const data = {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.その後(レスポンス => レスポンス.json())17.その後(データ => コンソール.log(data))18.catchcatch(エラー => console.error(エラー));19
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountresource';23const data = {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.その後(レスポンス => レスポンス.json())17.その後(データ => コンソール.log(data))18.catchcatch(エラー => console.error(エラー));19
1import リクエスト23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountresource"45データ = {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)16印刷(レスポンス.json())17json())18
1import リクエスト23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountresource"45データ = {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)16印刷(レスポンス.json())17json())18
1require "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountresource")67データ = {8'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',9'visible': true10}1112ヘッダー = {13'accept' => 'application/json',14'content-type' => 'application/json'15}1617http = ネット::HTTP.new(url.ホスト, url.ポート)18http.use_ssl = true1920request = Net::HTTP::Post.new(url.path, headers)21リクエスト.本文 = data.to_json2223回答 = http.リクエスト(リクエスト)24レスポンスを格納する。body2526
1require "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccountresource")67データ = {8'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',9'visible': true10}1112ヘッダー = {13'accept' => 'application/json',14'content-type' => 'application/json'15}1617http = ネット::HTTP.new(url.ホスト, url.ポート)18http.use_ssl = true1920request = Net::HTTP::Post.new(url.path, headers)21リクエスト.本文 = data.to_json2223回答 = http.リクエスト(リクエスト)24レスポンスを格納する。body2526