Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface ThresholdKeyOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
ThresholdKey,ThresholdKey.Builder
@Generated
public interface ThresholdKeyOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetKeys()* A list of the keys that MAY satisfy signature requirements of this key.int* A transaction MUST have valid signatures from at least this number of separate keys, from the `keys` list to be authorized by this key.booleanhasKeys()* A list of the keys that MAY satisfy signature requirements of this key.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getThreshold
int getThreshold()* A transaction MUST have valid signatures from at least this number of separate keys, from the `keys` list to be authorized by this key.
uint32 threshold = 1;- Returns:
- The threshold.
-
hasKeys
boolean hasKeys()* A list of the keys that MAY satisfy signature requirements of this key.
.proto.KeyList keys = 2;- Returns:
- Whether the keys field is set.
-
getKeys
KeyList getKeys()* A list of the keys that MAY satisfy signature requirements of this key.
.proto.KeyList keys = 2;- Returns:
- The keys.
-