/wallet/participateassetissue REST API Endpoint
身体参数
owner_address
字符串
必填
正在加载...
to_address
字符串
必填
正在加载...
asset_name
字符串
必填
正在加载...
金额
整数
必填
正在加载...
visible
布尔型
正在加载...
退货
visible
正在加载...
txid
正在加载...
原始数据
正在加载...
合同
正在加载...
参数
正在加载...
值
正在加载...
金额
正在加载...
asset_name
正在加载...
owner_address
正在加载...
to_address
正在加载...
type_url
正在加载...
类型
正在加载...
ref_block_bytes
正在加载...
ref_block_hash
正在加载...
到期
正在加载...
时间戳
正在加载...
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.然后(响应 => 响应.json())15.then(data => {16// Handle the response data here17console.log(data);18})19.catch(error => {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.然后(响应 => 响应.json())15.then(data => {16// Handle the response data here17console.log(data);18})19.catch(error => {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
1require '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请求 = Net::HTTP::POST.new(url)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
1require '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请求 = Net::HTTP::POST.new(url)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