public interface Network
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
estimateSmartFee(java.lang.Integer blocks)
Estimates the transaction fee per kilobyte that needs to be paid
for a transaction to be included within a certain number of blocks.
|
java.util.List<java.lang.String> |
generate(int numBlocks,
Wallet.Address addr)
Generate the given number of blocks to the given address
|
Block |
getBlock(java.lang.String blockHash)
Get the block for the given hash
|
java.lang.Integer |
getBlockCount()
Get the block count
|
java.lang.String |
getBlockHash(java.lang.Integer height)
Get the block hash for the given height
|
java.lang.Integer |
getBlockRate()
Get the block rate in seconds
|
java.math.BigDecimal |
getDustThreshold()
"Dust" is defined in terms of dustRelayFee, which has units satoshis-per-kilobyte.
|
java.math.BigDecimal |
getMinDataAmount()
The minimum amout that must be given to an OP_RETURN output.
|
java.math.BigDecimal |
getMinTxFee()
Get the minimum transaction fee
|
wf.bitcoin.javabitcoindrpcclient.BitcoindRpcClient.NetworkInfo |
getNetworkInfo()
Returns information about the node’s connection to the network.
|
java.lang.String |
getVersion()
Get the network version
|
java.lang.String getVersion()
java.math.BigDecimal estimateSmartFee(java.lang.Integer blocks)
java.math.BigDecimal getMinTxFee()
java.math.BigDecimal getDustThreshold()
java.math.BigDecimal getMinDataAmount()
Block getBlock(java.lang.String blockHash)
java.lang.String getBlockHash(java.lang.Integer height)
java.lang.Integer getBlockCount()
java.lang.Integer getBlockRate()
wf.bitcoin.javabitcoindrpcclient.BitcoindRpcClient.NetworkInfo getNetworkInfo()
java.util.List<java.lang.String> generate(int numBlocks,
Wallet.Address addr)
Copyright © 2018. All rights reserved.