Policy class

Properties

hashCode int
The hash code for this object.
no setterinherited
ptr → Policy
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asString() String
inherited
contribution() Satisfaction
How the wallet's descriptor can satisfy this policy node
id() String
Identifier for this policy node
item() SatisfiableItem
Type of this policy node
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requiresPath() bool
Return whether or not a specific path in the policy tree is required to unambiguously create a transaction What this means is that for some spending policies the user should select which paths in the tree it intends to satisfy while signing, because the transaction must be created differently based on that.
satisfaction() Satisfaction
How much a given PSBT already satisfies this policy node in terms of signatures
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited