Class SystemRestoreContractParams
Transaction parameters for administratively restoring a previously deleted contract.
Inheritance
SystemRestoreContractParams
Inherited Members
Namespace: Hiero
Assembly: Hiero.dll
Syntax
public sealed class SystemRestoreContractParams : TransactionParams<TransactionReceipt>
Examples
Undo a previous SystemDeleteContractParams within the network's grace window:
// Undo a previous SystemDeleteContractAsync within the grace window.
var receipt = await client.SystemRestoreContractAsync(new SystemRestoreContractParams
{
Contract = contract
});
Console.WriteLine($"System restore status: {receipt.Status}");
Properties
| Edit this page View SourceCancellationToken
Optional cancellation token. Cancelling stops the client waiting; it cannot recall a transaction already sent. Cancelled after the send, the outcome is unknown: settle it by its transaction id on a mirror node rather than resubmitting it.
Declaration
public CancellationToken? CancellationToken { get; set; }
Property Value
| Type | Description |
|---|---|
| CancellationToken? |
Contract
The address of the contract to restore.
Declaration
public EntityId Contract { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
Signatory
Optional additional signatories.
Declaration
public Signatory? Signatory { get; set; }
Property Value
| Type | Description |
|---|---|
| Signatory |