Class FileDeleteTransaction


public final class FileDeleteTransaction extends Transaction<FileDeleteTransaction>

A transaction to delete a file on the Hedera network.

When deleted, a file's contents are truncated to zero length and it can no longer be updated or appended to, or its expiration time extended. FileContentsQuery and FileInfoQuery will throw PrecheckStatusException with a status of Status.FILE_DELETED.

Only one of the file's keys needs to sign to delete the file, unless the key you have is part of a KeyList.