In my test I would like to get the block or block number of when the contract was deployed.
const instance = await MyContract.deployed() const contractDeploymentBlockNumber = await instance.?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community