/walletsolidity/getassetissuebyid REST API Endpoint
身體參數
值
整數
必填
載入中...
退貨
所有者地址
載入中...
名稱
載入中...
abbr
載入中...
total_supply
載入中...
trx_num
載入中...
precision
載入中...
num
載入中...
start_time
載入中...
end_time
載入中...
說明
載入中...
網址
載入中...
id
載入中...
請求
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getassetissuebyid \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"value": TRC_TOKEN_ID7}8'
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getassetissuebyid \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"value": TRC_TOKEN_ID7}8'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getassetissuebyid';2const headers = {3'Accept': 'application/json',4「Content-Type」: 'application/json'5};67const 資料 = {8value: TRC_TOKEN_ID9};1011fetch(url, {12方法: 'POST',13headers: headers,14body: JSON.stringify(data)15})16.then(response => response.json())17.then(result => {18console.log(result);19})20.catch(error => {21console.error(error);22});23
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getassetissuebyid';2const headers = {3'Accept': 'application/json',4「Content-Type」: 'application/json'5};67const 資料 = {8value: TRC_TOKEN_ID9};1011fetch(url, {12方法: 'POST',13headers: headers,14body: JSON.stringify(data)15})16.then(response => response.json())17.then(result => {18console.log(result);19})20.catch(error => {21console.error(error);22});23
1匯入 請求23url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getassetissuebyid'45標題 = {6'accept': 'application/json',7'content-type': 'application/json'8}910data = {11'value': TRC_TOKEN_ID12}1314response = requests.post(url, json=data, headers=headers)1516if response.status_code == 200:17print(response.json())18else:19print('Request failed with status code:', response.status_code)20
1匯入 請求23url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getassetissuebyid'45標題 = {6'accept': 'application/json',7'content-type': 'application/json'8}910data = {11'value': TRC_TOKEN_ID12}1314response = requests.post(url, json=data, headers=headers)1516if response.status_code == 200:17print(response.json())18else:19print('Request failed with status code:', response.status_code)20
1require 'net/http'2require 'json'3require 'uri'45url = URI('https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getassetissuebyid')67http = Net::HTTP.new(url.host, url.port)8http.use_ssl = true910標題 = {11'Accept' => 'application/json',12'Content-Type' => 'application/json'13}1415data = {16'value' => TRC_TOKEN_ID17}1819請求 = 淨額::HTTP::POST.新增(網址)20request.body = data.to_json21headers.each { |key, value| request[key] = value }2223回應 = 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'3require 'uri'45url = URI('https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getassetissuebyid')67http = Net::HTTP.new(url.host, url.port)8http.use_ssl = true910標題 = {11'Accept' => 'application/json',12'Content-Type' => 'application/json'13}1415data = {16'value' => TRC_TOKEN_ID17}1819請求 = 淨額::HTTP::POST.新增(網址)20request.body = data.to_json21headers.each { |key, value| request[key] = value }2223回應 = http.請求(請求)2425if response.code.to_i == 20026result = JSON.parse(response.body)27puts result28else29puts "Request failed with status code: #{response.code}"30結束31