Skip to main content

FileUpdateTransactionBody

Modify the metadata and/or contents of a file. If a field is not set in the transaction body, the corresponding file attribute will be unchanged. This transaction must be signed by all the keys in the key list of the file being updated. If the keys themselves are being update, then the transaction must also be signed by all the new keys.
FieldTypeDescription
fileIDFileIDThe ID of the file to update
expirationTimeTimestampThe new expiry time (ignored if not later than the current expiry)
keysKeyListThe new list of keys that can modify or delete the file
contentsbytesThe new contents that should overwrite the file’s current contents
memostringThe memo associated with the file (UTF-8 encoding max 100 bytes)