Interface: WsSubScriptClient
Properties
payload
• payload: string
Payload for the given script type:
- 20-byte hash for "p2pkh" and "p2sh"
- 33-byte or 65-byte pubkey for "p2pk"
- Serialized script for "other"
Defined in
scriptType
• scriptType: ScriptType_InNode
Script type to subscribe to ("p2pkh", "p2sh", "p2pk", "other").