/wallet/getaccount REST API Endpoint
身体参数
地址
整数
必填
正在加载...
visible
布尔型
正在加载...
退货
地址
正在加载...
平衡
正在加载...
create_time
正在加载...
net_window_size
正在加载...
account_resource
正在加载...
energy_window_size
正在加载...
owner_permission
正在加载...
permission_name
正在加载...
threshold
正在加载...
keys
正在加载...
地址
正在加载...
weight
正在加载...
active_permission
正在加载...
类型
正在加载...
id
正在加载...
permission_name
正在加载...
threshold
正在加载...
运营
正在加载...
keys
正在加载...
地址
正在加载...
weight
正在加载...
frozenV2
正在加载...
类型
正在加载...
请求
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccount \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/getaccount \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/getaccount';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.then(data => console.log(data))18.catch(error => console.error(error));19
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccount';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.then(data => console.log(data))18.catch(error => console.error(error));19
1导入 请求2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccount'5标题 = {6“接受”: 'application/json',7“Content-Type”: 'application/json'8}9数据 = {10'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',11'visible': True12}1314回复 = 请求.POST(url, headers=headers, 数据=json.dumps(data))15if response.status_code == 200:16result = response.json()17# Handle the response data18print(result)19else:20# Handle any errors21print('Request failed with status code', response.status_code)22print(response.text)23
1导入 请求2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccount'5标题 = {6“接受”: 'application/json',7“Content-Type”: 'application/json'8}9数据 = {10'address': 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',11'visible': True12}1314回复 = 请求.POST(url, headers=headers, 数据=json.dumps(data))15if response.status_code == 200:16result = response.json()17# Handle the response data18print(result)19else:20# Handle any errors21print('Request failed with status code', response.status_code)22print(response.text)23
1require "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccount")67数据 = {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)21请求.请求体 = data.to_json2223回复 = http.请求(请求)24返回响应.正文2526
1require "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/getaccount")67数据 = {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)21请求.请求体 = data.to_json2223回复 = http.请求(请求)24返回响应.正文2526