getblocktemplate - Okcash RPC
getblocktemplate ( Params ) It returns data needed to construct a block to work on. See https://en.bitcoin.it/wiki/BIP_0022 for full specification. Result: { "version" : block version "previousblockhash" : hash of current highest block "transactions" : contents of non-coinbase transactions that should be included in the next block "coinbaseaux" : data that should be included in coinbase "coinbasevalue" : maximum allowable input to coinbase transaction, including the generation award and transaction fees "target" : hash target "mintime" : minimum timestamp appropriate for next block "curtime" : current timestamp "mutable" : list of ways the block template may be changed "noncerange" : range of valid nonces "sigoplimit" : limit of sigops in blocks "sizelimit" : limit of block size "bits" : compressed target of next block "height" : height of the next block } Examples: > okcashd getblocktemplate > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -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