Class RemoveConsensusNodeParams
Transaction Parameters for removing a consensus node from the network address book.
Inheritance
Inherited Members
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 SourceCancellationToken
Optional cancellation token to interrupt the submission process.
Declaration
public CancellationToken? CancellationToken { get; set; }
Property Value
| Type | Description |
|---|---|
| CancellationToken? |
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 |
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 |