/accounts/{accountId}/proxy-info REST API Endpoint
Pfadparameter
accountId
Zeichenkette
ERFORDERLICH
Wird geladen...
Abfrageparameter
bei
Zeichenkette
Wird geladen...
Rücksendungen
bei
Objekt
Wird geladen...
Hash
Zeichenkette
Wird geladen...
Höhe
Zeichenkette
Wird geladen...
delegatedAccounts
Array
Wird geladen...
delegate
Zeichenkette
Wird geladen...
delay
Zeichenkette
Wird geladen...
proxyType
Zeichenkette
Wird geladen...
depositHeld
Zeichenkette
Wird geladen...
Anfrage
1# AssetHub (default) - for proxy account info on AssetHub parachain2curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/proxy-info' \3--header 'Accept: application/json'45# Polkadot Relaychain - for proxy account info on Relaychain (requires /rc prefix)6curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/proxy-info' \7--header 'Accept: application/json'
1# AssetHub (default) - for proxy account info on AssetHub parachain2curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/proxy-info' \3--header 'Accept: application/json'45# Polkadot Relaychain - for proxy account info on Relaychain (requires /rc prefix)6curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/proxy-info' \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/...)2const myHeaders = new Headers();3myHeaders.anhängen("Accept", "application/json");45const requestOptions = {6Methode: „GET“,7Überschriften: myHeaders,8Weiterleitung: „follow“9};1011fetch("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/proxy-info", requestOptions)12.dann((Antwort) => Antwort.text())13.dann((Ergebnis) => Konsole.log(Ergebnis))14.catch((Fehler) => Konsole.Fehler(Fehler));15
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/...)2const myHeaders = new Headers();3myHeaders.anhängen("Accept", "application/json");45const requestOptions = {6Methode: „GET“,7Überschriften: myHeaders,8Weiterleitung: „follow“9};1011fetch("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/proxy-info", requestOptions)12.dann((Antwort) => Antwort.text())13.dann((Ergebnis) => Konsole.log(Ergebnis))14.catch((Fehler) => Konsole.Fehler(Fehler));15
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/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/proxy-info"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/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/proxy-info"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/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/proxy-info")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/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/proxy-info")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