[−][src]Struct exonum_btc_anchoring::RpcClient
Methods
impl Client
[src]
impl Client
pub fn new<S>(url: S, user: Option<String>, password: Option<String>) -> Client where | [src] |
pub fn url(&self) -> &str | [src] |
pub fn password(&self) -> &Option<String> | [src] |
pub fn username(&self) -> &Option<String> | [src] |
impl Client
[src]
impl Client
pub fn getinfo(&self) -> Result<Info, Error> | [src] |
pub fn getnewaddress(&self) -> Result<String, Error> | [src] |
pub fn validateaddress(&self, addr: &str) -> Result<AddressInfo, Error> | [src] |
pub fn createmultisig<V>(&self, signs: u8, addrs: V) -> Result<MultiSig, Error> where | [src] |
pub fn sendtoaddress(&self, addr: &str, amount: &str) -> Result<String, Error> | [src] |
pub fn getrawtransaction(&self, txid: &str) -> Result<String, Error> | [src] |
pub fn getrawtransaction_verbose( | [src] |
pub fn createrawtransaction<T, O>( | [src] |
pub fn dumpprivkey(&self, pub_key: &str) -> Result<String, Error> | [src] |
pub fn signrawtransaction<O, K>( | [src] |
pub fn sendrawtransaction(&self, txhex: &str) -> Result<String, Error> | [src] |
pub fn decoderawtransaction( | [src] |
pub fn addwitnessaddress(&self, addr: &str) -> Result<String, Error> | [src] |
pub fn listtransactions( | [src] |
pub fn listunspent<V>( | [src] |
pub fn importaddress( | [src] |
pub fn generate( | [src] |
pub fn generatetoaddress( | [src] |
pub fn stop(&self) -> Result<String, Error> | [src] |
pub fn getreceivedbyaddress( | [src] |
pub fn getblockcount(&self) -> Result<u64, Error> | [src] |
pub fn getbestblockhash(&self) -> Result<String, Error> | [src] |
pub fn getblockhash(&self, height: u64) -> Result<String, Error> | [src] |
pub fn getblock<S>(&self, hash: S) -> Result<String, Error> where | [src] |
Trait Implementations
impl Debug for Client
[src]
impl Debug for Client
impl BitcoinRelay for RpcClient
[src]
impl BitcoinRelay for RpcClient
fn get_transaction(&self, txid: TxId) -> Result<Option<BitcoinTx>> | [src] |
fn get_transaction_info(&self, txid: TxId) -> Result<Option<TxInfo>> | [src] |
fn watch_address(&self, addr: &Address, rescan: bool) -> Result<()> | [src] |
fn send_transaction(&self, tx: BitcoinTx) -> Result<()> | [src] |
fn send_to_address(&self, addr: &Address, satoshis: u64) -> Result<FundingTx> | [src] |
fn unspent_transactions(&self, addr: &Address) -> Result<Vec<TxInfo>> | [src] |
fn config(&self) -> AnchoringRpcConfig | [src] |
fn get_transaction_confirmations(&self, txid: TxId) -> Result<Option<u64>> | [src] |
Retrieves information about confirmations for transaction with the given id.
impl From<AnchoringRpcConfig> for RpcClient
[src]
impl From<AnchoringRpcConfig> for RpcClient
fn from(cfg: AnchoringRpcConfig) -> Self | [src] |
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> Erased for T
impl<T> Erased for T
impl<T> Erased for T
impl<T> Erased for T
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self