Skip to content

Commit

Permalink
Merge pull request #3 from Matvei-Vasily/rpc-method
Browse files Browse the repository at this point in the history
add rpc method
  • Loading branch information
peerchemist committed Jan 28, 2020
2 parents a233129 + a2cf9f5 commit e8ef987
Showing 1 changed file with 50 additions and 46 deletions.
96 changes: 50 additions & 46 deletions src/RpcClient.php
Expand Up @@ -2,54 +2,58 @@
namespace Peercoin;

/**
* @method RpcClient getInfo()
*
* @method RpcClient walletPassphrase($passphrase, $timeout = 99999999, $mintOnly = true)
*
* @method RpcClient getBlock($blockHash)
* @method RpcClient getBlockCount()
* @method RpcClient getBlockHash($index)
*
* @method RpcClient getTransaction($transactionId)
* @method RpcClient getBalance($account = "", $minConf = 6)
* @method RpcClient getReceivedByAddress($account = "", $minConf = 1)
*
* @method RpcClient getDifficulty()
* @method RpcClient getPeerInfo()
*
* @method RpcClient getAddressesByAccount($account = "")
* @method RpcClient getNewAddress($label = "")
* @method RpcClient getAccount($address = "")
* @method RpcClient getNewAddress($account, $addressType)
* @method RpcClient getAccountAddress($account)
* @method RpcClient sendToAddress($recvAddr, $amount, $comment = "")
* @method RpcClient sendFrom($account, $address, $amount)
* @method RpcClient sendMany($recvDict, $account = "", $comment = "")
*
* @method RpcClient getConnectionCount()
*
* @method RpcClient getRawTransaction($transactionId, $verbose = 0)
* @method RpcClient getRawMempool()
*
* @method RpcClient listTransactions($account = "", $many = 999, $since = 0)
* @method RpcClient listReceivedByAddress($minConf = 0, $includeEmpty = true)
* @method RpcClient listReceivedByAccount($minConf = 0, $includeEmpty = true)
* @method RpcClient listAccounts($minConf = 1)
* @method RpcClient listUnspent($minConf = 1, $maxConf = 999999)
*
* @method RpcClient dumpPrivKey($address)
* @method RpcClient importPrivKey($wif, $accountName = "")
*
* @method RpcClient createRawTransaction($inputs, $outputs)
* @method RpcClient decodeRawTransaction($transactionHash)
* @method RpcClient signRawTransaction($rawTransactionHash)
* @method RpcClient sendRawTransaction($signedRawTransactionHash)
*
* @method RpcClient validateAddress($address)
*
* @method RpcClient signMessage($address, string $message)
* @method RpcClient verifyMessage($address, $signature, $message)
*
* @method RpcClient getRawChangeAddress($addressType)
* @method RpcClient setAccount($address, $account)
* @method RpcClient getAccount($address)
* @method RpcClient getAddressesByAccount($account)
* @method RpcClient sendToAddress($address, $amount, $comment, $commentTo, $subtractfeefromamount, $replaceable, $confTarget)
* @method RpcClient listAddressGroupings()
* @method RpcClient signMessage($address, $message)
* @method RpcClient getReceivedByAddress($account, $minConf = 1)
* @method RpcClient getReceivedByAccount($account, $minConf = 1)
* @method RpcClient getBalance($account, $minConf = 1, $includeWatchonly = false)
* @method RpcClient getUnconfirmedBalance()
* @method RpcClient move($fromaccount, $toaccount, $amount, $minconf = 1, $comment = "")
* @method RpcClient sendFrom($fromaccount, $toaccount, $amount, $minconf = 1, $comment = "", $commentTo = "")
* @method RpcClient sendMany($fromaccount, $amounts, $minconf = 1, $comment = "", $subtractfeefrom, $replaceable, $confTarget)
* @method RpcClient addMultiSigAddress($nrequired, $keys, $account, $addressType)
* @method RpcClient addWitnessAddress($address, $p2sh)
* @method RpcClient listReceivedByAddress($minConf = 1, $includeEmpty = false, $includeWatchonly = false)
* @method RpcClient listReceivedByAccount($minConf = 1, $includeEmpty = false, $includeWatchonly = false)
* @method RpcClient listTransactions($account, $count = 10, $skip = 0, $includeWatchonly = false)
* @method RpcClient listAccounts($minConf = 1, $includeWatchonly = false)
* @method RpcClient listSinceBlock()
* @method RpcClient getTransaction($transactionId, $includeWatchonly = false)
* @method RpcClient abandonTransaction($transactionID)
* @method RpcClient backupWallet($destination)
* @method RpcClient keyPoolRefill($newsize)
* @method RpcClient walletPassphrase($passphrase, $timeout)
* @method RpcClient walletPassphraseChange($oldpassphrase, $newpassphrase)
* @method RpcClient walletLock()
* @method RpcClient encryptWallet($passPhrase)
* @method RpcClient lockUnspent($unlock, $transactions)
* @method RpcClient listLockUnspent()
* @method RpcClient getWalletInfo()
* @method RpcClient listWallets()
* @method RpcClient resendWalletTransactions()
* @method RpcClient listUnspent($minConf = 1, $maxConf = 999999, $addresses, $include_unsafe, $query_options)
* @method RpcClient fundRawtTransaction($hexstring, $options, $isWitness)
* @method RpcClient generate($nblocks, $maxtries)
* @method RpcClient rescanBlockchain($startHeight, $stopHeight)
* @method RpcClient listMinting($count, $from)
* @method RpcClient makeKeyPair($prefix)
* @method RpcClient showKeyPair($hexprivkey)
* @method RpcClient reserveBalance($reserve, $amount)
* @method RpcClient abortRescan()
* @method RpcClient dumpPrivKey($address)
* @method RpcClient importPrivKey($privkey, $label, $rescan = true)
* @method RpcClient importAddress($address, $label, $rescan, $p2sh)
* @method RpcClient importPubKey($pubkey, $label, $rescan)
* @method RpcClient dumpWallet($filename)
* @method RpcClient importWallet($filename)
* @method RpcClient importMulti($requests, $options)
*/

class RpcClient
Expand Down

0 comments on commit e8ef987

Please sign in to comment.