/wallet/updateasset REST API Endpoint
신체 매개변수
owner_address
문자열
필수
로딩 중...
설명
문자열
필수
로딩 중...
url
문자열
필수
로딩 중...
new_limit
정수
필수
로딩 중...
new_public_limit
정수
필수
로딩 중...
permission_id
정수
로딩 중...
visible
부울
로딩 중...
반품
visible
로딩 중...
txid
로딩 중...
raw_data
로딩 중...
contract
로딩 중...
parameter
로딩 중...
값
로딩 중...
설명
로딩 중...
owner_address
로딩 중...
url
로딩 중...
new_limit
로딩 중...
new_public_limit
로딩 중...
type_url
로딩 중...
유형
로딩 중...
ref_block_bytes
로딩 중...
ref_block_hash
로딩 중...
expiration
로딩 중...
타임스탬프
로딩 중...
raw_data_hex
로딩 중...
요청
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateasset \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"visible": true8}9'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateasset \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"visible": true8}9'
1fetch('https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateasset', {2메서드: 'POST',3headers: {4'Accept': 'application/json',5'Content-Type': 'application/json'6},7body: JSON.stringify({8owner_address: 'OWNER_ADDRESS',9visible: true10})11})12.그런 다음(응답 => 응답.json())13.then(data => {14// Handle the response data here15console.log(data);16})17.catchcatch (error => {18// Handle any errors here19콘솔.오류(오류);20});21
1fetch('https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateasset', {2메서드: 'POST',3headers: {4'Accept': 'application/json',5'Content-Type': 'application/json'6},7body: JSON.stringify({8owner_address: 'OWNER_ADDRESS',9visible: true10})11})12.그런 다음(응답 => 응답.json())13.then(data => {14// Handle the response data here15console.log(data);16})17.catchcatch (error => {18// Handle any errors here19콘솔.오류(오류);20});21
1import 요청2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateasset'5헤더 = {6'Accept': 'application/json',7'Content-Type': 'application/json'8}9데이터 = {10'owner_address': 'OWNER_ADDRESS',11'visible': True12}1314response = requests.post(url, headers=headers, json=data)1516if response.status_code == 200:17data = response.json()18# Handle the response data here19print(data)20else:21# Handle the error here22print(f'Error: {response.status_code} {response.reason}')23
1import 요청2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateasset'5헤더 = {6'Accept': 'application/json',7'Content-Type': 'application/json'8}9데이터 = {10'owner_address': 'OWNER_ADDRESS',11'visible': True12}1314response = requests.post(url, headers=headers, json=data)1516if response.status_code == 200:17data = response.json()18# Handle the response data here19print(data)20else:21# Handle the error here22print(f'Error: {response.status_code} {response.reason}')23
1require 'net/http'2require 'json'34url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateasset')5http = Net::HTTP.new(url.host, url.port)6http.use_ssl = true78요청 = 순::HTTP::POST.새(URL)9request['Accept'] = 'application/json'10request['Content-Type'] = 'application/json'11request.body = {12owner_address: 'OWNER_ADDRESS',13visible: true14}.to_json1516답변 = http.요청(요청)1718if response.code.to_i == 20019data = JSON.parse(response.body)20# Handle the response data here21puts data22else23# Handle the error here24puts "Error: #{response.code} #{response.message}"25끝26
1require 'net/http'2require 'json'34url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateasset')5http = Net::HTTP.new(url.host, url.port)6http.use_ssl = true78요청 = 순::HTTP::POST.새(URL)9request['Accept'] = 'application/json'10request['Content-Type'] = 'application/json'11request.body = {12owner_address: 'OWNER_ADDRESS',13visible: true14}.to_json1516답변 = http.요청(요청)1718if response.code.to_i == 20019data = JSON.parse(response.body)20# Handle the response data here21puts data22else23# Handle the error here24puts "Error: #{response.code} #{response.message}"25끝26