Hedera
Search…
Schedule ID
The entity ID of a schedule transaction.
A 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)
Together these values make up your 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
1
ScheduleId scheduleID = new ScheduleId(0,0,10);
2
System.out.println(scheduleID)
Copied!
1
const scheduleID = new ScheduleId(0,0,10);
2
console.log(scheduleID)
Copied!
Last modified 6d ago
Copy link
Contents
Example