MCPcopy Create free account
hub / github.com/CashScript/cashscript / encodeOutput

Function encodeOutput

packages/cashscript/src/utils.ts:138–140  ·  view source on GitHub ↗
(output: Output)

Source from the content-addressed store, hash-verified

136}
137
138export function encodeOutput(output: Output): Uint8Array {
139 return encodeTransactionOutput(cashScriptOutputToLibauthOutput(output));
140}
141
142export function cashScriptOutputToLibauthOutput(output: Output): LibauthOutput {
143 return {

Callers 1

getOutputSizeFunction · 0.85

Calls 1

Tested by

no test coverage detected