Minimal Anti Collusion Infrastructure (MACI) / getBlockTimestamp
Variable: getBlockTimestamp()
const
getBlockTimestamp: (signer
) =>Promise
<number
>
Defined in: packages/contracts/build/ts/utils.d.ts:84
Get the timestamp of the current block
Parameters
signer
Signer
the signer to use
Returns
Promise
<number
>
the start time of the current block or the current time