blockchain_types 0.0.2

Blockchain types for parsing blockchain information
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[allow(dead_code)]
pub struct Transaction {
    date: u32,
    is_coinbase: bool, 
    hash: String,
    block_hash: String,
    block_height: u64,
    amounts: Option<Vec<TransactionAmount>>
}

#[allow(dead_code)]
pub struct TransactionAmount {
    amount: u64,
    address: String, 
    transaction_hash: String
}