pub struct TransactionSelection {
pub from: Vec<Address>,
pub to: Vec<Address>,
pub sighash: Vec<Sighash>,
pub status: Option<u8>,
pub kind: Vec<u8>,
pub contract_address: Vec<Address>,
}
Fields§
§from: Vec<Address>
Address the transaction should originate from. If transaction.from matches any of these, the transaction will be returned. Keep in mind that this has an and relationship with to filter, so each transaction should match both of them. Empty means match all.
to: Vec<Address>
Address the transaction should go to. If transaction.to matches any of these, the transaction will be returned. Keep in mind that this has an and relationship with from filter, so each transaction should match both of them. Empty means match all.
sighash: Vec<Sighash>
If first 4 bytes of transaction input matches any of these, transaction will be returned. Empty means match all.
status: Option<u8>
If transaction.status matches this value, the transaction will be returned.
kind: Vec<u8>
If transaction.type matches any of these values, the transaction will be returned
contract_address: Vec<Address>
Trait Implementations§
source§impl Clone for TransactionSelection
impl Clone for TransactionSelection
source§fn clone(&self) -> TransactionSelection
fn clone(&self) -> TransactionSelection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more