pub fn resolve_input(input: String) -> Result<ResolvedInput, Error>Expand description
Classify and resolve the input.
Internally calls parse_input for offline classification, then
for LNURL bech32 strings and Lightning Addresses performs the
HTTP GET to the LNURL endpoint and returns typed pay or withdraw
request data. For BOLT11 invoices and node IDs it returns
immediately without I/O.
Strips lightning: / LIGHTNING: prefixes automatically.
ยงBlocking
This function blocks the calling thread while any network I/O completes. The SDK exposes a synchronous-only public API so that every language binding (Python, Kotlin, Swift, Ruby, C++) works without requiring an async runtime on the caller side. Async work is executed internally on a shared Tokio runtime managed by the SDK.