/accounts/{accountId}/vesting-info REST API Endpoint
경로 매개변수
accountId
문자열
필수
로딩 중...
쿼리 매개변수
at
문자열
로딩 중...
반품
at
객체
로딩 중...
해시
문자열
로딩 중...
높이
문자열
로딩 중...
vesting
배열
로딩 중...
잠김
문자열
로딩 중...
perBlock
문자열
로딩 중...
startingBlock
문자열
로딩 중...
요청
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 = {6메서드: "GET",7헤더: myHeaders,8리디렉션: "follow"9};1011fetch("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/vesting-info", requestOptions)12.그런 다음((응답) => 응답.text())13.그런 다음((결과) => 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 = {6메서드: "GET",7헤더: myHeaders,8리디렉션: "follow"9};1011fetch("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/vesting-info", requestOptions)12.그런 다음((응답) => 응답.text())13.그런 다음((결과) => console.log(result))14.catch((error) => console.error(error));15
1import 요청2# 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"67페이로드 = {}8헤더 = {9'Accept': 'application/json'10}1112답변 = 요청.요청("GET", url, 헤더=헤더, data=페이로드)13인쇄(응답.text)14
1import 요청2# 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"67페이로드 = {}8헤더 = {9'Accept': 'application/json'10}1112답변 = 요청.요청("GET", url, 헤더=헤더, data=페이로드)13인쇄(응답.text)14
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.호스트, url.포트)9https.use_ssl = true1011요청 = 순::HTTP::Get.new(url)1213답변 = https.요청(요청)14응답을 넣습니다.read_body15
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.호스트, url.포트)9https.use_ssl = true1011요청 = 순::HTTP::Get.new(url)1213답변 = https.요청(요청)14응답을 넣습니다.read_body15