/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...
second_token_balance
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--Daten '{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--Daten '{5"id":16}7'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid';23const Daten = {4id: 15};67abrufen(url, {8Methode: 'POST',9headers: {10„akzeptieren“: 'application/json',11'content-type': 'application/json'12},13Körper: 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 Daten = {4id: 15};67abrufen(url, {8Methode: 'POST',9headers: {10„akzeptieren“: 'application/json',11'content-type': 'application/json'12},13Körper: 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"45Daten = {6'id': 17}89Überschriften = {10„akzeptieren“: 'application/json',11'content-type': 'application/json'12}1314Antwort = Anfragen.POST(URL, json=data, headers=Kopfzeilen)15Drucken(Antwort.json())16
1import Anfragen23url = "https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid"45Daten = {6'id': 17}89Überschriften = {10„akzeptieren“: 'application/json',11'content-type': 'application/json'12}1314Antwort = Anfragen.POST(URL, json=data, headers=Kopfzeilen)15Drucken(Antwort.json())16
1require "uri"2require „net/http“3require 'json'45url = URI("https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/getexchangebyid")67Daten = {8'id' => 19}1011Überschriften = {12„akzeptieren“ => 'application/json',13'content-type' => 'application/json'14}1516http = Net::HTTP.new(url.host, URL.Port)17http.use_ssl = true1819Anfrage = Netto::HTTP::POST.new(URL.Pfad, Header)20Anfrage.Inhalt = Daten.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")67Daten = {8'id' => 19}1011Überschriften = {12„akzeptieren“ => 'application/json',13'content-type' => 'application/json'14}1516http = Net::HTTP.new(url.host, URL.Port)17http.use_ssl = true1819Anfrage = Netto::HTTP::POST.new(URL.Pfad, Header)20Anfrage.Inhalt = Daten.to_json2122Antwort = http.Anfrage(Anfrage)23gibt die Antwort aus.Hauptteil
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen