- Please see the transaction and query fees table for the base transaction fee
- Please use the Hedera fee estimator to estimate your query fee cost
| Field | Description |
|---|---|
| File ID | The Hedera ID of the file |
| Key(s) | The current admin key(s) on the account |
| Size | The number of bytes in the file contents |
| Expiration Time | The current time at which the file is set to expire |
| Deleted | Whether or not the file has been deleted |
| Ledger ID | The ID of the network the response came from. See HIP-198. |
| Memo | A short description, if any |
Query Signing Requirements
- The client operator account paying for the query fees is required to sign
| Constructor | Description |
|---|---|
new FileInfoQuery() | Initializes the FileInfoQuery object |
Methods
| Method | Type | Description |
|---|---|---|
setFileId(<fileId>) | FileId | The ID of the file to get information for (x.y.z) |
Get query values
| Method | Type | Description |
|---|---|---|
getFileId() | FileId | The ID of the file to get contents for (x.z.y) |