pub fn get_destination_for_key(key: &PubKey, ty: OutputType) -> TxDestination
Expand description

| Get a destination of the requested type | (if possible) to the specified key. | | The caller must make sure LearnRelatedScripts | has been called beforehand. |