Smart Account Reference
Owners
getThreshold

getThreshold

Returns the threshold of the Safe account.

Usage


_10
interface ISafe {
_10
function getThreshold() external view returns (uint256);
_10
}
_10
_10
contract Example {
_10
function example() ... {
_10
(uint256 threshold) = (ISafe safe).getThreshold();
_10
}
_10
}

Returns

threshold

  • Type: uint256

Threshold number.

Was this page helpful?