getSlotAt
method
Returns information about the proposer slot at the given block height and offset. The offset is optional, it will default to getting the offset for the existing block at the given height. We only have this information available for the last 2 batches at most.
Params
Parameter | Type | Required |
---|---|---|
blockNumber | number | Yes |
offsetOpt | number | Yes |
Result
Property | Type | Required |
---|---|---|
slotNumber | number | Yes |
validator | string | Yes |
publicKey | string | Yes |