/wallet/createassetissue REST API Endpoint
身體參數
owner_address
字串
必填
載入中...
名稱
字串
必填
載入中...
abbr
字串
必填
載入中...
total_supply
整數
必填
載入中...
trx_num
整數
必填
載入中...
num
整數
必填
載入中...
start_time
整數
必填
載入中...
end_time
整數
必填
載入中...
說明
字串
必填
載入中...
url
整數
必填
載入中...
free_asset_net_limit
整數
必填
載入中...
public_free_asset_net_limit
字串
必填
載入中...
frozen_supply
json
必填
載入中...
visible
布林值
載入中...
precision
整數
必填
載入中...
退貨
visible
載入中...
txid
載入中...
raw_data
載入中...
合約
載入中...
parameter
載入中...
值
載入中...
owner_address
載入中...
名稱
載入中...
abbr
載入中...
total_supply
載入中...
frozen_supply
載入中...
precision
載入中...
trx_num
載入中...
num
載入中...
start_time
載入中...
end_time
載入中...
說明
載入中...
url
載入中...
free_asset_net_limit
載入中...
public_free_asset_net_limit
載入中...
public_free_asset_net_usage
載入中...
public_latest_free_net_time
載入中...
type_url
載入中...
類型
載入中...
ref_block_bytes
載入中...
ref_block_hash
載入中...
expiration
載入中...
時間戳記
載入中...
raw_data_hex
載入中...
請求
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/createassetissue \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"name": "TOKEN_NAME",8"abbr": "ABBR",9"description": "DESCRIPTION",10"url": "URL",11"frozen_supply": {12"frozen_amount": FROZEN_AMOUNT,13"frozen_days": FROZEN_DAYS14},15"visible": VISIBLE16}17'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/createassetissue \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"name": "TOKEN_NAME",8"abbr": "ABBR",9"description": "DESCRIPTION",10"url": "URL",11"frozen_supply": {12"frozen_amount": FROZEN_AMOUNT,13"frozen_days": FROZEN_DAYS14},15"visible": VISIBLE16}17'
1fetch('https://docs-demo.tron-mainnet.quiknode.pro/wallet/createassetissue', {2方法: 'POST',3headers: {4「接受」: 'application/json',5「Content-Type」: 'application/json'6},7body: JSON.stringify({8owner_address: 'OWNER_ADDRESS',9name: 'TOKEN_NAME',10abbr: 'ABBR',11description: 'DESCRIPTION',12url: 'URL',13frozen_supply: {14frozen_amount: FROZEN_AMOUNT,15frozen_days: FROZEN_DAYS16},17visible: VISIBLE18})19})20.接著(回應 => response.json())21.then(data => {22// Handle the response data here23console.log(data);24})25.catchcatch(錯誤 => {26// Handle any errors here27控制台.錯誤(錯誤);28});29
1fetch('https://docs-demo.tron-mainnet.quiknode.pro/wallet/createassetissue', {2方法: 'POST',3headers: {4「接受」: 'application/json',5「Content-Type」: 'application/json'6},7body: JSON.stringify({8owner_address: 'OWNER_ADDRESS',9name: 'TOKEN_NAME',10abbr: 'ABBR',11description: 'DESCRIPTION',12url: 'URL',13frozen_supply: {14frozen_amount: FROZEN_AMOUNT,15frozen_days: FROZEN_DAYS16},17visible: VISIBLE18})19})20.接著(回應 => response.json())21.then(data => {22// Handle the response data here23console.log(data);24})25.catchcatch(錯誤 => {26// Handle any errors here27控制台.錯誤(錯誤);28});29
1匯入 請求2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/createassetissue'5標題 = {6「接受」: 'application/json',7「Content-Type」: 'application/json'8}9資料 = {10'owner_address': 'OWNER_ADDRESS',11'name': 'TOKEN_NAME',12'abbr': 'ABBR',13'description': 'DESCRIPTION',14'url': 'URL',15'frozen_supply': {16'frozen_amount': FROZEN_AMOUNT,17'frozen_days': FROZEN_DAYS18},19'visible': VISIBLE20}2122response = requests.post(url, headers=headers, json=data)2324if response.status_code == 200:25data = response.json()26# Handle the response data here27print(data)28else:29# Handle the error here30print(f'Error: {response.status_code} {response.reason}')31
1匯入 請求2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/createassetissue'5標題 = {6「接受」: 'application/json',7「Content-Type」: 'application/json'8}9資料 = {10'owner_address': 'OWNER_ADDRESS',11'name': 'TOKEN_NAME',12'abbr': 'ABBR',13'description': 'DESCRIPTION',14'url': 'URL',15'frozen_supply': {16'frozen_amount': FROZEN_AMOUNT,17'frozen_days': FROZEN_DAYS18},19'visible': VISIBLE20}2122response = requests.post(url, headers=headers, json=data)2324if response.status_code == 200:25data = response.json()26# Handle the response data here27print(data)28else:29# Handle the error here30print(f'Error: {response.status_code} {response.reason}')31
1需要 'net/http'2require 'json'34url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/createassetissue')5http = Net::HTTP.new(url.host, url.port)6http.use_ssl = true78請求 = 淨::HTTP::POST.new(網址)9request['Accept'] = 'application/json'10request['Content-Type'] = 'application/json'11request.body = {12owner_address: 'OWNER_ADDRESS',13name: 'TOKEN_NAME',14abbr: 'ABBR',15description: 'DESCRIPTION',16url: 'URL',17frozen_supply: {18frozen_amount: FROZEN_AMOUNT,19frozen_days: FROZEN_DAYS20},21visible: VISIBLE22}.to_json2324回應 = http.請求(請求)2526if response.code.to_i == 20027data = JSON.parse(response.body)28# Handle the response data here29puts data30else31# Handle the error here32puts "Error: #{response.code} #{response.message}"33結束34
1需要 'net/http'2require 'json'34url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/createassetissue')5http = Net::HTTP.new(url.host, url.port)6http.use_ssl = true78請求 = 淨::HTTP::POST.new(網址)9request['Accept'] = 'application/json'10request['Content-Type'] = 'application/json'11request.body = {12owner_address: 'OWNER_ADDRESS',13name: 'TOKEN_NAME',14abbr: 'ABBR',15description: 'DESCRIPTION',16url: 'URL',17frozen_supply: {18frozen_amount: FROZEN_AMOUNT,19frozen_days: FROZEN_DAYS20},21visible: VISIBLE22}.to_json2324回應 = http.請求(請求)2526if response.code.to_i == 20027data = JSON.parse(response.body)28# Handle the response data here29puts data30else31# Handle the error here32puts "Error: #{response.code} #{response.message}"33結束34