/accounts/{accountId}/balance-info REST API Endpoint
경로 매개변수
accountId
문자열
필수
로딩 중...
쿼리 매개변수
at
문자열
로딩 중...
토큰
문자열
로딩 중...
denominated
부울
로딩 중...
반품
at
객체
로딩 중...
해시
문자열
로딩 중...
높이
문자열
로딩 중...
논스
문자열
로딩 중...
tokenSymbol
문자열
로딩 중...
free
문자열
로딩 중...
reserved
문자열
로딩 중...
miscFrozen
문자열
로딩 중...
feeFrozen
문자열
로딩 중...
frozen
문자열
로딩 중...
locks
배열
로딩 중...
id
문자열
로딩 중...
금액
문자열
로딩 중...
reasons
문자열
로딩 중...
요청
1# AssetHub (default) - for current AssetHub parachain balance info2curl 'https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/balance-info'34# Polkadot Relaychain - for historical Relaychain balance info (requires /rc prefix)5curl 'https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/balance-info'6
1# AssetHub (default) - for current AssetHub parachain balance info2curl 'https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/balance-info'34# Polkadot Relaychain - for historical Relaychain balance info (requires /rc prefix)5curl 'https://docs-demo.dot-mainnet.quiknode.pro/rc/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/balance-info'6
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리디렉션: "팔로우"9};1011fetch("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/balance-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리디렉션: "팔로우"9};1011fetch("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/balance-info", requestOptions)12.그런 다음((응답) => 응답.text())13.그런 다음((결과) => console.log(result))14.catch((error) => console.error(error));15
1import 요청23# 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/...)4url = "https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/balance-info"56페이로드 = {}7헤더 = {8'수락': 'application/json'9}1011답변 = 요청.요청("GET", url, 헤더=헤더, data=페이로드)12인쇄(응답.text)13
1import 요청23# 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/...)4url = "https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/balance-info"56페이로드 = {}7헤더 = {8'수락': 'application/json'9}1011답변 = 요청.요청("GET", url, 헤더=헤더, data=페이로드)12인쇄(응답.text)13
1require "uri"2require "net/http"34# 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/...)5url = URI("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/balance-info")67https = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::Get.new(url)1112답변 = https.요청(요청)13응답을 반환합니다.read_body14
1require "uri"2require "net/http"34# 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/...)5url = URI("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/balance-info")67https = Net::HTTP.new(url.호스트, url.포트)8https.use_ssl = true910요청 = 순::HTTP::Get.new(url)1112답변 = https.요청(요청)13응답을 반환합니다.read_body14