/accounts/{accountId}/vesting-info REST API Endpoint
Parâmetros do caminho
accountId
cadeia de caracteres
OBRIGATÓRIO
A carregar...
Parâmetros de consulta
at
cadeia de caracteres
A carregar...
Devoluções
at
objeto
A carregar...
hash
cadeia de caracteres
A carregar...
altura
cadeia de caracteres
A carregar...
vesting
matriz
A carregar...
locked
cadeia de caracteres
A carregar...
perBlock
cadeia de caracteres
A carregar...
startingBlock
cadeia de caracteres
A carregar...
Pedido
1# AssetHub (default) - for vesting info on AssetHub parachain2curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/vesting-info' \3--header 'Accept: application/json'45# Polkadot Relaychain - for vesting info on Relaychain (requires /rc prefix)6curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/vesting-info' \7--header 'Accept: application/json'
1# AssetHub (default) - for vesting info on AssetHub parachain2curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/vesting-info' \3--header 'Accept: application/json'45# Polkadot Relaychain - for vesting info on Relaychain (requires /rc prefix)6curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/vesting-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/vesting-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/vesting-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/vesting-info"67carga útil = {}8cabeçalhos = {9'Accept': 'application/json'10}1112resposta = pedidos.pedido("GET", url, headers=headers, dados=carga útil)13imprimir(resposta.texto)14
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/vesting-info"67carga útil = {}8cabeçalhos = {9'Accept': 'application/json'10}1112resposta = pedidos.pedido("GET", url, headers=headers, dados=carga útil)13imprimir(resposta.texto)14
1exigir "uri"2require "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/vesting-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"2require "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/vesting-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?
Crie o seu ponto de extremidade Quicknode em segundos e comece a desenvolver
Comece gratuitamente