Function readLockingBytecodeWithPrefix

  • Read the locking bytecode and token prefix (if present) of a transaction Output, beginning at the CompactUint indicating the combined length.

    Parameters

    Returns MaybeReadResult<{
        lockingBytecode: Uint8Array;
        token?: {
            amount: bigint;
            category: Uint8Array;
            nft?: {
                capability: "none" | "mutable" | "minting";
                commitment: Uint8Array;
            };
        };
    }>

Generated using TypeDoc