Show / Hide Table of Contents

Class AbortNetworkUpgradeParams

Transaction parameters for aborting a previously scheduled network upgrade.

Inheritance
object
TransactionParams
TransactionParams<TransactionReceipt>
AbortNetworkUpgradeParams
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 AbortNetworkUpgradeParams : TransactionParams<TransactionReceipt>
Examples

Cancel a pending upgrade. Superuser payer only:

// Cancel a currently-prepared or scheduled upgrade. No-op if there
// is no pending upgrade. The superuser key must sign.
var receipt = await client.AbortNetworkUpgradeAsync(new AbortNetworkUpgradeParams());
Console.WriteLine($"Abort 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

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