/wallet/exchangeinject REST API Endpoint
शरीर के मापदंड
owner_address
डोरी
आवश्यक
लोड हो रहा है...
exchange_id
डोरी
आवश्यक
लोड हो रहा है...
token_id
पूर्णांक
आवश्यक
लोड हो रहा है...
permission_id
पूर्णांक
लोड हो रहा है...
visible
बूलियन
लोड हो रहा है...
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} ;1011फ़ेच ( यूआरएल , {12तरीका : 'डाक' ,13headers: {14'accept': 'application/json',15'content-type': 'application/json'16} ,17body: JSON.stringify(data)18} )19फिर ( प्रतिक्रिया => प्रतिक्रिया . json ( ) )20.then(data => console.log(data))21.catch(error => console.error(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} ;1011फ़ेच ( यूआरएल , {12तरीका : 'डाक' ,13headers: {14'accept': 'application/json',15'content-type': 'application/json'16} ,17body: JSON.stringify(data)18} )19फिर ( प्रतिक्रिया => प्रतिक्रिया . json ( ) )20.then(data => console.log(data))21.catch(error => console.error(error));22
1आयात अनुरोध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)19print(response.json())20
1आयात अनुरोध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)19print(response.json())20
1ज़रूरत होना "उरी"2ज़रूरत होना "नेट/http"3ज़रूरत होना 'जेसन'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 = Net::HTTP.new(url.host, url.port)21http . use_ssl = सत्य2223request = Net::HTTP::Post.new(url, headers)24अनुरोध.बॉडी = डेटा . to_json2526प्रतिक्रिया = http . अनुरोध ( अनुरोध )2728प्रतिक्रिया देता है . शरीर29
1ज़रूरत होना "उरी"2ज़रूरत होना "नेट/http"3ज़रूरत होना 'जेसन'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 = Net::HTTP.new(url.host, url.port)21http . use_ssl = सत्य2223request = Net::HTTP::Post.new(url, headers)24अनुरोध.बॉडी = डेटा . to_json2526प्रतिक्रिया = http . अनुरोध ( अनुरोध )2728प्रतिक्रिया देता है . शरीर29
अब तक कोई खाता नहीं है?
कुछ ही सेकंड में अपना क्विकनोड एंडपॉइंट बनाएं और निर्माण शुरू करें।
मुफ़्त में शुरुआत करें