10 lines
180 B
Solidity
10 lines
180 B
Solidity
|
// SPDX-License-Identifier: MIT
|
||
|
pragma solidity >=0.8.17;
|
||
|
|
||
|
contract GetDifficulty {
|
||
|
function getDifficulty () public view returns (uint256) {
|
||
|
return block.difficulty;
|
||
|
}
|
||
|
}
|
||
|
|