getThreshold method

  1. @override
Future<BigInt> getThreshold(
  1. EthereumProvider provider
)
override

"stateMutability": "view", Returns the number of required confirmations for a Safe transaction aka the threshold.

Implementation

@override
Future<BigInt> getThreshold(EthereumProvider provider) async {
  return queryContract<BigInt>(
    provider: provider,
    functionName: SafeContractFunction.getThreshold,
  );
}