/wallet/getassetissuebyid REST API Endpoint
Körperparameter
Wert
Ganzzahl
ERFORDERLICH
Wird geladen...
Rücksendungen
owner_address
Wird geladen...
Name
Wird geladen...
Name
Wird geladen...
total_supply
Wird geladen...
trx_num
Wird geladen...
precision
Wird geladen...
num
Wird geladen...
start_time
Wird geladen...
end_time
Wird geladen...
Beschreibung
Wird geladen...
URL
Wird geladen...
id
Wird geladen...
Anfrage
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getassetissuebyid \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--Daten '5{6"value":10000017}8'
1curl https://docs-demo.tron-mainnet.quiknode.pro/wallet/getassetissuebyid \2--header 'accept: application/json' \3--header 'content-type: application/json' \4--Daten '5{6"value":10000017}8'
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getassetissuebyid';2const Kopfzeilen = {3„Akzeptieren“: 'application/json',4„Content-Type“: 'application/json'5};67const Daten = {8value: 10000019};1011abrufen(url, {12Methode: 'POST',13Überschriften: Kopfzeilen,14Körper: JSON.stringify(data)15})16.dann(Antwort => Antwort.json())17.dann(Ergebnis => {18Konsole.Protokoll(Ergebnis);19})20.catch(Fehler => {21Konsole.Fehler(Fehler);22});23
1const url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getassetissuebyid';2const Kopfzeilen = {3„Akzeptieren“: 'application/json',4„Content-Type“: 'application/json'5};67const Daten = {8value: 10000019};1011abrufen(url, {12Methode: 'POST',13Überschriften: Kopfzeilen,14Körper: JSON.stringify(data)15})16.dann(Antwort => Antwort.json())17.dann(Ergebnis => {18Konsole.Protokoll(Ergebnis);19})20.catch(Fehler => {21Konsole.Fehler(Fehler);22});23
1import Anfragen23url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getassetissuebyid'45Überschriften = {6„akzeptieren“: 'application/json',7'content-type': 'application/json'8}910Daten = {11'value': 100000112}1314Antwort = Anfragen.POST(URL, json=data, headers=Kopfzeilen)1516wenn Antwort.status_code == 200:17Drucken(Antwort.json())18sonst:19Drucken('Anfrage fehlgeschlagen mit Statuscode:', Antwort.status_code)20
1import Anfragen23url = 'https://docs-demo.tron-mainnet.quiknode.pro/wallet/getassetissuebyid'45Überschriften = {6„akzeptieren“: 'application/json',7'content-type': 'application/json'8}910Daten = {11'value': 100000112}1314Antwort = Anfragen.POST(URL, json=data, headers=Kopfzeilen)1516wenn Antwort.status_code == 200:17Drucken(Antwort.json())18sonst:19Drucken('Anfrage fehlgeschlagen mit Statuscode:', Antwort.status_code)20
1require 'net/http'2require 'json'3benötigen 'uri'45url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/getassetissuebyid')67http = Net::HTTP.new(url.host, URL.Port)8http.use_ssl = true910Überschriften = {11„Akzeptieren“ => 'application/json',12'Content-Type' => 'application/json'13}1415Daten = {16'value' => 100000117}1819Anfrage = Netto::HTTP::POST.new(URL)20Anfrage.Inhalt = Daten.to_json21Überschriften.jeder { |Schlüssel, Wert| Anfrage[Schlüssel] = Wert }2223Antwort = http.Anfrage(Anfrage)2425wenn Antwort.Code.to_i == 20026Ergebnis = JSON.parse(response.body)27gibt das Ergebnis aus28sonst29puts "Request failed with status code: #{response.code}"30Ende31
1require 'net/http'2require 'json'3benötigen 'uri'45url = URI('https://docs-demo.tron-mainnet.quiknode.pro/wallet/getassetissuebyid')67http = Net::HTTP.new(url.host, URL.Port)8http.use_ssl = true910Überschriften = {11„Akzeptieren“ => 'application/json',12'Content-Type' => 'application/json'13}1415Daten = {16'value' => 100000117}1819Anfrage = Netto::HTTP::POST.new(URL)20Anfrage.Inhalt = Daten.to_json21Überschriften.jeder { |Schlüssel, Wert| Anfrage[Schlüssel] = Wert }2223Antwort = http.Anfrage(Anfrage)2425wenn Antwort.Code.to_i == 20026Ergebnis = JSON.parse(response.body)27gibt das Ergebnis aus28sonst29puts "Request failed with status code: #{response.code}"30Ende31
Haben Sie noch kein Konto?
Erstellen Sie Ihren Quicknode-Endpunkt in Sekundenschnelle und legen Sie los
Kostenlos loslegen