/accounts/{accountId}/vesting-info REST API Endpoint
Parámetros de ruta
accountId
cadena
OBLIGATORIO
Cargando...
Parámetros de consulta
at
cadena
Cargando...
Devoluciones
at
objeto
Cargando...
hash
cadena
Cargando...
altura
cadena
Cargando...
vesting
matriz
Cargando...
locked
cadena
Cargando...
perBlock
cadena
Cargando...
startingBlock
cadena
Cargando...
Solicitud
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.añadir(«Accept», "application/json");45const requestOptions = {6método: «GET»,7encabezados: myHeaders,8redirigir: «seguir»9};1011fetch("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/vesting-info", requestOptions)12.entonces((respuesta) => respuesta.texto())13.entonces((resultado) => consola.log(resultado))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.añadir(«Accept», "application/json");45const requestOptions = {6método: «GET»,7encabezados: myHeaders,8redirigir: «seguir»9};1011fetch("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/vesting-info", requestOptions)12.entonces((respuesta) => respuesta.texto())13.entonces((resultado) => consola.log(resultado))14.catch((error) => console.error(error));15
1import solicitudes2# 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 = {}8encabezados = {9«Aceptar»: 'application/json'10}1112respuesta = solicitudes.solicitud(«GET», url, encabezados=encabezados, datos=carga útil)13imprimir(respuesta.texto)14
1import solicitudes2# 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 = {}8encabezados = {9«Aceptar»: 'application/json'10}1112respuesta = solicitudes.solicitud(«GET», url, encabezados=encabezados, datos=carga útil)13imprimir(respuesta.texto)14
1requiere «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.nuevo(url.host, url.puerto)9https.use_ssl = true1011solicitud = Net::HTTP::Get.nuevo(url)1213respuesta = https.solicitud(solicitud)14inserta la respuesta.read_body15
1requiere «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.nuevo(url.host, url.puerto)9https.use_ssl = true1011solicitud = Net::HTTP::Get.nuevo(url)1213respuesta = https.solicitud(solicitud)14inserta la respuesta.read_body15
¿Aún no tienes una cuenta?
Crea tu punto de conexión de Quicknode en cuestión de segundos y empieza a desarrollar
Empieza gratis