Author Topic: OK Tutorials - Command: addmultisigaddress  (Read 1745 times)


  • Administrator
  • Full Member
  • *
  • Posts: 122
  • Trust: 4
    • View Profile
OK Tutorials - Command: addmultisigaddress
« on: April 18, 2017, 05:19:40 PM »

Command: addmultisigaddress

addmultisigaddress nrequired ["key",...] ( "account" )

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

1. nrequired        (numeric, required) The number of required signatures out of the n keys or addresses.
2. "keys"         (string, required) A json array of okcash addresses or hex-encoded public keys
       "address"  (string) okcash address or hex-encoded public key
3. "account"      (string, optional) DEPRECATED. An account to assign the addresses to.

"address"         (string) An okcash address associated with the keys.


Add a multisig address from 2 addresses
> okcashd addmultisigaddress 2 "[\"P16sSauSf5pF2UkUwvKGq4qjNRzBZYqgEL5\",\"P171sgjn4YtPu27adkKGrdDwzRTxnRkBfKV\"]"