/wallet/getaccount REST API Endpoint
身体パラメータ
住所
整数
必須
読み込み中...
表示されている
ブール値
読み込み中...
返品
住所
読み込み中...
バランス
読み込み中...
create_time
読み込み中...
net_window_size
読み込み中...
account_resource
読み込み中...
energy_window_size
読み込み中...
owner_permission
読み込み中...
permission_name
読み込み中...
threshold
読み込み中...
keys
読み込み中...
住所
読み込み中...
weight
読み込み中...
active_permission
読み込み中...
タイプ
読み込み中...
id
読み込み中...
permission_name
読み込み中...
threshold
読み込み中...
operations
読み込み中...
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.その後(データ => コンソール.log(data))18.catchcatch(エラー => console.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.その後(データ => コンソール.log(data))18.catchcatch(エラー => console.error(エラー));19
1import リクエスト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, データ=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
1import リクエスト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, データ=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 = ネット::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/getaccount")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