| Package | Description |
|---|---|
| wf.bitcoin.javabitcoindrpcclient |
| Modifier and Type | Class and Description |
|---|---|
class |
BitcoinRPCException |
| Modifier and Type | Method and Description |
|---|---|
String |
BitcoinJSONRPCClient.addMultiSigAddress(int nRequired,
List<String> keyObject) |
String |
BitcoinJSONRPCClient.addMultiSigAddress(int nRequired,
List<String> keyObject,
String account) |
void |
BitcoinJSONRPCClient.addNode(String node,
String command) |
void |
BitcoinJSONRPCClient.backupWallet(String destination) |
void |
BitcoinAcceptor.checkPayments() |
String |
BitcoinRawTxBuilder.create() |
BitcoindRpcClient.MultiSig |
BitcoinJSONRPCClient.createMultiSig(int nRequired,
List<String> keys) |
BitcoindRpcClient.MultiSig |
BitcoindRpcClient.createMultiSig(int nRequired,
List<String> keys)
The createmultisig RPC creates a P2SH multi-signature address.
|
String |
BitcoinJSONRPCClient.createRawTransaction(List<BitcoindRpcClient.TxInput> inputs,
List<BitcoindRpcClient.TxOutput> outputs) |
String |
BitcoindRpcClient.createRawTransaction(List<BitcoindRpcClient.TxInput> inputs,
List<BitcoindRpcClient.TxOutput> outputs)
The createrawtransaction RPC creates an unsigned serialized transaction that spends a previous output to a new output with a P2PKH or P2SH address.
|
BitcoindRpcClient.RawTransaction |
BitcoinJSONRPCClient.decodeRawTransaction(String hex) |
BitcoindRpcClient.DecodedScript |
BitcoinJSONRPCClient.decodeScript(String hex) |
String |
BitcoinJSONRPCClient.dumpPrivKey(String address) |
String |
BitcoindRpcClient.dumpPrivKey(String address)
The dumpprivkey RPC returns the wallet-import-format (WIF) private key corresponding to an address.
|
void |
BitcoinJSONRPCClient.dumpWallet(String filename) |
void |
BitcoinJSONRPCClient.encryptWallet(String passPhrase) |
String |
BitcoinJSONRPCClient.getAccount(String address) |
String |
BitcoindRpcClient.getAccount(String address)
The getaccount RPC returns the name of the account associated with the given address.
|
String |
BitcoinJSONRPCClient.getAccountAddress(String account) |
String |
BitcoinAcceptor.getAccountAddress(String account) |
String |
BitcoindRpcClient.getAccountAddress(String account)
The getaccountaddress RPC returns the current Bitcoin address for receiving payments to this account.
|
List<BitcoindRpcClient.NodeInfo> |
BitcoinJSONRPCClient.getAddedNodeInfo(boolean dummy,
String node) |
List<String> |
BitcoinJSONRPCClient.getAddressesByAccount(String account) |
List<String> |
BitcoindRpcClient.getAddressesByAccount(String account)
The getaddressesbyaccount RPC returns a list of every address assigned to a particular account.
|
BigDecimal |
BitcoinJSONRPCClient.getBalance() |
BigDecimal |
BitcoindRpcClient.getBalance()
The getbalance RPC gets the balance in decimal bitcoins for the default account.
|
BigDecimal |
BitcoinJSONRPCClient.getBalance(String account) |
BigDecimal |
BitcoindRpcClient.getBalance(String account)
The getbalance RPC gets the balance in decimal bitcoins across all accounts or for a particular account.
|
BigDecimal |
BitcoinJSONRPCClient.getBalance(String account,
int minConf) |
BigDecimal |
BitcoindRpcClient.getBalance(String account,
int minConf)
The getbalance RPC gets the balance in decimal bitcoins across all accounts or for a particular account.
|
String |
BitcoinJSONRPCClient.getBestBlockHash() |
String |
BitcoindRpcClient.getBestBlockHash()
The getbestblockhash RPC returns the header hash of the most recent block on the best block chain.
|
BitcoindRpcClient.Block |
BitcoinJSONRPCClient.getBlock(int height) |
BitcoindRpcClient.Block |
BitcoindRpcClient.getBlock(int height)
Gets a block at the given height from the local block database.
|
BitcoindRpcClient.Block |
BitcoinJSONRPCClient.getBlock(String blockHash) |
BitcoindRpcClient.Block |
BitcoindRpcClient.getBlock(String blockHash)
The getblock RPC gets a block with a particular header hash from the local block database either as a JSON object or as a serialized block.
|
BitcoindRpcClient.BlockChainInfo |
BitcoinJSONRPCClient.getBlockChainInfo() |
BitcoindRpcClient.BlockChainInfo |
BitcoindRpcClient.getBlockChainInfo()
The getblockchaininfo RPC provides information about the current state of the block chain.
|
int |
BitcoinJSONRPCClient.getBlockCount() |
int |
BitcoindRpcClient.getBlockCount()
The getblockcount RPC returns the number of blocks in the local best block chain.
|
String |
BitcoinJSONRPCClient.getBlockHash(int height) |
String |
BitcoindRpcClient.getBlockHash(int height)
The getblockhash RPC returns the header hash of a block at the given height in the local best block chain.
|
long |
BitcoinJSONRPCClient.getConnectionCount() |
BigDecimal |
BitcoinJSONRPCClient.getDifficulty() |
BigDecimal |
BitcoinJSONRPCClient.getEstimateFee(int nBlocks) |
BigDecimal |
BitcoindRpcClient.getEstimateFee(int nBlocks)
The estimatefee RPC estimates the transaction fee per kilobyte that needs to be paid for a transaction to be included within a certain number of blocks.
|
BigDecimal |
BitcoinJSONRPCClient.getEstimatePriority(int nBlocks) |
BigDecimal |
BitcoindRpcClient.getEstimatePriority(int nBlocks)
The estimatepriority RPC estimates the priority (coin age) that a transaction needs in order to be included within a certain number of blocks as a free high-priority transaction.
|
BitcoindRpcClient.Info |
BitcoinJSONRPCClient.getInfo() |
BitcoindRpcClient.Info |
BitcoindRpcClient.getInfo()
The getinfo RPC prints various information about the node and the network.
|
BitcoindRpcClient.MiningInfo |
BitcoinJSONRPCClient.getMiningInfo() |
BitcoindRpcClient.MiningInfo |
BitcoindRpcClient.getMiningInfo()
The getmininginfo RPC returns various mining-related information.
|
BitcoindRpcClient.NetTotals |
BitcoinJSONRPCClient.getNetTotals() |
BigDecimal |
BitcoinJSONRPCClient.getNetworkHashPs() |
BitcoindRpcClient.NetworkInfo |
BitcoinJSONRPCClient.getNetworkInfo() |
BitcoindRpcClient.NetworkInfo |
BitcoindRpcClient.getNetworkInfo()
The getnetworkinfo RPC returns information about the node’s connection to the network.
|
String |
BitcoinJSONRPCClient.getNewAddress() |
String |
BitcoindRpcClient.getNewAddress()
The getnewaddress RPC returns a new Bitcoin address for receiving payments.
|
String |
BitcoinJSONRPCClient.getNewAddress(String account) |
String |
BitcoindRpcClient.getNewAddress(String account)
The getnewaddress RPC returns a new Bitcoin address for receiving payments.
|
String |
BitcoinJSONRPCClient.getNewAddress(String account,
String addressType) |
String |
BitcoindRpcClient.getNewAddress(String account,
String addressType)
The getnewaddress RPC returns a new Bitcoin address for receiving payments.
|
List<BitcoindRpcClient.PeerInfoResult> |
BitcoinJSONRPCClient.getPeerInfo() |
String |
BitcoinJSONRPCClient.getRawBlock(String blockHash) |
String |
BitcoindRpcClient.getRawBlock(String blockHash)
The getblock RPC gets a block with a particular header hash from the local block database as a serialized block.
|
String |
BitcoinJSONRPCClient.getRawChangeAddress() |
List<String> |
BitcoinJSONRPCClient.getRawMemPool() |
List<String> |
BitcoindRpcClient.getRawMemPool()
The getrawmempool RPC returns all transaction identifiers (TXIDs) in the memory pool as a JSON array,
or detailed information about each transaction in the memory pool as a JSON object.
|
BitcoindRpcClient.RawTransaction |
BitcoinJSONRPCClient.getRawTransaction(String txId) |
BitcoindRpcClient.RawTransaction |
BitcoindRpcClient.getRawTransaction(String txId)
The getrawtransaction RPC gets a hex-encoded serialized transaction or a JSON object describing the transaction.
|
String |
BitcoinJSONRPCClient.getRawTransactionHex(String txId) |
String |
BitcoindRpcClient.getRawTransactionHex(String txId)
The getrawtransaction RPC gets a hex-encoded serialized transaction.
|
BigDecimal |
BitcoinJSONRPCClient.getReceivedByAccount(String account) |
BigDecimal |
BitcoinJSONRPCClient.getReceivedByAccount(String account,
int minConf) |
BigDecimal |
BitcoinJSONRPCClient.getReceivedByAddress(String address) |
BigDecimal |
BitcoindRpcClient.getReceivedByAddress(String address)
The getreceivedbyaddress RPC returns the total amount received by the specified address in transactions with the specified number of confirmations.
|
BigDecimal |
BitcoinJSONRPCClient.getReceivedByAddress(String address,
int minConf) |
BigDecimal |
BitcoindRpcClient.getReceivedByAddress(String address,
int minConf)
The getreceivedbyaddress RPC returns the total amount received by the specified address in transactions with the specified number of confirmations.
|
BitcoindRpcClient.TxOut |
BitcoinJSONRPCClient.getTxOut(String txId,
long vout) |
BitcoindRpcClient.TxOut |
BitcoinJSONRPCClient.getTxOut(String txId,
long vout,
boolean includemempool) |
BitcoindRpcClient.TxOutSetInfo |
BitcoinJSONRPCClient.getTxOutSetInfo() |
BigDecimal |
BitcoinJSONRPCClient.getUnconfirmedBalance() |
Object |
BitcoinJSONRPCClient.importAddress(String address,
String label,
boolean rescan) |
Object |
BitcoindRpcClient.importAddress(String address,
String account,
boolean rescan)
The importaddress RPC adds an address or pubkey script to the wallet without the associated private key,
allowing you to watch for transactions affecting that address or pubkey script without being able to spend any of its outputs.
|
void |
BitcoinJSONRPCClient.importPrivKey(String bitcoinPrivKey) |
void |
BitcoindRpcClient.importPrivKey(String bitcoinPrivKey)
The importprivkey RPC adds a private key to your wallet.
|
void |
BitcoinJSONRPCClient.importPrivKey(String bitcoinPrivKey,
String label) |
void |
BitcoindRpcClient.importPrivKey(String bitcoinPrivKey,
String account)
The importprivkey RPC adds a private key to your wallet.
|
void |
BitcoinJSONRPCClient.importPrivKey(String bitcoinPrivKey,
String label,
boolean rescan) |
void |
BitcoindRpcClient.importPrivKey(String bitcoinPrivKey,
String account,
boolean rescan)
The importprivkey RPC adds a private key to your wallet.
|
void |
BitcoinJSONRPCClient.importWallet(String filename) |
BitcoinRawTxBuilder |
BitcoinRawTxBuilder.in(BigDecimal value) |
BitcoinRawTxBuilder |
BitcoinRawTxBuilder.in(BigDecimal value,
int minConf) |
void |
BitcoinJSONRPCClient.invalidateBlock(String hash) |
void |
BitcoindRpcClient.invalidateBlock(String blockHash)
Permanently marks a block as invalid, as if it violated a consensus rule.
|
void |
BitcoinJSONRPCClient.keyPoolRefill() |
void |
BitcoinJSONRPCClient.keyPoolRefill(long size) |
Map<String,Number> |
BitcoinJSONRPCClient.listAccounts() |
Map<String,Number> |
BitcoindRpcClient.listAccounts()
The listaccounts RPC lists accounts and their balances.
|
Map<String,Number> |
BitcoinJSONRPCClient.listAccounts(int minConf) |
Map<String,Number> |
BitcoindRpcClient.listAccounts(int minConf)
The listaccounts RPC lists accounts and their balances.
|
Map<String,Number> |
BitcoinJSONRPCClient.listAccounts(int minConf,
boolean watchonly) |
Map<String,Number> |
BitcoindRpcClient.listAccounts(int minConf,
boolean watchonly)
The listaccounts RPC lists accounts and their balances.
|
List<BitcoindRpcClient.ReceivedAddress> |
BitcoinJSONRPCClient.listReceivedByAddress() |
List<BitcoindRpcClient.ReceivedAddress> |
BitcoindRpcClient.listReceivedByAddress()
The listreceivedbyaddress RPC lists the total number of bitcoins received by each address.
|
List<BitcoindRpcClient.ReceivedAddress> |
BitcoinJSONRPCClient.listReceivedByAddress(int minConf) |
List<BitcoindRpcClient.ReceivedAddress> |
BitcoindRpcClient.listReceivedByAddress(int minConf)
The listreceivedbyaddress RPC lists the total number of bitcoins received by each address.
|
List<BitcoindRpcClient.ReceivedAddress> |
BitcoinJSONRPCClient.listReceivedByAddress(int minConf,
boolean includeEmpty) |
List<BitcoindRpcClient.ReceivedAddress> |
BitcoindRpcClient.listReceivedByAddress(int minConf,
boolean includeEmpty)
The listreceivedbyaddress RPC lists the total number of bitcoins received by each address.
|
BitcoindRpcClient.TransactionsSinceBlock |
BitcoinJSONRPCClient.listSinceBlock() |
BitcoindRpcClient.TransactionsSinceBlock |
BitcoindRpcClient.listSinceBlock()
The listsinceblock RPC gets all transactions affecting the wallet which have occurred since a particular block, plus the header hash of a block at a particular depth.
|
BitcoindRpcClient.TransactionsSinceBlock |
BitcoinJSONRPCClient.listSinceBlock(String blockHash) |
BitcoindRpcClient.TransactionsSinceBlock |
BitcoindRpcClient.listSinceBlock(String blockHash)
The listsinceblock RPC gets all transactions affecting the wallet which have occurred since a particular block, plus the header hash of a block at a particular depth.
|
BitcoindRpcClient.TransactionsSinceBlock |
BitcoinJSONRPCClient.listSinceBlock(String blockHash,
int targetConfirmations) |
BitcoindRpcClient.TransactionsSinceBlock |
BitcoindRpcClient.listSinceBlock(String blockHash,
int targetConfirmations)
The listsinceblock RPC gets all transactions affecting the wallet which have occurred since a particular block, plus the header hash of a block at a particular depth.
|
List<BitcoindRpcClient.Transaction> |
BitcoinJSONRPCClient.listTransactions() |
List<BitcoindRpcClient.Transaction> |
BitcoindRpcClient.listTransactions()
The listtransactions RPC returns the most recent transactions that affect the wallet.
|
List<BitcoindRpcClient.Transaction> |
BitcoinJSONRPCClient.listTransactions(String account) |
List<BitcoindRpcClient.Transaction> |
BitcoindRpcClient.listTransactions(String account)
The listtransactions RPC returns the most recent transactions that affect the wallet.
|
List<BitcoindRpcClient.Transaction> |
BitcoinJSONRPCClient.listTransactions(String account,
int count) |
List<BitcoindRpcClient.Transaction> |
BitcoindRpcClient.listTransactions(String account,
int count)
The listtransactions RPC returns the most recent transactions that affect the wallet.
|
List<BitcoindRpcClient.Transaction> |
BitcoinJSONRPCClient.listTransactions(String account,
int count,
int skip) |
List<BitcoindRpcClient.Transaction> |
BitcoindRpcClient.listTransactions(String account,
int count,
int skip)
The listtransactions RPC returns the most recent transactions that affect the wallet.
|
List<BitcoindRpcClient.Unspent> |
BitcoinJSONRPCClient.listUnspent() |
List<BitcoindRpcClient.Unspent> |
BitcoindRpcClient.listUnspent()
The listunspent RPC returns an array of unspent transaction outputs belonging to this wallet.
|
List<BitcoindRpcClient.Unspent> |
BitcoinJSONRPCClient.listUnspent(int minConf) |
List<BitcoindRpcClient.Unspent> |
BitcoindRpcClient.listUnspent(int minConf)
The listunspent RPC returns an array of unspent transaction outputs belonging to this wallet.
|
List<BitcoindRpcClient.Unspent> |
BitcoinJSONRPCClient.listUnspent(int minConf,
int maxConf) |
List<BitcoindRpcClient.Unspent> |
BitcoindRpcClient.listUnspent(int minConf,
int maxConf)
The listunspent RPC returns an array of unspent transaction outputs belonging to this wallet.
|
List<BitcoindRpcClient.Unspent> |
BitcoinJSONRPCClient.listUnspent(int minConf,
int maxConf,
String... addresses) |
List<BitcoindRpcClient.Unspent> |
BitcoindRpcClient.listUnspent(int minConf,
int maxConf,
String... addresses)
The listunspent RPC returns an array of unspent transaction outputs belonging to this wallet.
|
Object |
BitcoinJSONRPCClient.loadResponse(InputStream in,
Object expectedID,
boolean close) |
boolean |
BitcoinJSONRPCClient.lockUnspent(boolean unlock,
String txid,
int vout) |
boolean |
BitcoindRpcClient.lockUnspent(boolean unlock,
String txid,
int vout)
The lockunspent RPC temporarily locks or unlocks specified transaction outputs.
|
boolean |
BitcoinJSONRPCClient.move(String fromAccount,
String toAddress,
BigDecimal amount) |
boolean |
BitcoindRpcClient.move(String fromAccount,
String toAccount,
BigDecimal amount)
The move RPC moves a specified amount from one account in your wallet to another using an off-block-chain transaction.
|
boolean |
BitcoinJSONRPCClient.move(String fromAccount,
String toAddress,
BigDecimal amount,
int minConf) |
boolean |
BitcoindRpcClient.move(String fromAccount,
String toAccount,
BigDecimal amount,
int minConf)
Deprecated.
|
boolean |
BitcoinJSONRPCClient.move(String fromAccount,
String toAddress,
BigDecimal amount,
int minConf,
String comment) |
boolean |
BitcoindRpcClient.move(String fromAccount,
String toAccount,
BigDecimal amount,
int minConf,
String comment)
Deprecated.
|
boolean |
BitcoinJSONRPCClient.move(String fromAccount,
String toAddress,
BigDecimal amount,
String comment) |
boolean |
BitcoindRpcClient.move(String fromAccount,
String toAccount,
BigDecimal amount,
String comment)
The move RPC moves a specified amount from one account in your wallet to another using an off-block-chain transaction.
|
BitcoindRpcClient.Block |
BitcoindRpcClient.Block.next() |
BitcoinRawTxBuilder |
BitcoinRawTxBuilder.outChange(String address) |
BitcoinRawTxBuilder |
BitcoinRawTxBuilder.outChange(String address,
BigDecimal fee) |
void |
BitcoinJSONRPCClient.ping() |
BitcoindRpcClient.Block |
BitcoindRpcClient.Block.previous() |
Object |
BitcoinJSONRPCClient.query(String method,
Object... o) |
void |
BitcoinJSONRPCClient.reconsiderBlock(String hash) |
void |
BitcoindRpcClient.reconsiderBlock(String blockHash)
Removes invalidity status of a block and its descendants, reconsider them for activation.
|
String |
BitcoinRawTxBuilder.send() |
String |
BitcoinJSONRPCClient.sendFrom(String fromAccount,
String toAddress,
BigDecimal amount) |
String |
BitcoindRpcClient.sendFrom(String fromAccount,
String toAddress,
BigDecimal amount)
The sendfrom RPC spends an amount from a local account to a bitcoin address.
|
String |
BitcoinJSONRPCClient.sendFrom(String fromAccount,
String toAddress,
BigDecimal amount,
int minConf) |
String |
BitcoindRpcClient.sendFrom(String fromAccount,
String toAddress,
BigDecimal amount,
int minConf)
The sendfrom RPC spends an amount from a local account to a bitcoin address.
|
String |
BitcoinJSONRPCClient.sendFrom(String fromAccount,
String toAddress,
BigDecimal amount,
int minConf,
String comment) |
String |
BitcoindRpcClient.sendFrom(String fromAccount,
String toAddress,
BigDecimal amount,
int minConf,
String comment)
The sendfrom RPC spends an amount from a local account to a bitcoin address.
|
String |
BitcoinJSONRPCClient.sendFrom(String fromAccount,
String toAddress,
BigDecimal amount,
int minConf,
String comment,
String commentTo) |
String |
BitcoindRpcClient.sendFrom(String fromAccount,
String toAddress,
BigDecimal amount,
int minConf,
String comment,
String commentTo)
The sendfrom RPC spends an amount from a local account to a bitcoin address.
|
String |
BitcoinJSONRPCClient.sendRawTransaction(String hex) |
String |
BitcoindRpcClient.sendRawTransaction(String hex)
The sendrawtransaction RPC validates a transaction and broadcasts it to the peer-to-peer network.
|
String |
BitcoinJSONRPCClient.sendToAddress(String toAddress,
BigDecimal amount) |
String |
BitcoindRpcClient.sendToAddress(String toAddress,
BigDecimal amount)
The sendtoaddress RPC spends an amount to a given address.
|
String |
BitcoinJSONRPCClient.sendToAddress(String toAddress,
BigDecimal amount,
String comment) |
String |
BitcoindRpcClient.sendToAddress(String toAddress,
BigDecimal amount,
String comment)
The sendtoaddress RPC spends an amount to a given address.
|
String |
BitcoinJSONRPCClient.sendToAddress(String toAddress,
BigDecimal amount,
String comment,
String commentTo) |
String |
BitcoindRpcClient.sendToAddress(String toAddress,
BigDecimal amount,
String comment,
String commentTo)
The sendtoaddress RPC spends an amount to a given address.
|
void |
BitcoinAcceptor.setLastBlock(String lastBlock) |
boolean |
BitcoinJSONRPCClient.setTxFee(BigDecimal amount) |
String |
BitcoinRawTxBuilder.sign() |
String |
BitcoinJSONRPCClient.signMessage(String bitcoinAdress,
String message) |
String |
BitcoinJSONRPCClient.signRawTransaction(String hex) |
String |
BitcoinJSONRPCClient.signRawTransaction(String hex,
List<? extends BitcoindRpcClient.TxInput> inputs,
List<String> privateKeys) |
String |
BitcoindRpcClient.signRawTransaction(String hex,
List<? extends BitcoindRpcClient.TxInput> inputs,
List<String> privateKeys)
The signrawtransaction RPC signs a transaction in the serialized transaction format using private keys stored in the wallet or provided in the call.
|
BitcoindRpcClient.AddressValidationResult |
BitcoinJSONRPCClient.validateAddress(String address) |
BitcoindRpcClient.AddressValidationResult |
BitcoindRpcClient.validateAddress(String address)
The validateaddress RPC returns information about the given Bitcoin address.
|
boolean |
BitcoinJSONRPCClient.verifyMessage(String bitcoinAddress,
String signature,
String message) |
void |
BitcoinJSONRPCClient.walletPassPhrase(String passPhrase,
long timeOut) |
Copyright © 2018. All rights reserved.