The number of Ethereum blocks to wait before voting on a proposal may begin. This value is added to the current block number when a proposal is created. This can be changed through governance.
function votingDelay() returns (uint)
- RETURN: Number of blocks to wait before voting on a proposal may begin.
GovernorAlpha gov = GovernorAlpha(0x123...); // contract address
uint blocks = gov.votingDelay();
const blocks = await gov.methods.votingDelay().call();
Would you like more info? Visit our Github!