Show / Hide Table of Contents

Class SystemRestoreContractParams

Transaction parameters for administratively restoring a previously deleted contract.

Inheritance
object
TransactionParams
TransactionParams<TransactionReceipt>
SystemRestoreContractParams
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
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 Source

CancellationToken

An optional cancellation token that can be used to interrupt the transaction.

Declaration
public CancellationToken? CancellationToken { get; set; }
Property Value
Type Description
CancellationToken?
| Edit this page View Source

Contract

The address of the contract to restore.

Declaration
public EntityId Contract { get; set; }
Property Value
Type Description
EntityId
| Edit this page View Source

Signatory

Optional additional signatories.

Declaration
public Signatory? Signatory { get; set; }
Property Value
Type Description
Signatory
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph