Class CreateFileParams
File creation parameters.
Inherited Members
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class CreateFileParams
Properties
| Improve this Doc View SourceContents
The initial contents of the file.
Declaration
public ReadOnlyMemory<byte> Contents { get; set; }
Property Value
Type | Description |
---|---|
ReadOnlyMemory<Byte> |
Endorsements
A descriptor of the keys required to sign transactions editing and otherwise manipulating the contents of this file. Only one key is required to sign the transaction to delete the file.
Declaration
public Endorsement[] Endorsements { get; set; }
Property Value
Type | Description |
---|---|
Endorsement[] |
Expiration
Original expiration date for the file, fees will be charged as appropriate.
Declaration
public DateTime Expiration { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
Memo
A short description of the file.
Declaration
public string Memo { get; set; }
Property Value
Type | Description |
---|---|
String |
Signatory
Additional private key, keys or signing callback method required to create to this file. Typically matches the Endorsements associated with this file.
Declaration
public Signatory Signatory { get; set; }
Property Value
Type | Description |
---|---|
Signatory |
Remarks
Keys/callbacks added here will be combined with those already identified in the client object's context when signing this transaction to change the state of this account. They will not be asked to sign transactions to retrieve the record if the "WithRecord" form of the method call is made. The client will rely on the Signatory from the context to sign the transaction requesting the record.