Skip to main content

unshield_extra_sighash_data

Function unshield_extra_sighash_data 

Source
pub fn unshield_extra_sighash_data(
    output_address: &[u8],
    unshielding_amount: u64,
) -> Vec<u8> 
Expand description

Builds the transparent extra_data bound into an Unshield’s platform sighash, with the byte layout output_address || unshielding_amount (u64 LE).

As with shielded_withdrawal_extra_sighash_data, the signing (client/builder) and verifying (consensus) sides MUST produce identical bytes, so both call this single function. Unshield credits a transparent platform address (not a Core asset-unlock TxOut), so it carries no core_fee_per_byte/pooling to bind.