pub struct Filters {
pub wallet: Option<String>,
pub limit: Option<u32>,
pub list_id: Option<u64>,
pub chains: Option<Vec<String>>,
pub tx_types: Option<Vec<TxType>>,
pub tokens: Option<Vec<String>>,
pub min_usd: Option<u64>,
pub new_trades: Option<bool>,
pub start_from: Option<String>,
pub from_timestamp: Option<u64>,
pub to_timestamp: Option<u64>,
pub include_market_cap: Option<bool>,
}Expand description
Filters for querying the feed.
Fields§
§wallet: Option<String>Filter the feed by a specific wallet address.
limit: Option<u32>Limit the number of transactions returned in the feed. The maximum limit is 100.
list_id: Option<u64>Filter transactions by a specific List ID.
chains: Option<Vec<String>>Filter transactions by specific blockchain chains (e.g., ethereum).
tx_types: Option<Vec<TxType>>Filter transactions by types (e.g., swap, nft_trade).
tokens: Option<Vec<String>>Filter transactions by specific tokens, identified by either their address or symbol.
min_usd: Option<u64>Set a minimum USD value for transactions. Default is 0.
new_trades: Option<bool>Filter transactions by new trades.
start_from: Option<String>Set value from response ‘paging.next_object_id’ to get the next page.
from_timestamp: Option<u64>Filter transactions from a specific UNIX timestamp.
to_timestamp: Option<u64>Filter transactions to a specific UNIX timestamp.
include_market_cap: Option<bool>Include marketcap in the response.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Filters
impl RefUnwindSafe for Filters
impl Send for Filters
impl Sync for Filters
impl Unpin for Filters
impl UnsafeUnpin for Filters
impl UnwindSafe for Filters
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more