Create a file
A transaction that creates a new file on a Hedera network. The file is referenced by its file ID which can be obtained from the receipt or record once the transaction reaches consensus on a Hedera network. The file does not have a file name. If the file is too big to create with a single FileCreateTransaction()
, the file can be appended with the remaining content multiple times using the FileAppendTransaction()
.
The maximum file size is 1,024 kB.
Transaction Signing Requirements
The key on the file is required to sign the transaction if different than the client operator account key
Transaction Fees
Please see the transaction and query fees table for base transaction fee
Please use the Hedera fee estimator to estimate your transaction fee cost
File Properties
Methods
The default max transaction fee (1 hbar) is not enough to create a a file. Use setDefaultMaxTransactionFee()
to change the default max transaction fee from 1 hbar to 2 hbars.
Get transaction values
Last updated