SystemDelete

SystemDeleteTransactionBody

Delete a file or smart contract - can only be done with a Hedera administrative multisignature. When it is deleted, it immediately disappears from the system as seen by the user, but is still stored internally until the expiration time, at which time it is truly and permanently deleted. Until that time, it can be undeleted by the Hedera administrative multisignature. When a smart contract is deleted, the cryptocurrency account within it continues to exist, and is not affected by the expiration time here.

Field

Type

Description

id

oneof

fileID

FileID

The file ID of the file to delete, in the format used in transactions

contractID

ContractID

The contract ID instance to delete, in the format used in transactions

expirationTime

TimestampSeconds

The timestamp in seconds at which the "deleted" file should truly be permanently deleted