@xo-cash/types
    Preparing search index...

    Type Alias XOTemplateLockingScriptRole

    XOTemplateLockingScriptRole: Partial<XOTemplateViewProperties> & {
        actions?: (...)[];
        balance?: Partial<(...)>;
        privacy?: (...) | (...);
        selectable?: boolean;
        state?: XOTemplateState;
    }

    A role definition within a locking script.

    Type Declaration

    • Optionalactions?: (...)[]

      List of action references available to this role.

    • Optionalbalance?: Partial<(...)>

      Estimated ownership in the optional set of asset amounts 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.
    • Optionalselectable?: boolean

      Whether outputs locked to this script should be available for coin selection.

    • Optionalstate?: XOTemplateState

      List of items to track as state for this role.