/wallet/participateassetissue REST API Endpoint
身體參數
owner_address
字串
必填
載入中...
to_address
字串
必填
載入中...
asset_name
字串
必填
載入中...
金額
整數
必填
載入中...
visible
布林值
載入中...
退貨
visible
載入中...
txid
載入中...
raw_data
載入中...
合約
載入中...
parameter
載入中...
值
載入中...
金額
載入中...
asset_name
載入中...
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/participateassetissue \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"to_address": "RECIEVER_ADDRESS",8"asset_name": "ASSET_NAME",9"visible": true10}11'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/participateassetissue \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"to_address": "RECIEVER_ADDRESS",8"asset_name": "ASSET_NAME",9"visible": true10}11'
1fetch('https://docs-demo.tron-mainnet.quiknode.pro/wallet/participateassetissue', {2方法: 'POST',3headers: {4「接受」: 'application/json',5「Content-Type」: 'application/json'6},7body: JSON.stringify({8owner_address: 'OWNER_ADDRESS',9to_address: 'RECIEVER_ADDRESS',10asset_name: 'ASSET_NAME',11visible: true12})13})14.接著(回應 => response.json())15.then(data => {16// Handle the response data here17console.log(data);18})19.catchcatch(錯誤 => {20// Handle any errors here21控制台.錯誤(錯誤);22});23
1fetch('https://docs-demo.tron-mainnet.quiknode.pro/wallet/participateassetissue', {2方法: 'POST',3headers: {4「接受」: 'application/json',5「Content-Type」: 'application/json'6},7body: JSON.stringify({8owner_address: 'OWNER_ADDRESS',9to_address: 'RECIEVER_ADDRESS',10asset_name: 'ASSET_NAME',11visible: true12})13})14.接著(回應 => response.json())15.then(data => {16// Handle the response data here17console.log(data);18})19.catchcatch(錯誤 => {20// Handle any errors here21控制台.錯誤(錯誤);22});23
1匯入 請求2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/participateassetissue'5標題 = {6「接受」: 'application/json',7「Content-Type」: 'application/json'8}9資料 = {10'owner_address': 'OWNER_ADDRESS',11'to_address': 'RECIEVER_ADDRESS',12'asset_name': 'ASSET_NAME',13'visible': True14}1516response = requests.post(url, headers=headers, json=data)1718if response.status_code == 200:19data = response.json()20# Handle the response data here21print(data)22else:23# Handle the error here24print(f'Error: {response.status_code} {response.reason}')25
1匯入 請求2import json34url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/participateassetissue'5標題 = {6「接受」: 'application/json',7「Content-Type」: 'application/json'8}9資料 = {10'owner_address': 'OWNER_ADDRESS',11'to_address': 'RECIEVER_ADDRESS',12'asset_name': 'ASSET_NAME',13'visible': True14}1516response = requests.post(url, headers=headers, json=data)1718if response.status_code == 200:19data = response.json()20# Handle the response data here21print(data)22else:23# Handle the error here24print(f'Error: {response.status_code} {response.reason}')25
1需要 'net/http'2require 'json'34url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/participateassetissue')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',13to_address: 'RECIEVER_ADDRESS',14asset_name: 'ASSET_NAME',15visible: true16}.to_json1718回應 = http.請求(請求)1920if response.code.to_i == 20021data = JSON.parse(response.body)22# Handle the response data here23puts data24else25# Handle the error here26puts "Error: #{response.code} #{response.message}"27結束28
1需要 'net/http'2require 'json'34url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/participateassetissue')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',13to_address: 'RECIEVER_ADDRESS',14asset_name: 'ASSET_NAME',15visible: true16}.to_json1718回應 = http.請求(請求)1920if response.code.to_i == 20021data = JSON.parse(response.body)22# Handle the response data here23puts data24else25# Handle the error here26puts "Error: #{response.code} #{response.message}"27結束28