#[macro_export]
macro_rules! impl_client_v24__migrate_wallet {
() => {
impl Client {
pub fn migrate_wallet(&self, wallet_name: &str) -> Result<MigrateWallet> {
self.call("migratewallet", &[wallet_name.into()])
}
}
};
}
#[macro_export]
macro_rules! impl_client_v24__send_all {
() => {
impl Client {
pub fn send_all(&self, recipients: &[Address]) -> Result<SendAll> {
self.call("sendall", &[into_json(recipients)?])
}
}
};
}
#[macro_export]
macro_rules! impl_client_v24__simulate_raw_transaction {
() => {
impl Client {
pub fn simulate_raw_transaction(
&self,
rawtxs: &[String],
) -> Result<SimulateRawTransaction> {
self.call("simulaterawtransaction", &[into_json(rawtxs)?])
}
}
};
}