ScheduleId is composed of a <shardNum>.<realmNum>.<scheduleNum> (eg. 0.0.10).
- shardNum represents the shard number (
shardId). It will default to 0 today, as Hedera only performs in one shard. - realmNum represents the realm number (
realmId). It will default to 0 today, as realms are not yet supported. - scheduleNum represents the schedule number (
scheduleId)
ScheduleId. When a ScheduleId is requested in a field, be sure enter all three values.
| Constructor | Type | Description |
|---|---|---|
new ScheduleId(<shardNum>,<realmNum>,<scheduleNum>) | long, long, long | Constructs a ScheduleId with 0 for shardNum and realmNum (e.g., 0.0.<scheduleNum>) |
Example
- Java
- JavaScript
- Go
- Rust