Interface ISingleKeyDefaultEnsurer
Idempotently ensures a SingleKey wallet's CURRENT-signer "Default" contract exists
(Active, Metadata["Source"] == "Default") and reports its script.
Extracted from SingleKeyVtxoRecoveryService so the reconciliation service can depend on (and substitute) a minimal seam rather than the concrete recovery service.
public interface ISingleKeyDefaultEnsurer
Methods
EnsureDefaultAsync(string, CancellationToken)
Ensures the wallet's current-signer Default contract exists and returns its script hex.
Task<string> EnsureDefaultAsync(string walletId, CancellationToken cancellationToken = default)
Parameters
walletIdstringcancellationTokenCancellationToken