addmultisigaddress - Okcash RPC
addmultisigaddress nrequired ["key",...] ( "account" ) Add a nrequired-to-sign multisignature address to the wallet. Requires a new wallet backup. Each key is a Okcash 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 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. Result: "address" (string) A Okcash address associated with the keys. Examples: Add a multisig address from 2 addresses > okcashd addmultisigaddress 2 "[\"PFenePkaLR13uAttTPGtZRuNqyvUbU9tFz\",\"PGMBwqLidvr1hE2qLVw2sVwzEoShgouVxg\"]" As json rpc call > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "addmultisigaddress", "params": [2, "[\"PFenePkaLR13uAttTPGtZRuNqyvUbU9tFz\",\"PGMBwqLidvr1hE2qLVw2sVwzEoShgouVxg\"]"] }' -H 'content-type: text/plain;' http://127.0.0.1:6969/
Okcash Core RPC documentation.
Okcash version: 5.0.0.3
OK RPC docs at:Github
Rawtransactions
Smsg
Wallet
addmultisigaddress
backupwallet
clearwallettransactions
dumpprivkey
dumpwallet
encryptwallet
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getnewstealthaddress
getreceivedbyaccount
getreceivedbyaddress
getstakinginfo
gettransaction
importprivkey
importstealthaddress
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
liststealthaddresses
listtransactions
listunspent
move
reservebalance
rewindchain
sendmany
sendtoaddress
setaccount
settxfee
signmessage
walletlock
walletpassphrase
walletpassphrasechange
backupwallet
clearwallettransactions
dumpprivkey
dumpwallet
encryptwallet
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getnewstealthaddress
getreceivedbyaccount
getreceivedbyaddress
getstakinginfo
gettransaction
importprivkey
importstealthaddress
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
liststealthaddresses
listtransactions
listunspent
move
reservebalance
rewindchain
sendmany
sendtoaddress
setaccount
settxfee
signmessage
walletlock
walletpassphrase
walletpassphrasechange