Path Parameters
- accountIdstringREQUIRED
The SS58 address of the account.
Query Parameters
- atstring
The block at which to query the vesting info for the specified account.
Returns
- atobject
An object containing information about the state.
- hashstring
The hash of the block at the specified state.
- heightstring
The height of the block at the specified state.
- vestingarray
An array of objects, each representing a vesting schedule
- lockedstring
The amount of funds that are currently locked.
- perBlockstring
The amount of funds that are unlocked per block.
- startingBlockstring
The block number at which the vesting schedule started.
Request
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' \8-H "x-token: AUTH_TOKEN"
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' \8-H "x-token: AUTH_TOKEN"
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("x-token", "AUTH_TOKEN");4myHeaders.append("Accept", "application/json");56const requestOptions = {7method: "GET",8headers: myHeaders,9redirect: "follow"10};1112fetch("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/vesting-info", requestOptions)13.then((response) => response.text())14.then((result) => console.log(result))15.catch((error) => console.error(error));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/...)2const myHeaders = new Headers();3myHeaders.append("x-token", "AUTH_TOKEN");4myHeaders.append("Accept", "application/json");56const requestOptions = {7method: "GET",8headers: myHeaders,9redirect: "follow"10};1112fetch("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/vesting-info", requestOptions)13.then((response) => response.text())14.then((result) => console.log(result))15.catch((error) => console.error(error));16
1import requests2# 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"67payload = {}8headers = {9'x-token': 'AUTH_TOKEN',10'Accept': 'application/json'11}1213response = requests.request("GET", url, headers=headers, data=payload)14print(response.text)15
1import requests2# 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"67payload = {}8headers = {9'x-token': 'AUTH_TOKEN',10'Accept': 'application/json'11}1213response = requests.request("GET", url, headers=headers, data=payload)14print(response.text)15
1require "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.new(url.host, url.port)9https.use_ssl = true1011request = Net::HTTP::Get.new(url)12request["x-token"] = "AUTH_TOKEN"1314response = https.request(request)15puts response.read_body16
1require "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.new(url.host, url.port)9https.use_ssl = true1011request = Net::HTTP::Get.new(url)12request["x-token"] = "AUTH_TOKEN"1314response = https.request(request)15puts response.read_body16
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free