- The client operator private key is required to sign the query request
- 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
| Constructor | Description |
|---|---|
new FileContentsQuery() | Initializes a FileContentsQuery object |
Methods
| Method | Type | Description |
|---|---|---|
setFileId(<fileId>) | FileId | The ID of the file to get contents for (x.z.y) |
Get query values
| Method | Type | Description |
|---|---|---|
getFileId() | FileId | The ID of the file to get contents for (x.z.y) |