[−][src]Trait bitcoin_rpc_client::BitcoinRpcApi
This library is deprecated in favor of bitcoincore-rpc.
Provided methods
fn add_multisig_address(
&self,
number_of_required_signatures: u32,
participants: Vec<&Address>
) -> Result<Result<MultiSigAddress, RpcError>, ClientError>
&self,
number_of_required_signatures: u32,
participants: Vec<&Address>
) -> Result<Result<MultiSigAddress, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn create_raw_transaction(
&self,
inputs: Vec<&NewTransactionInput>,
output: &NewTransactionOutput
) -> Result<Result<SerializedRawTransaction, RpcError>, ClientError>
&self,
inputs: Vec<&NewTransactionInput>,
output: &NewTransactionOutput
) -> Result<Result<SerializedRawTransaction, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn decode_rawtransaction(
&self,
tx: SerializedRawTransaction
) -> Result<Result<DecodedRawTransaction, RpcError>, ClientError>
&self,
tx: SerializedRawTransaction
) -> Result<Result<DecodedRawTransaction, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn decode_script(
&self,
script: Script
) -> Result<Result<DecodedScript, RpcError>, ClientError>
&self,
script: Script
) -> Result<Result<DecodedScript, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn dump_privkey(
&self,
address: &Address
) -> Result<Result<PrivateKey, RpcError>, ClientError>
&self,
address: &Address
) -> Result<Result<PrivateKey, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn fund_raw_transaction(
&self,
tx: &SerializedRawTransaction,
options: &FundingOptions
) -> Result<Result<FundingResult, RpcError>, ClientError>
&self,
tx: &SerializedRawTransaction,
options: &FundingOptions
) -> Result<Result<FundingResult, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn generate(
&self,
number_of_blocks: u32
) -> Result<Result<Vec<BlockHash>, RpcError>, ClientError>
&self,
number_of_blocks: u32
) -> Result<Result<Vec<BlockHash>, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_address_info(
&self,
address: &Address
) -> Result<Result<AddressInfoResult, RpcError>, ClientError>
&self,
address: &Address
) -> Result<Result<AddressInfoResult, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_balance(&self) -> Result<Result<f32, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_best_block_hash(
&self
) -> Result<Result<BlockHash, RpcError>, ClientError>
&self
) -> Result<Result<BlockHash, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_block(
&self,
header_hash: &BlockHash
) -> Result<Result<Block<TransactionId>, RpcError>, ClientError>
&self,
header_hash: &BlockHash
) -> Result<Result<Block<TransactionId>, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_block_verbose(
&self,
header_hash: &BlockHash
) -> Result<Result<Block<DecodedRawTransaction>, RpcError>, ClientError>
&self,
header_hash: &BlockHash
) -> Result<Result<Block<DecodedRawTransaction>, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_blockchain_info(
&self
) -> Result<Result<BlockchainInfo, RpcError>, ClientError>
&self
) -> Result<Result<BlockchainInfo, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_block_count(&self) -> Result<Result<BlockHeight, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_block_hash(
&self,
height: u32
) -> Result<Result<BlockHash, RpcError>, ClientError>
&self,
height: u32
) -> Result<Result<BlockHash, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_new_address(&self) -> Result<Result<Address, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_raw_transaction_serialized(
&self,
tx: &TransactionId
) -> Result<Result<SerializedRawTransaction, RpcError>, ClientError>
&self,
tx: &TransactionId
) -> Result<Result<SerializedRawTransaction, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_raw_transaction_verbose(
&self,
tx: &TransactionId
) -> Result<Result<VerboseRawTransaction, RpcError>, ClientError>
&self,
tx: &TransactionId
) -> Result<Result<VerboseRawTransaction, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn list_unspent(
&self,
min_confirmations: TxOutConfirmations,
max_confirmations: Option<u32>,
recipients: Option<Vec<Address>>
) -> Result<Result<Vec<UnspentTransactionOutput>, RpcError>, ClientError>
&self,
min_confirmations: TxOutConfirmations,
max_confirmations: Option<u32>,
recipients: Option<Vec<Address>>
) -> Result<Result<Vec<UnspentTransactionOutput>, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn send_raw_transaction(
&self,
tx_data: SerializedRawTransaction
) -> Result<Result<TransactionId, RpcError>, ClientError>
&self,
tx_data: SerializedRawTransaction
) -> Result<Result<TransactionId, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn send_to_address(
&self,
address: &Address,
amount: f64
) -> Result<Result<TransactionId, RpcError>, ClientError>
&self,
address: &Address,
amount: f64
) -> Result<Result<TransactionId, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn sign_raw_transaction_with_key(
&self,
tx: &SerializedRawTransaction,
private_keys: Option<Vec<&PrivateKey>>,
dependencies: Option<Vec<&TransactionOutputDetail>>,
signature_hash_type: Option<SigHashType>
) -> Result<Result<SigningResult, RpcError>, ClientError>
&self,
tx: &SerializedRawTransaction,
private_keys: Option<Vec<&PrivateKey>>,
dependencies: Option<Vec<&TransactionOutputDetail>>,
signature_hash_type: Option<SigHashType>
) -> Result<Result<SigningResult, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn validate_address(
&self,
address: &Address
) -> Result<Result<AddressValidationResult, RpcError>, ClientError>
&self,
address: &Address
) -> Result<Result<AddressValidationResult, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
Implementors
impl BitcoinRpcApi for BitcoinCoreClient
[src]
fn add_multisig_address(
&self,
number_of_required_signatures: u32,
participants: Vec<&Address>
) -> Result<Result<MultiSigAddress, RpcError>, ClientError>
[src]
&self,
number_of_required_signatures: u32,
participants: Vec<&Address>
) -> Result<Result<MultiSigAddress, RpcError>, ClientError>
fn create_raw_transaction(
&self,
inputs: Vec<&NewTransactionInput>,
output: &NewTransactionOutput
) -> Result<Result<SerializedRawTransaction, RpcError>, ClientError>
[src]
&self,
inputs: Vec<&NewTransactionInput>,
output: &NewTransactionOutput
) -> Result<Result<SerializedRawTransaction, RpcError>, ClientError>
fn decode_rawtransaction(
&self,
tx: SerializedRawTransaction
) -> Result<Result<DecodedRawTransaction, RpcError>, ClientError>
[src]
&self,
tx: SerializedRawTransaction
) -> Result<Result<DecodedRawTransaction, RpcError>, ClientError>
fn decode_script(
&self,
script: Script
) -> Result<Result<DecodedScript, RpcError>, ClientError>
[src]
&self,
script: Script
) -> Result<Result<DecodedScript, RpcError>, ClientError>
fn dump_privkey(
&self,
address: &Address
) -> Result<Result<PrivateKey, RpcError>, ClientError>
[src]
&self,
address: &Address
) -> Result<Result<PrivateKey, RpcError>, ClientError>
fn fund_raw_transaction(
&self,
tx: &SerializedRawTransaction,
options: &FundingOptions
) -> Result<Result<FundingResult, RpcError>, ClientError>
[src]
&self,
tx: &SerializedRawTransaction,
options: &FundingOptions
) -> Result<Result<FundingResult, RpcError>, ClientError>
fn generate(
&self,
number_of_blocks: u32
) -> Result<Result<Vec<BlockHash>, RpcError>, ClientError>
[src]
&self,
number_of_blocks: u32
) -> Result<Result<Vec<BlockHash>, RpcError>, ClientError>
fn get_address_info(
&self,
address: &Address
) -> Result<Result<AddressInfoResult, RpcError>, ClientError>
[src]
&self,
address: &Address
) -> Result<Result<AddressInfoResult, RpcError>, ClientError>
fn get_balance(&self) -> Result<Result<f32, RpcError>, ClientError>
[src]
fn get_best_block_hash(
&self
) -> Result<Result<BlockHash, RpcError>, ClientError>
[src]
&self
) -> Result<Result<BlockHash, RpcError>, ClientError>
fn get_block(
&self,
header_hash: &BlockHash
) -> Result<Result<Block<TransactionId>, RpcError>, ClientError>
[src]
&self,
header_hash: &BlockHash
) -> Result<Result<Block<TransactionId>, RpcError>, ClientError>
fn get_block_verbose(
&self,
header_hash: &BlockHash
) -> Result<Result<Block<DecodedRawTransaction>, RpcError>, ClientError>
[src]
&self,
header_hash: &BlockHash
) -> Result<Result<Block<DecodedRawTransaction>, RpcError>, ClientError>
fn get_blockchain_info(
&self
) -> Result<Result<BlockchainInfo, RpcError>, ClientError>
[src]
&self
) -> Result<Result<BlockchainInfo, RpcError>, ClientError>
fn get_block_count(&self) -> Result<Result<BlockHeight, RpcError>, ClientError>
[src]
fn get_block_hash(
&self,
height: u32
) -> Result<Result<BlockHash, RpcError>, ClientError>
[src]
&self,
height: u32
) -> Result<Result<BlockHash, RpcError>, ClientError>
fn get_new_address(&self) -> Result<Result<Address, RpcError>, ClientError>
[src]
fn get_raw_transaction_serialized(
&self,
tx: &TransactionId
) -> Result<Result<SerializedRawTransaction, RpcError>, ClientError>
[src]
&self,
tx: &TransactionId
) -> Result<Result<SerializedRawTransaction, RpcError>, ClientError>
fn get_raw_transaction_verbose(
&self,
tx: &TransactionId
) -> Result<Result<VerboseRawTransaction, RpcError>, ClientError>
[src]
&self,
tx: &TransactionId
) -> Result<Result<VerboseRawTransaction, RpcError>, ClientError>
fn list_unspent(
&self,
min_confirmations: TxOutConfirmations,
max_confirmations: Option<u32>,
recipients: Option<Vec<Address>>
) -> Result<Result<Vec<UnspentTransactionOutput>, RpcError>, ClientError>
[src]
&self,
min_confirmations: TxOutConfirmations,
max_confirmations: Option<u32>,
recipients: Option<Vec<Address>>
) -> Result<Result<Vec<UnspentTransactionOutput>, RpcError>, ClientError>
fn send_raw_transaction(
&self,
tx_data: SerializedRawTransaction
) -> Result<Result<TransactionId, RpcError>, ClientError>
[src]
&self,
tx_data: SerializedRawTransaction
) -> Result<Result<TransactionId, RpcError>, ClientError>
fn send_to_address(
&self,
address: &Address,
amount: f64
) -> Result<Result<TransactionId, RpcError>, ClientError>
[src]
&self,
address: &Address,
amount: f64
) -> Result<Result<TransactionId, RpcError>, ClientError>
fn sign_raw_transaction_with_key(
&self,
tx: &SerializedRawTransaction,
private_keys: Option<Vec<&PrivateKey>>,
dependencies: Option<Vec<&TransactionOutputDetail>>,
signature_hash_type: Option<SigHashType>
) -> Result<Result<SigningResult, RpcError>, ClientError>
[src]
&self,
tx: &SerializedRawTransaction,
private_keys: Option<Vec<&PrivateKey>>,
dependencies: Option<Vec<&TransactionOutputDetail>>,
signature_hash_type: Option<SigHashType>
) -> Result<Result<SigningResult, RpcError>, ClientError>
fn validate_address(
&self,
address: &Address
) -> Result<Result<AddressValidationResult, RpcError>, ClientError>
[src]
&self,
address: &Address
) -> Result<Result<AddressValidationResult, RpcError>, ClientError>
impl BitcoinRpcApi for BitcoinStubClient
[src]
fn add_multisig_address(
&self,
number_of_required_signatures: u32,
participants: Vec<&Address>
) -> Result<Result<MultiSigAddress, RpcError>, ClientError>
[src]
&self,
number_of_required_signatures: u32,
participants: Vec<&Address>
) -> Result<Result<MultiSigAddress, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn create_raw_transaction(
&self,
inputs: Vec<&NewTransactionInput>,
output: &NewTransactionOutput
) -> Result<Result<SerializedRawTransaction, RpcError>, ClientError>
[src]
&self,
inputs: Vec<&NewTransactionInput>,
output: &NewTransactionOutput
) -> Result<Result<SerializedRawTransaction, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn decode_rawtransaction(
&self,
tx: SerializedRawTransaction
) -> Result<Result<DecodedRawTransaction, RpcError>, ClientError>
[src]
&self,
tx: SerializedRawTransaction
) -> Result<Result<DecodedRawTransaction, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn decode_script(
&self,
script: Script
) -> Result<Result<DecodedScript, RpcError>, ClientError>
[src]
&self,
script: Script
) -> Result<Result<DecodedScript, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn dump_privkey(
&self,
address: &Address
) -> Result<Result<PrivateKey, RpcError>, ClientError>
[src]
&self,
address: &Address
) -> Result<Result<PrivateKey, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn fund_raw_transaction(
&self,
tx: &SerializedRawTransaction,
options: &FundingOptions
) -> Result<Result<FundingResult, RpcError>, ClientError>
[src]
&self,
tx: &SerializedRawTransaction,
options: &FundingOptions
) -> Result<Result<FundingResult, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn generate(
&self,
number_of_blocks: u32
) -> Result<Result<Vec<BlockHash>, RpcError>, ClientError>
[src]
&self,
number_of_blocks: u32
) -> Result<Result<Vec<BlockHash>, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_address_info(
&self,
address: &Address
) -> Result<Result<AddressInfoResult, RpcError>, ClientError>
[src]
&self,
address: &Address
) -> Result<Result<AddressInfoResult, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_balance(&self) -> Result<Result<f32, RpcError>, ClientError>
[src]
This library is deprecated in favor of bitcoincore-rpc.
fn get_best_block_hash(
&self
) -> Result<Result<BlockHash, RpcError>, ClientError>
[src]
&self
) -> Result<Result<BlockHash, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_block(
&self,
header_hash: &BlockHash
) -> Result<Result<Block<TransactionId>, RpcError>, ClientError>
[src]
&self,
header_hash: &BlockHash
) -> Result<Result<Block<TransactionId>, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_block_verbose(
&self,
header_hash: &BlockHash
) -> Result<Result<Block<DecodedRawTransaction>, RpcError>, ClientError>
[src]
&self,
header_hash: &BlockHash
) -> Result<Result<Block<DecodedRawTransaction>, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_blockchain_info(
&self
) -> Result<Result<BlockchainInfo, RpcError>, ClientError>
[src]
&self
) -> Result<Result<BlockchainInfo, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_block_count(&self) -> Result<Result<BlockHeight, RpcError>, ClientError>
[src]
This library is deprecated in favor of bitcoincore-rpc.
fn get_block_hash(
&self,
height: u32
) -> Result<Result<BlockHash, RpcError>, ClientError>
[src]
&self,
height: u32
) -> Result<Result<BlockHash, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_new_address(&self) -> Result<Result<Address, RpcError>, ClientError>
[src]
This library is deprecated in favor of bitcoincore-rpc.
fn get_raw_transaction_serialized(
&self,
tx: &TransactionId
) -> Result<Result<SerializedRawTransaction, RpcError>, ClientError>
[src]
&self,
tx: &TransactionId
) -> Result<Result<SerializedRawTransaction, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn get_raw_transaction_verbose(
&self,
tx: &TransactionId
) -> Result<Result<VerboseRawTransaction, RpcError>, ClientError>
[src]
&self,
tx: &TransactionId
) -> Result<Result<VerboseRawTransaction, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn list_unspent(
&self,
min_confirmations: TxOutConfirmations,
max_confirmations: Option<u32>,
recipients: Option<Vec<Address>>
) -> Result<Result<Vec<UnspentTransactionOutput>, RpcError>, ClientError>
[src]
&self,
min_confirmations: TxOutConfirmations,
max_confirmations: Option<u32>,
recipients: Option<Vec<Address>>
) -> Result<Result<Vec<UnspentTransactionOutput>, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn send_raw_transaction(
&self,
tx_data: SerializedRawTransaction
) -> Result<Result<TransactionId, RpcError>, ClientError>
[src]
&self,
tx_data: SerializedRawTransaction
) -> Result<Result<TransactionId, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn send_to_address(
&self,
address: &Address,
amount: f64
) -> Result<Result<TransactionId, RpcError>, ClientError>
[src]
&self,
address: &Address,
amount: f64
) -> Result<Result<TransactionId, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn sign_raw_transaction_with_key(
&self,
tx: &SerializedRawTransaction,
private_keys: Option<Vec<&PrivateKey>>,
dependencies: Option<Vec<&TransactionOutputDetail>>,
signature_hash_type: Option<SigHashType>
) -> Result<Result<SigningResult, RpcError>, ClientError>
[src]
&self,
tx: &SerializedRawTransaction,
private_keys: Option<Vec<&PrivateKey>>,
dependencies: Option<Vec<&TransactionOutputDetail>>,
signature_hash_type: Option<SigHashType>
) -> Result<Result<SigningResult, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.
fn validate_address(
&self,
address: &Address
) -> Result<Result<AddressValidationResult, RpcError>, ClientError>
[src]
&self,
address: &Address
) -> Result<Result<AddressValidationResult, RpcError>, ClientError>
This library is deprecated in favor of bitcoincore-rpc.