Query Leadership Schedule
cardano_query_leadership_scheduleCalculate a stake pool's leadership schedule for an epoch from VRF key, epoch nonce, relative stake, and slot parameters, returning elected block-production slots.
Instructions
Calculate the leadership schedule for a stake pool operator.
Args:
vrf_signing_key_file (string): Path to VRF signing key file
epoch_nonce (string): 64-character hex epoch nonce
epoch_start_slot (number): Slot number at the start of the epoch
epoch_length (number, optional): Epoch length in slots (default: 432000)
relative_stake (number): Pool's relative stake as a decimal (e.g., 0.001)
active_slot_coeff (number, optional): Active slot coefficient (default: 0.05)
Returns: List of slots where the pool is elected to produce blocks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| epoch_nonce | Yes | 64-character hex epoch nonce | |
| epoch_length | No | Epoch length in slots | |
| relative_stake | Yes | Pool's relative stake as a decimal | |
| epoch_start_slot | Yes | Slot number at the start of the epoch | |
| active_slot_coeff | No | Active slot coefficient | |
| vrf_signing_key_file | Yes | Path to VRF signing key file |