/accounts/{accountId}/balance-info REST API Endpoint
パスパラメータ
accountId
文字列
必須
読み込み中...
クエリパラメータ
at
文字列
読み込み中...
トークン
文字列
読み込み中...
denominated
ブール値
読み込み中...
返品
at
オブジェクト
読み込み中...
ハッシュ
文字列
読み込み中...
高さ
文字列
読み込み中...
ノンス
文字列
読み込み中...
tokenSymbol
文字列
読み込み中...
free
文字列
読み込み中...
reserved
文字列
読み込み中...
miscFrozen
文字列
読み込み中...
feeFrozen
文字列
読み込み中...
凍った
文字列
読み込み中...
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リダイレクト: "follow"9};1011fetch("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/balance-info", requestOptions)12.その後((レスポンス) => レスポンス.text())13.その後((結果) => コンソール.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/balance-info", requestOptions)12.その後((レスポンス) => レスポンス.text())13.その後((結果) => コンソール.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'Accept': 'application/json'9}1011回答 = リクエスト.リクエスト("GET", url, headers=headers, データ=ペイロード)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'Accept': 'application/json'9}1011回答 = リクエスト.リクエスト("GET", url, headers=headers, データ=ペイロード)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 = ネット::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 = ネット::HTTP.new(url.ホスト, url.ポート)8https.use_ssl = true910リクエスト = ネット::HTTP::Get.new(url)1112回答 = https.リクエスト(リクエスト)13レスポンスを格納する.read_body14