The wording “public key script” was likely chosen as a human-readable form of the technical term scriptPubKey
, but it doesn’t seem to be really widespread. Replace it by the more (probably most?) common term “output script” instead. Note that the argument for the decodescript
RPC is not necessarily an output script (it could e.g. be also a redeem script), so in this case we just stay generic and use “script”.
See also the draft BIP “Terminology for Transaction Components” (https://github.com/murchandamus/bips/blob/2022-04-tx-terminology/bip-tx-terminology.mediawiki) from murchandamus which suggests to use “output script” as well.
Affects the help text of the following RPCs:
- decodepsbt
- decoderawtransaction
- decodescript
- getblock (if verbosity=3)
- getrawtransaction (if verbosity=2,3)
- gettxout