/accounts/{accountId}/balance-info REST API Endpoint
Path Parameters
accountId
string
REQUIRED
Loading...
Query Parameters
at
string
Loading...
token
string
Loading...
denominated
boolean
Loading...
Returns
at
object
Loading...
hash
string
Loading...
height
string
Loading...
nonce
string
Loading...
tokenSymbol
string
Loading...
free
string
Loading...
reserved
string
Loading...
miscFrozen
string
Loading...
feeFrozen
string
Loading...
frozen
string
Loading...
locks
array
Loading...
id
string
Loading...
amount
string
Loading...
reasons
string
Loading...
Request
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 = {6method: "GET",7headers: myHeaders,8redirect: "follow"9};1011fetch("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/balance-info", requestOptions)12.then((response) => response.text())13.then((result) => 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 = {6method: "GET",7headers: myHeaders,8redirect: "follow"9};1011fetch("https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/balance-info", requestOptions)12.then((response) => response.text())13.then((result) => console.log(result))14.catch((error) => console.error(error));15
1import requests23# 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"56payload = {}7headers = {8'Accept': 'application/json'9}1011response = requests.request("GET", url, headers=headers, data=payload)12print(response.text)13
1import requests23# 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"56payload = {}7headers = {8'Accept': 'application/json'9}1011response = requests.request("GET", url, headers=headers, data=payload)12print(response.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.host, url.port)8https.use_ssl = true910request = Net::HTTP::Get.new(url)1112response = https.request(request)13puts response.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.host, url.port)8https.use_ssl = true910request = Net::HTTP::Get.new(url)1112response = https.request(request)13puts response.read_body14
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free