Skip to main content

bybit/models/
transaction_log_result.rs

1use crate::prelude::*;
2
3/// Summarizes transaction log data for an account.
4///
5/// Part of the `TransactionLogResponse`, this struct organizes transaction data by pagination cursor and a list of transaction records. Bots use this to process and audit trading activity.
6#[derive(Debug, Serialize, Deserialize, Clone)]
7#[serde(rename_all = "camelCase")]
8pub struct TransactionLogResult {
9    /// The cursor for pagination.
10    ///
11    /// Indicates the next page of results for large datasets. Bots should use this for paginated requests to fetch additional transaction logs.
12    pub next_page_cursor: String,
13
14    /// A list of transaction log entries.
15    ///
16    /// Contains detailed transaction data, such as trades, fees, and funding. Bots use this to analyze trading activity and calculate performance metrics.
17    pub list: Vec<TransactionLogEntry>,
18}