tweakfedpegscript ( RPC)

tweakfedpegscript "claim_script" ( "fedpegscript" )

Returns a tweaked fedpegscript.

1. claim_script    (string, required) Script to tweak the fedpegscript with. For example obtained as a result of getpeginaddress.
2. fedpegscript    (string, optional) Fedpegscript to be used with the claim_script. By default this is the current fedpegscript.

{                       (json object)
  "script" : "hex",     (string) The fedpegscript tweaked with claim_script
  "address" : "str"     (string) The address corresponding to the tweaked fedpegscript