Skip to main content

CryptoGetInfoQuery

Get all the information about an account, including the balance. This does not get the list of account records.
FieldTypeDescription
headerQueryHeaderStandard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
accountIDAccountIDThe account ID for which information is requested

CryptoGetInfoResponse

Response when the client sends the node CryptoGetInfoQuery
FieldTypeDescription
headerResponseHeaderStandard response from node to client, including the requested fields: cost, or state proof, or both, or neither

AccountInfo

Response when the client sends the node CryptoGetInfoQuery
FieldTypeDescription
accountIDAccountIDThe account ID for which this information applies
contractAccountIDstringThe Contract Account ID comprising of both the contract instance and the cryptocurrency account owned by the contract instance, in the format used by Solidity
deletedboolIf true, then this account has been deleted, it will disappear when it expires, and all transactions for it will fail except the transaction to extend its expiration date
proxyAccountIDAccountIDThe Account ID of the account to which this is proxy staked. If proxyAccountID is null, or is an invalid account, or is an account that isn’t a node, then this account is automatically proxy staked to a node chosen by the network, but without earning payments. If the proxyAccountID account refuses to accept proxy staking , or if it is not currently running a node, then it will behave as if proxyAccountID was null.
proxyReceivedint64The total number of tinybars proxy staked to this account
keyKeyThe key for the account, which must sign in order to transfer out, or to modify the account in any way other than extending its expiration date.
balanceuint64The current balance of account in tinybars
generateSendRecordThresholduint64[Deprecated v0.8.0] The threshold amount (in tinybars) for which an account record is created (and this account charged for them) for any send/withdraw transaction.
generateReceiveRecordThresholduint64[Deprecated v0.8.0] The threshold amount (in tinybars) for which an account record is created (and this account charged for them) for any transaction above this amount.
receiverSigRequiredIf true, no transaction can transfer to this account unless signed by this account’s key
expirationTimeTimestampThe TimeStamp time at which this account is set to expire
autoRenewPeriodDurationThe duration for expiration time will extend every this many seconds. If there are insufficient funds, then it extends as long as possible. If it is empty when it expires, then it is deleted.
liveHashesClaimAll of the livehashes attached to the account (each of which is a hash along with the keys that authorized it and can delete it )
tokenRelationshipsTokenRelationshipAll tokens related to this account
memostringThe memo associated with the account
ownedNftsint64The number of NFTs owned by this account
max_automatic_token_associationsint32The maximum number of tokens that an Account can be implicitly associated with
aliasbytesThe alias of this account
ledger_idbytesThe ledger ID the response was returned from; please see HIP-198 for the network-specific IDs.