Optionalactions?: (...)[]The actions available for this locking script.
Optionalbalance?: Partial<(...)>Estimated ownership in the optional set of asset amounts specified.
The locking script bytecode.
OptionallockingType?: XOTemplateLockingTypeThe type of locking mechanism. Defaults to 'p2s' if not specified.
Optionalprivacy?: (...) | (...)Privacy level for outputs locked to this script.
number: A numeric privacy level.string: A CashASM expression that evaluates to a privacy level.Optionalroles?: Record<(...), (...)>Specific context for each role participating in this locking script.
Optionalselectable?: booleanWhether outputs locked to this script should be available for coin selection.
Optionalstate?: XOTemplateStateList of items to track as state for all participants.
OptionalunlockingBytecode?: stringOptional default unlocking bytecode when used in automatic coin selection.
A locking script definition in the template.