create_bitcoin_transaction/
types.rs

1use std::collections::HashMap;
2
3#[derive(Debug, Clone)]
4pub struct PayFrom {
5    pub transaction: String,
6    pub vout_index: u64,
7    pub script_pub_key_hex_of_vout: String,
8    pub address: String,          // native or wrapped,
9    pub vout_amount_in_sats: u64, // native or wrapped,
10}
11#[derive(Debug, Clone)]
12pub struct PayTo {
13    pub address: String,
14    pub amount_in_sats: u64,
15}
16pub type Wifs = HashMap<u64, String>;