(output: Output)
| 120 | } |
| 121 | |
| 122 | export function isOpReturnOutput(output: Output): output is Output & { to: Uint8Array } { |
| 123 | return typeof output.to !== 'string' && output.to[0] === Op.OP_RETURN; |
| 124 | } |
| 125 | |
| 126 | export function calculateDust(output: Output): number { |
| 127 | const outputSize = getOutputSize(output); |