Skip to main content

calcRefScriptsSize

Calculates the total size of reference scripts in unique inputs

export function calcRefScriptsSize(
  inputs: TxInput[],
  refInputs: undefined | TxInput[]
): bigint