/// <summary> /// Pay-to-witness-script-hash (P2WSH) output for script S /// </summary> /// <param name="descriptor"></param> /// <returns></returns> public static ScanTxoutDescriptor WSH(ScanTxoutDescriptor descriptor) { if (descriptor == null) { throw new ArgumentNullException(nameof(descriptor)); } return(new ScanTxoutDescriptor($"wsh({descriptor.ToString()})")); }
public ScanTxoutSetObject(ScanTxoutDescriptor descriptor, int?range = null) { if (descriptor == null) { throw new ArgumentNullException(nameof(descriptor)); } Descriptor = descriptor; Range = range; }