/accounts/{accountId}/proxy-info REST API Endpoint
Parâmetros do caminho
accountId
cadeia de caracteres
OBRIGATÓRIO
Carregando...
Parâmetros de consulta
at
cadeia de caracteres
Carregando...
Devoluções
at
objeto
Carregando...
hash
cadeia de caracteres
Carregando...
altura
cadeia de caracteres
Carregando...
delegatedAccounts
matriz
Carregando...
delegate
cadeia de caracteres
Carregando...
delay
cadeia de caracteres
Carregando...
proxyType
cadeia de caracteres
Carregando...
depositHeld
cadeia de caracteres
Carregando...
Pedido
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.append("Accept", "application/json");45const requestOptions = {6método: "GET",7cabeçalhos: myHeaders,8redirecionar: "seguir"9};1011fetch("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/proxy-info", requestOptions)12.then((response) => response.text())13.then((result) => console.log(result))14.catch((error) => console.error(error));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.append("Accept", "application/json");45const requestOptions = {6método: "GET",7cabeçalhos: myHeaders,8redirecionar: "seguir"9};1011fetch("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/proxy-info", requestOptions)12.then((response) => response.text())13.then((result) => console.log(result))14.catch((error) => console.error(error));15
1importar pedidos2# 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/...)345url = "https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/proxy-info"6carga útil = {}7cabeçalhos = {8«Aceitar»: 'application/json'9}1011resposta = pedidos.pedido("GET", url, headers=headers, dados=carga útil)12imprimir(resposta.texto)13
1importar pedidos2# 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/...)345url = "https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/proxy-info"6carga útil = {}7cabeçalhos = {8«Aceitar»: 'application/json'9}1011resposta = pedidos.pedido("GET", url, headers=headers, dados=carga útil)12imprimir(resposta.texto)13
1exigir "uri"2necessita de "net/http"3# 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/...)456url = URI("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/proxy-info")78https = Net::HTTP.novo(url.host, url.porta)9https.use_ssl = true1011pedido = Líquido::HTTP::Get.novo(url)1213resposta = https.pedido(pedido)14insere a resposta.read_body15
1exigir "uri"2necessita de "net/http"3# 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/...)456url = URI("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/proxy-info")78https = Net::HTTP.novo(url.host, url.porta)9https.use_ssl = true1011pedido = Líquido::HTTP::Get.novo(url)1213resposta = https.pedido(pedido)14insere a resposta.read_body15
Ainda não tem uma conta?
Crieendpoint seuendpoint Quicknode endpoint segundos e comece a desenvolver
Comece gratuitamente