[#DecodeDestination-01] = DecodeDestination :mrdocs: `DecodeDestination` overloads == Synopses Declared in `<key_io.h>` Decode an address string into a destination. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CTxDestination.adoc[CTxDestination] xref:DecodeDestination-02.adoc[DecodeDestination](std::string const& str); ---- [.small]#xref:DecodeDestination-02.adoc[_» more..._]# Decode an address string into a destination, reporting parse errors. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:CTxDestination.adoc[CTxDestination] xref:DecodeDestination-0b.adoc[DecodeDestination]( std::string const& str, std::string& error_msg, std::vector<int>* error_locations = nullptr); ---- [.small]#xref:DecodeDestination-0b.adoc[_» more..._]# == Return Value The decoded destination, or a no‐address destination on failure. == Parameters [cols="1,4"] |=== | Name| Description | *str* | The address string to decode. | *error_msg* | Receives a human‐readable error message on failure. | *error_locations* | Optional; receives the character positions of parse errors. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#