web3 0.3.1

Ethereum JSON-RPC client.
Documentation
1
2
3
4
5
6
7
8
9
10
use types::{BlockId, H256, Index};

/// Transaction Identifier
#[derive(Clone, Debug, PartialEq)]
pub enum TransactionId {
    /// By hash
    Hash(H256),
    /// By block and index
    Block(BlockId, Index),
}