class
ScheduleId
The ID for an a cryptocurrency schedule
Construct a ScheduleId
with shard
and realm
being zero.
Construct a ScheduleId
with all fields explicitly set.
fromString
( str
: String
): ScheduleId
Construct an ScheduleId
from a string.
str
must match ^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.((?:[0-9a-fA-F][0-9a-fA-F])+)$
fromBytes
( data
: bytes
): ScheduleId
Deserialize an schedule ID from its the protobuf representation.
fromSolidityAddress
( str
: String
): ScheduleId
Construct an schedule ID from a solidity address.
Serialize this ID into its protobuf representation.
validateChecksum
( client
: Client
): void
Validate the schedule ID's checksum matches the client's network.
Note: The client must contain a network with a known NetworkName
Get the checksum for this schedule ID if it constructed with one.
Stringify this ID into {shard}.{realm}.{num}
toStringWithChecksum
( client
: Client
): String
Stringify this ID into {shard}.{realm}.{num}-{checksum}
using the client's network.
Note: The client must contain a network with a known NetworkName
The shard number (nonnegative)
The realm number (nonnegative)
A nonnegative schedule number unique within its realm