(output: Output)
| 131 | } |
| 132 | |
| 133 | export function getOutputSize(output: Output): number { |
| 134 | const encodedOutput = encodeOutput(output); |
| 135 | return encodedOutput.byteLength; |
| 136 | } |
| 137 | |
| 138 | export function encodeOutput(output: Output): Uint8Array { |
| 139 | return encodeTransactionOutput(cashScriptOutputToLibauthOutput(output)); |
no test coverage detected