Creates a Pay-to-Witness-Script-Hash (P2WSH) payment object.
The payment object containing the necessary data.
Optional
Optional payment options.
The P2WSH payment object.
If the required data is missing or invalid.
Creates a Pay-to-Witness-Script-Hash (P2WSH) payment object.