/walletsolidity/getexchangebyid REST API Endpoint
Körperparameter
id
Zeichenkette
ERFORDERLICH
Wird geladen...
Rücksendungen
exchange_id
Wird geladen...
creator_address
Wird geladen...
create_time
Wird geladen...
first_token_id
Wird geladen...
first_token_balance
Wird geladen...
second_token_id
Wird geladen...
Saldo des zweiten Tokens
Wird geladen...
Anfrage
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '{5"id":16}7'
1curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--data '{5"id":16}7'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid';23const data = {4id: 15};67abrufen(url, {8Methode: 'POST',9headers: {10„akzeptieren“: 'application/json',11'content-type': 'application/json'12},13body: JSON.stringify(data)14})15.dann(Antwort => Antwort.json())16.dann(Daten => Konsole.log(Daten))17.catch(Fehler => Konsole.Fehler(Fehler));18
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid';23const data = {4id: 15};67abrufen(url, {8Methode: 'POST',9headers: {10„akzeptieren“: 'application/json',11'content-type': 'application/json'12},13body: JSON.stringify(data)14})15.dann(Antwort => Antwort.json())16.dann(Daten => Konsole.log(Daten))17.catch(Fehler => Konsole.Fehler(Fehler));18
1import Anfragen23url = "https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid"45data = {6'id': 17}89Kopfzeilen = {10„akzeptieren“: 'application/json',11'content-type': 'application/json'12}1314response = requests.post(url, json=data, headers=headers)15Drucken(Antwort.json())16
1import Anfragen23url = "https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid"45data = {6'id': 17}89Kopfzeilen = {10„akzeptieren“: 'application/json',11'content-type': 'application/json'12}1314response = requests.post(url, json=data, headers=headers)15Drucken(Antwort.json())16
1require „uri“2require „net/http“3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid")67data = {8'id' => 19}1011Kopfzeilen = {12„akzeptieren“ => 'application/json',13'content-type' => 'application/json'14}1516http = Net::HTTP.new(url.host, URL.Port)17http.use_ssl = true1819request = Net::HTTP::Post.new(url.path, headers)20request.body = data.to_json2122Antwort = http.Anfrage(Anfrage)23gibt die Antwort aus.Hauptteil
1require „uri“2require „net/http“3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid")67data = {8'id' => 19}1011Kopfzeilen = {12„akzeptieren“ => 'application/json',13'content-type' => 'application/json'14}1516http = Net::HTTP.new(url.host, URL.Port)17http.use_ssl = true1819request = Net::HTTP::Post.new(url.path, headers)20request.body = data.to_json2122Antwort = http.Anfrage(Anfrage)23gibt die Antwort aus.Hauptteil
Hast du noch kein Konto?
Erstellen Sie Ihrenendpoint Sekundenschnelle und legen Sie los
Kostenlos loslegen