Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.15 KB

cryptogetaccountbalance.md

File metadata and controls

21 lines (14 loc) · 1.15 KB

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).
accountID AccountID The account 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 The current balance, in tinybars