What RPCs can I use to transform an address to a paying script? What RPC(s) can I use to transform an address to a paying script (0014&lt;addr&gt;)?
Try validateaddress, note the scriptPubKey in the output of these examples:
$ bitcoin-cli validateaddress bc1q7ckr2hlws6ku4mlaggvmfqwgs42zjm4qf3s7hy
{
  &quot;isvalid&quot;: true,
  &quot;address&quot;: &quot;bc1q7ckr2hlws6ku4mlaggvmfqwgs42zjm4qf3s7hy&quot;,
  &quot;scriptPubKey&quot;: &quot;0014f62c355fee86adcaeffd4219b481c88554296ea0&quot;,
  &quot;isscript&quot;: false,
  &quot;iswitness&quot;: true,
  &quot;witness_version&quot;: 0,
  &quot;witness_program&quot;: &quot;f62c355fee86adcaeffd4219b481c88554296ea0&quot;
}

$ bitcoin-cli validateaddress 1MWrgo4rm1aoPYFjCCMXgr1e564xVyHCqM
{
  &quot;isvalid&quot;: true,
  &quot;address&quot;: &quot;1MWrgo4rm1aoPYFjCCMXgr1e564xVyHCqM&quot;,
  &quot;scriptPubKey&quot;: &quot;76a914e1080defe0aa086f1d5f698faf614e8f67af6e3b88ac&quot;,
  &quot;isscript&quot;: false,
  &quot;iswitness&quot;: false
}

Update: RPC getaddressinfo will also return the matching output script.