createblindedaddress (0.21.0.0 RPC)

createblindedaddress "address" "blinding_key"

Creates a blinded address using the provided blinding key.

Arguments:
1. address         (string, required) The unblinded address to be blinded.
2. blinding_key    (string, required) The blinding public key. This can be obtained for a given address using `validateaddress`.

Result:
"str"    (string) The blinded address

Examples:

Create a multisig address from 2 addresses
> elements-cli createblindedaddress HEZk3iQi1jC49bxUriTtynnXgWWWdAYx16 ec09811118b6febfa5ebe68642e5091c418fbace07e655da26b4a845a691fc2d

As a json rpc call
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "createblindedaddress", "params": [HEZk3iQi1jC49bxUriTtynnXgWWWdAYx16, ec09811118b6febfa5ebe68642e5091c418fbace07e655da26b4a845a691fc2d]}' -H 'content-type: text/plain;' http://127.0.0.1:7041/