public interface BitcoindRpcClient
String createRawTransaction(List<BitcoindRpcClient.TxInput> inputs, List<BitcoindRpcClient.TxOutput> outputs) throws GenericRpcException
GenericRpcExceptionString dumpPrivKey(String address) throws GenericRpcException
GenericRpcExceptionString getAccount(String address) throws GenericRpcException
GenericRpcExceptionString getAccountAddress(String address) throws GenericRpcException
GenericRpcExceptionList<String> getAddressesByAccount(String account) throws GenericRpcException
GenericRpcExceptiondouble getBalance()
throws GenericRpcException
GenericRpcExceptiondouble getBalance(String account) throws GenericRpcException
account - GenericRpcExceptiondouble getBalance(String account, int minConf) throws GenericRpcException
account - minConf - GenericRpcExceptionBitcoindRpcClient.Info getInfo() throws GenericRpcException
GenericRpcExceptionBitcoindRpcClient.MiningInfo getMiningInfo() throws GenericRpcException
GenericRpcExceptionBitcoindRpcClient.MultiSig createMultiSig(int nRequired, List<String> keys) throws GenericRpcException
GenericRpcExceptionBitcoindRpcClient.NetworkInfo getNetworkInfo() throws GenericRpcException
GenericRpcExceptionBitcoindRpcClient.TxOutSetInfo getTxOutSetInfo()
BitcoindRpcClient.WalletInfo getWalletInfo()
BitcoindRpcClient.Block getBlock(int height) throws GenericRpcException
GenericRpcExceptionBitcoindRpcClient.Block getBlock(String blockHash) throws GenericRpcException
GenericRpcExceptionString getRawBlock(String blockHash) throws GenericRpcException
GenericRpcExceptionString getBlockHash(int height) throws GenericRpcException
GenericRpcExceptionBitcoindRpcClient.BlockChainInfo getBlockChainInfo() throws GenericRpcException
GenericRpcExceptionint getBlockCount()
throws GenericRpcException
GenericRpcExceptionString getNewAddress() throws GenericRpcException
GenericRpcExceptionString getNewAddress(String account) throws GenericRpcException
GenericRpcExceptionList<String> getRawMemPool() throws GenericRpcException
GenericRpcExceptionString getBestBlockHash() throws GenericRpcException
GenericRpcExceptionString getRawTransactionHex(String txId) throws GenericRpcException
GenericRpcExceptionBitcoindRpcClient.RawTransaction getRawTransaction(String txId) throws GenericRpcException
GenericRpcExceptiondouble getReceivedByAddress(String address) throws GenericRpcException
GenericRpcExceptiondouble getReceivedByAddress(String address, int minConf) throws GenericRpcException
address - minConf - GenericRpcExceptionvoid importPrivKey(String bitcoinPrivKey) throws GenericRpcException
GenericRpcExceptionvoid importPrivKey(String bitcoinPrivKey, String label) throws GenericRpcException
GenericRpcExceptionvoid importPrivKey(String bitcoinPrivKey, String label, boolean rescan) throws GenericRpcException
GenericRpcExceptionObject importAddress(String address, String label, boolean rescan) throws GenericRpcException
GenericRpcExceptionMap<String,Number> listAccounts() throws GenericRpcException
GenericRpcExceptionMap<String,Number> listAccounts(int minConf) throws GenericRpcException
GenericRpcExceptionList<BitcoindRpcClient.ReceivedAddress> listReceivedByAddress() throws GenericRpcException
GenericRpcExceptionList<BitcoindRpcClient.ReceivedAddress> listReceivedByAddress(int minConf) throws GenericRpcException
GenericRpcExceptionList<BitcoindRpcClient.ReceivedAddress> listReceivedByAddress(int minConf, boolean includeEmpty) throws GenericRpcException
GenericRpcExceptionBitcoindRpcClient.TransactionsSinceBlock listSinceBlock() throws GenericRpcException
GenericRpcExceptionBitcoindRpcClient.TransactionsSinceBlock listSinceBlock(String blockHash) throws GenericRpcException
GenericRpcExceptionBitcoindRpcClient.TransactionsSinceBlock listSinceBlock(String blockHash, int targetConfirmations) throws GenericRpcException
GenericRpcExceptionList<BitcoindRpcClient.Transaction> listTransactions() throws GenericRpcException
GenericRpcExceptionList<BitcoindRpcClient.Transaction> listTransactions(String account) throws GenericRpcException
GenericRpcExceptionList<BitcoindRpcClient.Transaction> listTransactions(String account, int count) throws GenericRpcException
GenericRpcExceptionList<BitcoindRpcClient.Transaction> listTransactions(String account, int count, int from) throws GenericRpcException
GenericRpcExceptionList<BitcoindRpcClient.Unspent> listUnspent() throws GenericRpcException
GenericRpcExceptionList<BitcoindRpcClient.Unspent> listUnspent(int minConf) throws GenericRpcException
GenericRpcExceptionList<BitcoindRpcClient.Unspent> listUnspent(int minConf, int maxConf) throws GenericRpcException
GenericRpcExceptionList<BitcoindRpcClient.Unspent> listUnspent(int minConf, int maxConf, String... addresses) throws GenericRpcException
GenericRpcExceptionString move(String fromAccount, String toBitcoinAddress, double amount) throws GenericRpcException
GenericRpcExceptionString move(String fromAccount, String toBitcoinAddress, double amount, int minConf) throws GenericRpcException
GenericRpcExceptionString move(String fromAccount, String toBitcoinAddress, double amount, int minConf, String comment) throws GenericRpcException
GenericRpcExceptionString sendFrom(String fromAccount, String toBitcoinAddress, double amount) throws GenericRpcException
GenericRpcExceptionString sendFrom(String fromAccount, String toBitcoinAddress, double amount, int minConf) throws GenericRpcException
GenericRpcExceptionString sendFrom(String fromAccount, String toBitcoinAddress, double amount, int minConf, String comment) throws GenericRpcException
GenericRpcExceptionString sendFrom(String fromAccount, String toBitcoinAddress, double amount, int minConf, String comment, String commentTo) throws GenericRpcException
fromAccount - toBitcoinAddress - amount - is a real and is rounded to 8 decimal placesminConf - comment - commentTo - GenericRpcExceptionString sendRawTransaction(String hex) throws GenericRpcException
GenericRpcExceptionString sendToAddress(String toAddress, double amount) throws GenericRpcException
GenericRpcExceptionString sendToAddress(String toAddress, double amount, String comment) throws GenericRpcException
GenericRpcExceptionString sendToAddress(String toAddress, double amount, String comment, String commentTo) throws GenericRpcException
toAddress - amount - is a real and is rounded to 8 decimal placescomment - commentTo - GenericRpcExceptionString signRawTransaction(String hex, List<BitcoindRpcClient.ExtendedTxInput> inputs, List<String> privateKeys) throws GenericRpcException
GenericRpcExceptionvoid 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 GenericRpcException
GenericRpcExceptiondouble getEstimateFee(int nBlocks)
throws GenericRpcException
GenericRpcExceptiondouble getEstimatePriority(int nBlocks)
throws GenericRpcException
GenericRpcExceptionvoid invalidateBlock(String hash) throws GenericRpcException
hash - GenericRpcExceptionvoid reconsiderBlock(String hash) throws GenericRpcException
hash - GenericRpcExceptionList<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)
BitcoindRpcClient.SmartFeeResult getEstimateSmartFee(int blocks)
Copyright © 2018. All rights reserved.