/wallet/exchangeinject REST API Endpoint
Körperparameter
owner_address
Zeichenkette
ERFORDERLICH
Wird geladen...
exchange_id
Zeichenkette
ERFORDERLICH
Wird geladen...
token_id
Ganzzahl
ERFORDERLICH
Wird geladen...
permission_id
Ganzzahl
Wird geladen...
sichtbar
boolesch
Wird geladen...
quant
Ganzzahl
ERFORDERLICH
Wird geladen...
Rücksendungen
Ergebnis
Wird geladen...
Nachricht
Wird geladen...
txID
Wird geladen...
Anfrage
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 Daten = {4owner_address: 'OWNER_ADDRESS',5exchange_id: 12,6token_id: 'TOKEN_ID',7quant: 100,8sichtbar: true9};1011abrufen(url, {12Methode: 'POST',13headers: {14„akzeptieren“: 'application/json',15'content-type': 'application/json'16},17Körper: JSON.stringify(data)18})19.dann(Antwort => Antwort.json())20.dann(Daten => Konsole.log(Daten))21.catch(Fehler => Konsole.Fehler(Fehler));22
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject';23const Daten = {4owner_address: 'OWNER_ADDRESS',5exchange_id: 12,6token_id: 'TOKEN_ID',7quant: 100,8sichtbar: true9};1011abrufen(url, {12Methode: 'POST',13headers: {14„akzeptieren“: 'application/json',15'content-type': 'application/json'16},17Körper: JSON.stringify(data)18})19.dann(Antwort => Antwort.json())20.dann(Daten => Konsole.log(Daten))21.catch(Fehler => Konsole.Fehler(Fehler));22
1import Anfragen23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject"45Daten = {6'owner_address': 'OWNER_ADDRESS',7'exchange_id': 12,8'token_id': 'TOKEN_ID',9'quant': 100,10'visible': True11}1213Überschriften = {14„akzeptieren“: 'application/json',15'content-type': 'application/json'16}1718Antwort = Anfragen.POST(URL, json=data, headers=Kopfzeilen)19Drucken(Antwort.json())20
1import Anfragen23url = "https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject"45Daten = {6'owner_address': 'OWNER_ADDRESS',7'exchange_id': 12,8'token_id': 'TOKEN_ID',9'quant': 100,10'visible': True11}1213Überschriften = {14„akzeptieren“: 'application/json',15'content-type': 'application/json'16}1718Antwort = Anfragen.POST(URL, json=data, headers=Kopfzeilen)19Drucken(Antwort.json())20
1require "uri"2require „net/http“3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject")67Daten = {8"owner_address" => "OWNER_ADDRESS",9"exchange_id" => 12,10"token_id" => "TOKEN_ID",11"quant" => 100,12"visible" => true13}1415Überschriften = {16"accept" => "application/json",17"content-type" => "application/json"18}1920http = Net::HTTP.new(url.host, URL.Port)21http.use_ssl = true2223request = Net::HTTP::Post.new(url, headers)24Anfrage.Inhalt = Daten.to_json2526Antwort = http.Anfrage(Anfrage)2728gibt die Antwort aus.Hauptteil29
1require "uri"2require „net/http“3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/wallet/exchangeinject")67Daten = {8"owner_address" => "OWNER_ADDRESS",9"exchange_id" => 12,10"token_id" => "TOKEN_ID",11"quant" => 100,12"visible" => true13}1415Überschriften = {16"accept" => "application/json",17"content-type" => "application/json"18}1920http = Net::HTTP.new(url.host, URL.Port)21http.use_ssl = true2223request = Net::HTTP::Post.new(url, headers)24Anfrage.Inhalt = Daten.to_json2526Antwort = http.Anfrage(Anfrage)2728gibt die Antwort aus.Hauptteil29
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen