/wallet/exchangeinject REST API Endpoint
身体パラメータ
owner_address
文字列
必須
読み込み中...
exchange_id
文字列
必須
読み込み中...
token_id
整数
必須
読み込み中...
permission_id
整数
読み込み中...
表示されている
ブール値
読み込み中...
quant
整数
必須
読み込み中...
返品
結果
読み込み中...
メッセージ
読み込み中...
txID
読み込み中...
リクエスト
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"exchange_id": 12,8"token_id": "TOKEN_ID",9"quant": 100,10"visible": true11}12'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '5{6"owner_address": "OWNER_ADDRESS",7"exchange_id": 12,8"token_id": "TOKEN_ID",9"quant": 100,10"visible": true11}12'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject';23const data = {4owner_address: 'OWNER_ADDRESS',5exchange_id: 12,6token_id: 'TOKEN_ID',7quant: 100,8visible: true9};1011fetch(url, {12メソッド: 'POST',13headers: {14'accept': 'application/json',15'content-type': 'application/json'16},17body: JSON.stringify(data)18})19.その後(レスポンス => レスポンス.json())20.その後(データ => コンソール.log(data))21.catchcatch(エラー => console.error(エラー));22
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject';23const data = {4owner_address: 'OWNER_ADDRESS',5exchange_id: 12,6token_id: 'TOKEN_ID',7quant: 100,8visible: true9};1011fetch(url, {12メソッド: 'POST',13headers: {14'accept': 'application/json',15'content-type': 'application/json'16},17body: JSON.stringify(data)18})19.その後(レスポンス => レスポンス.json())20.その後(データ => コンソール.log(data))21.catchcatch(エラー => console.error(エラー));22
1import リクエスト23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject"45データ = {6'owner_address': 'OWNER_ADDRESS',7'exchange_id': 12,8'token_id': 'TOKEN_ID',9'quant': 100,10'visible': True11}1213ヘッダー = {14'accept': 'application/json',15'content-type': 'application/json'16}1718response = requests.post(url, json=data, headers=headers)19印刷(レスポンス.json())20
1import リクエスト23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject"45データ = {6'owner_address': 'OWNER_ADDRESS',7'exchange_id': 12,8'token_id': 'TOKEN_ID',9'quant': 100,10'visible': True11}1213ヘッダー = {14'accept': 'application/json',15'content-type': 'application/json'16}1718response = requests.post(url, json=data, headers=headers)19印刷(レスポンス.json())20
1require "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject")67データ = {8"owner_address" => "OWNER_ADDRESS",9"exchange_id" => 12,10"token_id" => "TOKEN_ID",11"quant" => 100,12"visible" => true13}1415ヘッダー = {16"accept" => "application/json",17"content-type" => "application/json"18}1920http = ネット::HTTP.new(url.ホスト, url.ポート)21http.use_ssl = true2223request = Net::HTTP::Post.new(url, headers)24リクエスト.本文 = data.to_json2526回答 = http.リクエスト(リクエスト)2728レスポンスを格納する。body29
1require "uri"2require "net/http"3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject")67データ = {8"owner_address" => "OWNER_ADDRESS",9"exchange_id" => 12,10"token_id" => "TOKEN_ID",11"quant" => 100,12"visible" => true13}1415ヘッダー = {16"accept" => "application/json",17"content-type" => "application/json"18}1920http = ネット::HTTP.new(url.ホスト, url.ポート)21http.use_ssl = true2223request = Net::HTTP::Post.new(url, headers)24リクエスト.本文 = data.to_json2526回答 = http.リクエスト(リクエスト)2728レスポンスを格納する。body29