Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

create_key_path_output

Generate a key-path only Taproot output

Arguments

  • internal_key - The internal public key

Returns

  • Option<TweakedPublicKey> - The tweaked key for key-path spending

Fully qualified path: alexandria_btc::taproot::create_key_path_output

pub fn create_key_path_output(internal_key: u256) -> Option<TweakedPublicKey>