Produces the textual (policy‐language) representation of this Miniscript.

Synopsis

Declared in <script/miniscript.h>

template<typename CTx>
std::optional<std::string>
ToString(CTx const& ctx) const;

Return Value

The string form, or std::nullopt if a key cannot be represented.

Parameters

Name

Description

ctx

Context providing key‐to‐string conversions.

Created with MrDocs