public interface BitcoindRpcClient
| Modifier and Type | Interface and Description |
|---|---|
static interface |
BitcoindRpcClient.AddressValidationResult |
static class |
BitcoindRpcClient.BasicTxInput |
static class |
BitcoindRpcClient.BasicTxOutput |
static interface |
BitcoindRpcClient.Block |
static interface |
BitcoindRpcClient.BlockChainInfo |
static interface |
BitcoindRpcClient.Info |
static interface |
BitcoindRpcClient.RawTransaction |
static interface |
BitcoindRpcClient.ReceivedAddress |
static interface |
BitcoindRpcClient.Transaction
returned by listsinceblock and listtransactions
|
static interface |
BitcoindRpcClient.TransactionsSinceBlock |
static interface |
BitcoindRpcClient.TxInput |
static interface |
BitcoindRpcClient.TxOutput |
static interface |
BitcoindRpcClient.Unspent |
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.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) 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 - BitcoinRpcExceptionCopyright © 2015. All rights reserved.