/accounts/{accountId}/vesting-info REST API Endpoint
Padparameters
accountId
tekenreeks
VERPLICHT
Bezig met laden...
Zoekparameters
at
tekenreeks
Bezig met laden...
Retourzendingen
at
object
Bezig met laden...
hash
tekenreeks
Bezig met laden...
hoogte
tekenreeks
Bezig met laden...
vesting
array
Bezig met laden...
locked
tekenreeks
Bezig met laden...
perBlock
tekenreeks
Bezig met laden...
startingBlock
tekenreeks
Bezig met laden...
Verzoek
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 = {6methode: "GET",7kopteksten: myHeaders,8omleiden: "volgen"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 = {6methode: "GET",7kopteksten: myHeaders,8omleiden: "volgen"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
1import verzoeken2# 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"67nuttige lading = {}8kopteksten = {9'Accept': 'application/json'10}1112antwoord = verzoeken.verzoek("GET", url, headers=headers, gegevens=payload)13afdrukken(reactie.tekst)14
1import verzoeken2# 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"67nuttige lading = {}8kopteksten = {9'Accept': 'application/json'10}1112antwoord = verzoeken.verzoek("GET", url, headers=headers, gegevens=payload)13afdrukken(reactie.tekst)14
1vereisen "uri"2vereisen "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.nieuw(url.host, url.poort)9https.use_ssl = true1011verzoek = Netto::HTTP::Get.new(url)1213antwoord = https.verzoek(verzoek)14geeft het antwoord weer.read_body15
1vereisen "uri"2vereisen "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.nieuw(url.host, url.poort)9https.use_ssl = true1011verzoek = Netto::HTTP::Get.new(url)1213antwoord = https.verzoek(verzoek)14geeft het antwoord weer.read_body15
Heb je nog geen account?
Maak binnen enkele seconden je Quicknode-eindpunt aan en ga aan de slag
Ga gratis aan de slag