Class Address
Represents a Hedera Network Account Address.
Implements
Inherited Members
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class Address : IEquatable<Address>
Constructors
| Improve this Doc View SourceAddress(Int64, Int64, Int64)
Public Constructor, an
Address
is immutable after creation.
Declaration
public Address(long shardNum, long realmNum, long accountNum)
Parameters
Type | Name | Description |
---|---|---|
Int64 | shardNum | Network Shard Number |
Int64 | realmNum | Network Realm Number |
Int64 | accountNum | Network Account Number |
Properties
| Improve this Doc View SourceAccountNum
Network Account Number for Account
Declaration
public long AccountNum { get; }
Property Value
Type | Description |
---|---|
Int64 |
None
A special designation of an address that can't be created. It represents the absence of a valid address. The network will intrepret as "no account/file/topic/token/contract" when applied to change parameters. (typically the value null is intepreted as "make no change"). In this way, it is possible to remove a auto-renew account from a topic.
Declaration
public static Address None { get; }
Property Value
Type | Description |
---|---|
Address |
RealmNum
Network Realm Number for Account
Declaration
public long RealmNum { get; }
Property Value
Type | Description |
---|---|
Int64 |
ShardNum
Network Shard Number for Account
Declaration
public long ShardNum { get; }
Property Value
Type | Description |
---|---|
Int64 |