addmultisigaddress - Particl RPC

addmultisigaddress nrequired ["key",...] ( "account", bech32, 256bit)

Add a nrequired-to-sign multisignature address to the wallet. Requires a new wallet backup.
Each key is a Particl address or hex-encoded public key.
If 'account' is specified (DEPRECATED), assign address to that account.

Arguments:
1. nrequired        (numeric, required) The number of required signatures out of the n keys or addresses.
2. "keys"         (string, required) A json array of particl addresses or hex-encoded public keys
     [
       "address"  (string) particl address or hex-encoded public key
       ...,
     ]
3. "account"      (string, optional) DEPRECATED. An account to assign the addresses to.
4. bech32             (bool, optional) Use Bech32 encoding.
5. 256bit             (bool, optional) Use 256bit hash.

Result:
"address"         (string) A particl address associated with the keys.

Examples:

Add a multisig address from 2 addresses
> particl-cli addmultisigaddress 2 "[\"PbpVcjgYatnkKgveaeqhkeQBFwjqR7jKBR\",\"PswXnorAgjpAtaySWkPSmWQe3Fc8LmviVc\"]"

As json rpc call
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addmultisigaddress", "params": [2, "[\"PbpVcjgYatnkKgveaeqhkeQBFwjqR7jKBR\",\"PswXnorAgjpAtaySWkPSmWQe3Fc8LmviVc\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:51935/


This is a website, created out of frustration with uncomplete and outdated Particl Core RPC documentation online.

Particl version: 0.16.0.1

Note that the RPC is from a regtest node (for completeness), so it includes some additional calls that a regular node doesn't have.


Anon






Mnemonic