importwallet - Okcash RPC
importwallet "filename" Imports keys from a wallet dump file (see dumpwallet). Requires a new wallet backup to include imported keys. Arguments: 1. "filename" (string, required) The wallet file Examples: Dump the wallet > okcashd dumpwallet "test" Import the wallet > okcashd importwallet "test" Import using the json rpc call > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "importwallet", "params": ["test"] }' -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