This module provides functions and constants for the P2SH-wrapped P2WSH address type, sometimes written P2SH-P2WSH.
- Source:
Members
(static, constant) P2SH_P2WSH :string
Address type constant for "pay-to-script-hash" wrapped "pay-to-witness-script-hash" (P2SH-P2WSH) addresses.
Type:
- string
- Default Value:
- P2SH-P2WSH
- Source:
Methods
(static) estimateMultisigP2SH_P2WSHTransactionVSize(config) → {number}
Estimate the transaction virtual size (vsize) when spending inputs from the same multisig P2SH-P2WSH address.
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object | configuration for the calculation Properties
|
- Source:
Returns:
estimated transaction virtual size in bytes
- Type
- number