Show / Hide Table of Contents

Class RemoveConsensusNodeParams

Transaction Parameters for removing a consensus node from the network address book.

Inheritance
object
TransactionParams
TransactionParams<TransactionReceipt>
RemoveConsensusNodeParams
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 RemoveConsensusNodeParams : TransactionParams<TransactionReceipt>
Remarks

This is a privileged transaction requiring Hedera governing council authorization. The node enters a "pending delete" state immediately, but is fully removed from the network at the next upgrade (freeze with PREPARE_UPGRADE). Node identifiers are never reused after deletion.

Examples

Retire a node by NodeId. Effective at the next address-book rebalance:

// Remove a node from the address book. Effective at the next network
// stake-weight rebalance. The node's AdminKey must sign.
var receipt = await client.RemoveConsensusNodeAsync(nodeId);
Console.WriteLine($"Remove status: {receipt.Status}");

Properties

| Edit this page View Source

CancellationToken

Optional cancellation token to interrupt the submission process.

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

NodeId

The identifier of the node to delete. This field is REQUIRED. The identified node must exist and must not already be deleted.

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

Signatory

Additional private key, keys or signing callback method required to authorize this transaction. Must include the node's admin key or one of the governing council keys.

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