Hedera
Search…
Hedera
Hedera
Mainnet
Testnets
Mirrornet
Getting Started
Introduction
Environment Set-up
Create an account
Transfer hbar
Try Examples! 👩💻
Core Concepts
Accounts
Keys and Signatures
Scheduled Transaction
Smart Contracts
Hashgraph Consensus Algorithm
Transactions and Queries
State and History
Mirror Nodes
Documentation
Release Notes
SDKs
Hedera API
Basic Types
Cryptocurrency Accounts
CryptoService
CryptApproveAllowance
CryptoDeleteAllowance
CryptoCreate
CryptoTransfer
CryptoUpdate
CryptoDelete
CryptoGetAccountBalance
CryptoGetAccountRecords
CryptoGetInfo
CryptoGetStakers
Consensus Service
Schedule Service
Token Service
File Service
Smart Contracts
Miscellaneous
Mirror Node API
Integrating a Hedera Token Service Token
Record and Event Stream File Formats
Changelog
GitHub
Resources
Starter Projects
Demo Applications
Tutorials
Support & Community
Developer Chat
Meetups
Hedera FAQ
Status Page
Brand Guidelines
Powered By
GitBook
CryptoGetAccountBalance
CryptoGetAccountBalanceQuery
Get the balance of a cryptocurrency account. This returns only the balance, so it is a smaller and faster reply than CryptoGetInfo, which returns the balance plus additional information.
Field
Type
Description
header
QueryHeader
Standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
one of:
accountID
AccountID
The account ID for which information is requested
contractID
ContractID
The contract ID for which information is requested
CryptoGetAccountBalanceResponse
Response when the client sends the node CryptoGetAccountBalanceQuery
Field
Type
Description
header
ResponseHeader
Standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
accountID
AccountID
The account ID that is being described (this is useful with state proofs, for proving to a third party)
balance
uint64
The current balance, in tinybars
tokenBalances
TokenBalance
The array of tokens that the account possesses
Previous
CryptoDelete
Next
CryptoGetAccountRecords
Last modified
3mo ago
Copy link
Contents
CryptoGetAccountBalanceQuery
CryptoGetAccountBalanceResponse