/wallet/updateasset REST API Endpoint
身体パラメータ
owner_address
文字列
必須
読み込み中...
説明
文字列
必須
読み込み中...
url
文字列
必須
読み込み中...
new_limit
整数
必須
読み込み中...
new_public_limit
整数
必須
読み込み中...
permission_id
整数
読み込み中...
表示されている
ブール値
読み込み中...
返品
表示されている
読み込み中...
txid
読み込み中...
raw_data
読み込み中...
契約
読み込み中...
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「承諾」: '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 here15コンソール.log(データ);16})17.catchcatch(エラー => {18// Handle any errors here19コンソール.エラー(エラー);20});21
1fetch('https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateasset', {2メソッド: 'POST',3headers: {4「承諾」: '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 here15コンソール.log(データ);16})17.catchcatch(エラー => {18// Handle any errors here19コンソール.エラー(エラー);20});21
1import リクエスト2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/updateasset'5ヘッダー = {6「承諾」: '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「承諾」: '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 = ネット::HTTP.new(url.ホスト, url.ポート)6http.use_ssl = true78リクエスト = ネット::HTTP::POST.new(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 = ネット::HTTP.new(url.ホスト, url.ポート)6http.use_ssl = true78リクエスト = ネット::HTTP::POST.new(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