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 | oneof | ​ | ​ |
​ | getByKey | ​GetByKeyQuery​ | Get all entities associated with a given key |
​ | getBySolidityID | ​GetBySolidityIDQuery​ | Get the IDs in the format used in transactions, given the format used in Solidity |
​ | contractCallLocal | ​ContractCallLocalQuery​ | Call a function of a smart contract instance |
​ | contractGetInfo | ​ContractGetInfoQuery​ | Get information about a smart contract instance |
​ | contractGetBytecode | ​ContractGetBytecodeQuery​ | Get bytecode used by a smart contract instance |
​ | ContractGetRecords | ​ContractGetRecordsQuery​ | 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 | CryptoGetLiveHash | Get a single livehash from a single account (or null if it doesn't exist) |
​ | cryptoGetProxyStakers | ​CryptoGetStakersQuery​ | 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 | ​FileGetContentsQuery​ | 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 | NetworkGetVersionInfoQuery | Get the version of the network |
​ | tokenGetInfo | TokenGetInfoQuery | Get all information about a token |
​