/wallet/updateaccount REST API Endpoint
신체 매개변수
owner_address
문자열
필수
로딩 중...
account_name
문자열
필수
로딩 중...
permission_id
정수
로딩 중...
visible
부울
로딩 중...
반품
visible
로딩 중...
txid
로딩 중...
raw_data
로딩 중...
contract
로딩 중...
parameter
로딩 중...
값
로딩 중...
금액
로딩 중...
owner_address
로딩 중...
to_address
로딩 중...
type_url
로딩 중...
유형
로딩 중...
ref_block_bytes
로딩 중...
ref_block_hash
로딩 중...
expiration
로딩 중...
타임스탬프
로딩 중...
raw_data_hex
로딩 중...
요청
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateaccount \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",7"account_name": "0x7570646174654e616d6531353330383933343635353139",8"visible": true9}10'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateaccount \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",7"account_name": "0x7570646174654e616d6531353330383933343635353139",8"visible": true9}10'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateaccount';23const 헤더 = {4'Accept': 'application/json',5'Content-Type': 'application/json'6};78const data = {9owner_address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',10account_name: '0x7570646174654e616d6531353330383933343635353139',11visible: true12};1314가져오기(url, {15메서드: 'POST',16헤더: 헤더,17body: JSON.stringify(data)18})19.그런 다음(응답 => 응답.json())20.그런 다음(결과 => {21콘솔.log(결과);22})23.catchcatch (error => {24콘솔.오류(오류);25});
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateaccount';23const 헤더 = {4'Accept': 'application/json',5'Content-Type': 'application/json'6};78const data = {9owner_address: 'TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g',10account_name: '0x7570646174654e616d6531353330383933343635353139',11visible: true12};1314가져오기(url, {15메서드: 'POST',16헤더: 헤더,17body: JSON.stringify(data)18})19.그런 다음(응답 => 응답.json())20.그런 다음(결과 => {21콘솔.log(결과);22})23.catchcatch (error => {24콘솔.오류(오류);25});
1import 요청2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateaccount'56헤더 = {7'수락': 'application/json',8'content-type': 'application/json'9}1011데이터 = {12"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",13"account_name": "0x7570646174654e616d6531353330383933343635353139",14"visible": True15}1617response = requests.post(url, json=data, headers=headers)1819if response.status_code == 200:20print(response.json())21else:22print("Request failed with status code:", response.status_code)23
1import 요청2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateaccount'56헤더 = {7'수락': 'application/json',8'content-type': 'application/json'9}1011데이터 = {12"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",13"account_name": "0x7570646174654e616d6531353330383933343635353139",14"visible": True15}1617response = requests.post(url, json=data, headers=headers)1819if response.status_code == 200:20print(response.json())21else:22print("Request failed with status code:", response.status_code)23
1require 'net/http'2require 'json'34uri = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateaccount')56http = Net::HTTP.new(url.host, url.port)7http.use_ssl = true89헤더 = {10'accept' => 'application/json',11'content-type' => 'application/json'12}1314데이터 = {15"owner_address" => "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",16"account_name" => "0x7570646174654e616d6531353330383933343635353139",17"visible" => true18}1920request = Net::HTTP::Post.new(url.path, headers)21요청.본문 = data.to_json2223답변 = http.요청(요청)2425if response.code.to_i == 20026result = JSON.parse(response.body)27puts result28else29puts "Request failed with status code: #{response.code}"30끝31
1require 'net/http'2require 'json'34uri = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateaccount')56http = Net::HTTP.new(url.host, url.port)7http.use_ssl = true89헤더 = {10'accept' => 'application/json',11'content-type' => 'application/json'12}1314데이터 = {15"owner_address" => "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",16"account_name" => "0x7570646174654e616d6531353330383933343635353139",17"visible" => true18}1920request = Net::HTTP::Post.new(url.path, headers)21요청.본문 = data.to_json2223답변 = http.요청(요청)2425if response.code.to_i == 20026result = JSON.parse(response.body)27puts result28else29puts "Request failed with status code: #{response.code}"30끝31