needsNonInvokerSigningBy

fun needsNonInvokerSigningBy(includeAlreadySigned: Boolean = false): Set<String>

Get the addresses that need to sign authorization entries.

Returns account or contract addresses (G.., C..) that need to sign auth entries. Useful for multi-sig scenarios where you need to collect signatures.

All three address credential arms are considered. For ADDRESS_WITH_DELEGATES entries the delegate tree is walked depth-first, and every delegate node is reported on the same terms as the top-level address. A node is reported when its signature is void (no signature yet) or, when includeAlreadySigned is true, regardless of its signature. A delegates-only entry whose top-level signature stays void but whose delegate nodes are all signed does not report the top-level address. Source-account (Void) credentials contribute nothing.

Return

Set of addresses that need to sign

Parameters

includeAlreadySigned

Whether to include already-signed entries (default false)

Throws

if not yet simulated