public interface BitcoindRpcClient
String createRawTransaction(List<BitcoindRpcClient.TxInput> inputs, List<BitcoindRpcClient.TxOutput> outputs) throws BitcoinRpcException
BitcoinRpcExceptionString dumpPrivKey(String address) throws BitcoinRpcException
BitcoinRpcExceptionString getAccount(String address) throws BitcoinRpcException
BitcoinRpcExceptionString getAccountAddress(String address) throws BitcoinRpcException
BitcoinRpcExceptionList<String> getAddressesByAccount(String account) throws BitcoinRpcException
BitcoinRpcExceptiondouble getBalance()
throws BitcoinRpcException
BitcoinRpcExceptiondouble getBalance(String account) throws BitcoinRpcException
account - BitcoinRpcExceptiondouble getBalance(String account, int minConf) throws BitcoinRpcException
account - minConf - BitcoinRpcExceptionBitcoindRpcClient.Info getInfo() throws BitcoinRpcException
BitcoinRpcExceptionBitcoindRpcClient.MiningInfo getMiningInfo() throws BitcoinRpcException
BitcoinRpcExceptionBitcoindRpcClient.MultiSig createMultiSig(int nRequired, List<String> keys) throws BitcoinRpcException
BitcoinRpcExceptionBitcoindRpcClient.NetworkInfo getNetworkInfo() throws BitcoinRpcException
BitcoinRpcExceptionBitcoindRpcClient.TxOutSetInfo getTxOutSetInfo()
BitcoindRpcClient.WalletInfo getWalletInfo()
BitcoindRpcClient.Block getBlock(int height) throws BitcoinRpcException
BitcoinRpcExceptionBitcoindRpcClient.Block getBlock(String blockHash) throws BitcoinRpcException
BitcoinRpcExceptionString getBlockHash(int height) throws BitcoinRpcException
BitcoinRpcExceptionBitcoindRpcClient.BlockChainInfo getBlockChainInfo() throws BitcoinRpcException
BitcoinRpcExceptionint getBlockCount()
throws BitcoinRpcException
BitcoinRpcExceptionString getNewAddress() throws BitcoinRpcException
BitcoinRpcExceptionString getNewAddress(String account) throws BitcoinRpcException
BitcoinRpcExceptionList<String> getRawMemPool() throws BitcoinRpcException
BitcoinRpcExceptionString getBestBlockHash() throws BitcoinRpcException
BitcoinRpcExceptionString getRawTransactionHex(String txId) throws BitcoinRpcException
BitcoinRpcExceptionBitcoindRpcClient.RawTransaction getRawTransaction(String txId) throws BitcoinRpcException
BitcoinRpcExceptiondouble getReceivedByAddress(String address) throws BitcoinRpcException
BitcoinRpcExceptiondouble getReceivedByAddress(String address, int minConf) throws BitcoinRpcException
address - minConf - BitcoinRpcExceptionvoid importPrivKey(String bitcoinPrivKey) throws BitcoinRpcException
BitcoinRpcExceptionvoid importPrivKey(String bitcoinPrivKey, String label) throws BitcoinRpcException
BitcoinRpcExceptionvoid importPrivKey(String bitcoinPrivKey, String label, boolean rescan) throws BitcoinRpcException
BitcoinRpcExceptionMap<String,Number> listAccounts() throws BitcoinRpcException
BitcoinRpcExceptionMap<String,Number> listAccounts(int minConf) throws BitcoinRpcException
BitcoinRpcExceptionList<BitcoindRpcClient.ReceivedAddress> listReceivedByAddress() throws BitcoinRpcException
BitcoinRpcExceptionList<BitcoindRpcClient.ReceivedAddress> listReceivedByAddress(int minConf) throws BitcoinRpcException
BitcoinRpcExceptionList<BitcoindRpcClient.ReceivedAddress> listReceivedByAddress(int minConf, boolean includeEmpty) throws BitcoinRpcException
BitcoinRpcExceptionBitcoindRpcClient.TransactionsSinceBlock listSinceBlock() throws BitcoinRpcException
BitcoinRpcExceptionBitcoindRpcClient.TransactionsSinceBlock listSinceBlock(String blockHash) throws BitcoinRpcException
BitcoinRpcExceptionBitcoindRpcClient.TransactionsSinceBlock listSinceBlock(String blockHash, int targetConfirmations) throws BitcoinRpcException
BitcoinRpcExceptionList<BitcoindRpcClient.Transaction> listTransactions() throws BitcoinRpcException
BitcoinRpcExceptionList<BitcoindRpcClient.Transaction> listTransactions(String account) throws BitcoinRpcException
BitcoinRpcExceptionList<BitcoindRpcClient.Transaction> listTransactions(String account, int count) throws BitcoinRpcException
BitcoinRpcExceptionList<BitcoindRpcClient.Transaction> listTransactions(String account, int count, int from) throws BitcoinRpcException
BitcoinRpcExceptionList<BitcoindRpcClient.Unspent> listUnspent() throws BitcoinRpcException
BitcoinRpcExceptionList<BitcoindRpcClient.Unspent> listUnspent(int minConf) throws BitcoinRpcException
BitcoinRpcExceptionList<BitcoindRpcClient.Unspent> listUnspent(int minConf, int maxConf) throws BitcoinRpcException
BitcoinRpcExceptionList<BitcoindRpcClient.Unspent> listUnspent(int minConf, int maxConf, String... addresses) throws BitcoinRpcException
BitcoinRpcExceptionString move(String fromAccount, String toBitcoinAddress, double amount) throws BitcoinRpcException
BitcoinRpcExceptionString move(String fromAccount, String toBitcoinAddress, double amount, int minConf) throws BitcoinRpcException
BitcoinRpcExceptionString move(String fromAccount, String toBitcoinAddress, double amount, int minConf, String comment) throws BitcoinRpcException
BitcoinRpcExceptionString sendFrom(String fromAccount, String toBitcoinAddress, double amount) throws BitcoinRpcException
BitcoinRpcExceptionString sendFrom(String fromAccount, String toBitcoinAddress, double amount, int minConf) throws BitcoinRpcException
BitcoinRpcExceptionString sendFrom(String fromAccount, String toBitcoinAddress, double amount, int minConf, String comment) throws BitcoinRpcException
BitcoinRpcExceptionString sendFrom(String fromAccount, String toBitcoinAddress, double amount, int minConf, String comment, String commentTo) throws BitcoinRpcException
fromAccount - toBitcoinAddress - amount - is a real and is rounded to 8 decimal placesminConf - comment - commentTo - BitcoinRpcExceptionString sendRawTransaction(String hex) throws BitcoinRpcException
BitcoinRpcExceptionString sendToAddress(String toAddress, double amount) throws BitcoinRpcException
BitcoinRpcExceptionString sendToAddress(String toAddress, double amount, String comment) throws BitcoinRpcException
BitcoinRpcExceptionString sendToAddress(String toAddress, double amount, String comment, String commentTo) throws BitcoinRpcException
toAddress - amount - is a real and is rounded to 8 decimal placescomment - commentTo - BitcoinRpcExceptionString signRawTransaction(String hex, List<BitcoindRpcClient.ExtendedTxInput> inputs, List<String> privateKeys) throws BitcoinRpcException
BitcoinRpcExceptionvoid setGenerate(boolean doGenerate)
throws BitcoinRPCException
doGenerate - a boolean indicating if blocks must be generated with the
cpuBitcoinRPCExceptionList<String> generate(int numBlocks) throws BitcoinRPCException
numBlocks - a boolean indicating if blocks must be generated with the
cpuBitcoinRPCExceptionBitcoindRpcClient.AddressValidationResult validateAddress(String address) throws BitcoinRpcException
BitcoinRpcExceptiondouble getEstimateFee(int nBlocks)
throws BitcoinRpcException
BitcoinRpcExceptiondouble getEstimatePriority(int nBlocks)
throws BitcoinRpcException
BitcoinRpcExceptionvoid invalidateBlock(String hash) throws BitcoinRpcException
hash - BitcoinRpcExceptionvoid reconsiderBlock(String hash) throws BitcoinRpcException
hash - BitcoinRpcExceptionList<BitcoindRpcClient.PeerInfoResult> getPeerInfo()
void stop()
String getRawChangeAddress()
long getConnectionCount()
double getUnconfirmedBalance()
double getDifficulty()
void ping()
BitcoindRpcClient.DecodedScript decodeScript(String hex)
BitcoindRpcClient.NetTotals getNetTotals()
boolean getGenerate()
double getNetworkHashPs()
boolean setTxFee(BigDecimal amount)
void backupWallet(String destination)
void dumpWallet(String filename)
void importWallet(String filename)
void keyPoolRefill()
BigDecimal getReceivedByAccount(String account)
void encryptWallet(String passPhrase)
void walletPassPhrase(String passPhrase, long timeOut)
boolean verifyChain()
List<BitcoindRpcClient.NodeInfo> getAddedNodeInfo(boolean dummy, String node)
void submitBlock(String hexData)
BitcoindRpcClient.TxOut getTxOut(String txId, long vout)
Copyright © 2017. All rights reserved.