pubkey_to_p2sh_p2wpkh_redeemscript
Convert a public key into its P2SH-P2WPKH redeem script for Bitcoin script operations.
Instructions
Get the P2SH-P2WPKH redeemScript for a public key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pubkey | Yes | Public key as a hex string. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |