Function moonbeam_vrf::vrf_pre_digest
source · pub fn vrf_pre_digest<B, C>(
client: &C,
keystore: &KeystorePtr,
nimbus_id: NimbusId,
parent: H256
) -> Option<DigestItem>where
B: Block<Hash = H256>,
C: ProvideRuntimeApi<B>,
C::Api: VrfApi<B>,
Expand description
Uses the runtime API to get the VRF inputs and sign them with the VRF key that corresponds to the authoring NimbusId.