Hedera
Search…
Query

Query

A single query, which is sent from the client to the node. This includes all possible queries. Each Query should not have more than 50 levels.
Field
Type
Description
query
​
​
one of:
​
​
getByKey
​GetByKeyQuery​
Get all entities associated with a given key
getBySolidityID
Get the IDs in the format used in transactions, given the format used in Solidity
contractCallLocal
Call a function of a smart contract instance
contractGetInfo
Get information about a smart contract instance
contractGetBytecode
Get bytecode used by a smart contract instance
ContractGetRecords
Get Records of the contract instance
cryptogetAccountBalance
Get the current balance in a cryptocurrency account
cryptoGetAccountRecords
Get all the records that currently exist for transactions involving an account
cryptoGetInfo
​CryptoGetInfoQuery​
Get all information about an account
cryptoGetLiveHash
Get a single livehash from a single account (or null if it doesn't exist)
cryptoGetProxyStakers
Get all the accounts that proxy stake to a given account, and how much they proxy stake (not yet implemented in the current API)
fileGetContents
Get the contents of a file (the bytes stored in it)
fileGetInfo
​FileGetInfoQuery​
Get information about a file, such as its expiration date
transactionGetReceipt
Get a receipt for a transaction (lasts 180 seconds)
transactionGetRecord
Get a record for a transaction (lasts 1 hour)
transactionGetFastRecord
Get a record for a transaction (lasts 180 seconds)
consensusGetTopicInfo
Get the parameters of and state of a consensus topic.
networkGetVersionInfo
Get the version of the network
tokenGetInfo
​TokenGetInfoQuery​
Get all information about a token
scheduleGetInfo
Get all information about a schedule entity
tokenGetAccountNftInfo
Get a list of NFTs associated with the account
tokenGetNftInfo
Get all information about a NFT
tokenGetNftInfos
Get a list of NFTs for the token
Copy link
Edit on GitHub