/transaction/material REST API Endpoint
Pfadparameter
Abfrageparameter
bei
Zeichenkette
Wird geladen...
Metadaten
Zeichenkette
Wird geladen...
Rücksendungen
bei
Objekt
Wird geladen...
Hash
Zeichenkette
Wird geladen...
Höhe
Zeichenkette
Wird geladen...
genesisHash
Zeichenkette
Wird geladen...
chainName
Zeichenkette
Wird geladen...
specName
Zeichenkette
Wird geladen...
specVersion
Zeichenkette
Wird geladen...
txVersion
Zeichenkette
Wird geladen...
Anfrage
1# AssetHub (default) - for transaction material from AssetHub parachain2curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/transaction/material' \3--header 'Accept: application/json'45# Polkadot Relaychain - for transaction material from Relaychain (requires /rc prefix)6curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/rc/transaction/material' \7--header 'Accept: application/json'
1# AssetHub (default) - for transaction material from AssetHub parachain2curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/transaction/material' \3--header 'Accept: application/json'45# Polkadot Relaychain - for transaction material from Relaychain (requires /rc prefix)6curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/rc/transaction/material' \7--header 'Accept: application/json'
1// For Polkadot Relaychain access, add '/rc' after https://docs-demo.dot-mainnet.quiknode.pro/ (e.g., https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/...)23const myHeaders = new Headers();4myHeaders.anhängen("Accept", "application/json");56const requestOptions = {7Methode: „GET“,8Überschriften: myHeaders,9Weiterleitung: „follow“10};1112fetch("https://docs-demo.dot-mainnet.quiknode.pro/transaction/material", requestOptions)13.dann((Antwort) => Antwort.text())14.dann((Ergebnis) => Konsole.log(Ergebnis))15.catch((Fehler) => Konsole.Fehler(Fehler));16
1// For Polkadot Relaychain access, add '/rc' after https://docs-demo.dot-mainnet.quiknode.pro/ (e.g., https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/...)23const myHeaders = new Headers();4myHeaders.anhängen("Accept", "application/json");56const requestOptions = {7Methode: „GET“,8Überschriften: myHeaders,9Weiterleitung: „follow“10};1112fetch("https://docs-demo.dot-mainnet.quiknode.pro/transaction/material", requestOptions)13.dann((Antwort) => Antwort.text())14.dann((Ergebnis) => Konsole.log(Ergebnis))15.catch((Fehler) => Konsole.Fehler(Fehler));16
1import Anfragen2# Für den Zugriff auf die Relaychain von „ Polkadot “ fügen Sie „/rc“ hinter https://docs-demo.dot-mainnet.quiknode.pro/ ein (z. B. https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/...)345url = "https://docs-demo.dot-mainnet.quiknode.pro/transaction/material"6Nutzlast = {}7Kopfzeilen = {8„Akzeptieren“: 'application/json'9}1011Antwort = Anfragen.Anfrage("GET", URL, headers=headers, Daten=Nutzdaten)12Drucken(Antwort.text)13
1import Anfragen2# Für den Zugriff auf die Relaychain von „ Polkadot “ fügen Sie „/rc“ hinter https://docs-demo.dot-mainnet.quiknode.pro/ ein (z. B. https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/...)345url = "https://docs-demo.dot-mainnet.quiknode.pro/transaction/material"6Nutzlast = {}7Kopfzeilen = {8„Akzeptieren“: 'application/json'9}1011Antwort = Anfragen.Anfrage("GET", URL, headers=headers, Daten=Nutzdaten)12Drucken(Antwort.text)13
1require „uri“2require „net/http“3# Für den Zugriff auf die Relaychain von „ Polkadot “ fügen Sie „/rc“ hinter https://docs-demo.dot-mainnet.quiknode.pro/ ein (z. B. https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/...)456url = URI("https://docs-demo.dot-mainnet.quiknode.pro/transaction/material")78https = Net::HTTP.new(url.host, URL.Port)9https.use_ssl = true1011Anfrage = Netto::HTTP::Get.new(URL)1213Antwort = https.Anfrage(Anfrage)14gibt die Antwort aus.read_body15
1require „uri“2require „net/http“3# Für den Zugriff auf die Relaychain von „ Polkadot “ fügen Sie „/rc“ hinter https://docs-demo.dot-mainnet.quiknode.pro/ ein (z. B. https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/...)456url = URI("https://docs-demo.dot-mainnet.quiknode.pro/transaction/material")78https = Net::HTTP.new(url.host, URL.Port)9https.use_ssl = true1011Anfrage = Netto::HTTP::Get.new(URL)1213Antwort = https.Anfrage(Anfrage)14gibt die Antwort aus.read_body15
Hast du noch kein Konto?
Erstellen Sie Ihrenendpoint Sekundenschnelle und legen Sie los
Kostenlos loslegen