Show / Hide Table of Contents

Class RegisteredNodeRecord

The consensus record from a successful Create Registered Node transaction, containing the newly assigned registered-node identifier.

Inheritance
object
TransactionReceipt
TransactionRecord
RegisteredNodeRecord
Implements
IEquatable<TransactionReceipt>
IEquatable<TransactionRecord>
IEquatable<RegisteredNodeRecord>
Inherited Members
TransactionRecord.Hash
TransactionRecord.Consensus
TransactionRecord.Memo
TransactionRecord.Fee
TransactionRecord.Transfers
TransactionRecord.TokenTransfers
TransactionRecord.NftTransfers
TransactionRecord.TreasuryTransfer
TransactionRecord.Royalties
TransactionRecord.Associations
TransactionRecord.ParentTransactionConsensus
TransactionRecord.StakingRewards
TransactionReceipt.TransactionId
TransactionReceipt.Status
TransactionReceipt.CurrentExchangeRate
TransactionReceipt.NextExchangeRate
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Hiero
Assembly: Hiero.dll
Syntax
[Experimental("HIERO001", UrlFormat = "https://github.com/bugbytesinc/Hiero/blob/main/docs/blocknode-client-plan.md")]
public sealed record RegisteredNodeRecord : TransactionRecord, IEquatable<TransactionReceipt>, IEquatable<TransactionRecord>, IEquatable<RegisteredNodeRecord>
Remarks

Best-effort when inferred, exactly as for RegisteredNodeReceipt: a registered node whose identifier is 0 cannot be recognised as a registration. Records obtained from GetTransactionRecordAsync(ConsensusClient, TransactionId, CancellationToken, Action<IConsensusContext>?), GetAllTransactionRecordsAsync(ConsensusClient, TransactionId, CancellationToken, Action<IConsensusContext>?) or GetAccountRecordsAsync(ConsensusClient, EntityId, CancellationToken, Action<IConsensusContext>?) therefore arrive as a plain TransactionRecord in that case. No value is lost — the substitution happens only when the value is zero. Test rather than cast:

ulong id = record is RegisteredNodeRecord node ? node.RegisteredNodeId : 0;

Properties

| Edit this page View Source

RegisteredNodeId

The identifier assigned to the newly registered node. This value is unique within the network and is used by discovery (GetRegisteredBlockNodesAsync(MirrorRestClient, CancellationToken, params IMirrorQueryParameter[])) and by later update and delete transactions.

Declaration
public ulong RegisteredNodeId { get; }
Property Value
Type Description
ulong

Implements

IEquatable<T>
IEquatable<T>
IEquatable<T>
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph