pub fn add_and_get_destination_for_script<T>(
    keystore: &mut FillableSigningProvider<T>,
    script: &Script,
    ty: OutputType
) -> TxDestination
Expand description

| Get a destination of the requested type | (if possible) to the specified script. | | This function will automatically add | the script (and any other necessary | scripts) to the keystore. |