/wallet/participateassetissue REST API Endpoint
身体パラメータ
owner_address
文字列
必須
読み込み中...
to_address
文字列
必須
読み込み中...
asset_name
文字列
必須
読み込み中...
金額
整数
必須
読み込み中...
表示されている
ブール値
読み込み中...
返品
表示されている
読み込み中...
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.その後(レスポンス => レスポンス.json())15.then(data => {16// Handle the response data here17コンソール.log(データ);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.その後(レスポンス => レスポンス.json())15.then(data => {16// Handle the response data here17コンソール.log(データ);18})19.catchcatch(エラー => {20// Handle any errors here21コンソール.エラー(エラー);22});23
1import リクエスト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
1import リクエスト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 = ネット::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',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 = ネット::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',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