pub struct IcrcAccountTransactionListReport {Show 24 fields
pub schema_version: u32,
pub ledger_canister_id: String,
pub index_canister_id: String,
pub account_owner: String,
pub subaccount_hex: Option<String>,
pub requested_limit: u32,
pub sort: String,
pub total_transaction_count: usize,
pub returned_transaction_count: usize,
pub newest_transaction_id: Option<String>,
pub oldest_transaction_id: Option<String>,
pub balance: String,
pub token_symbol: String,
pub decimals: u8,
pub collection_started_at: String,
pub collection_completed_at: String,
pub source_endpoint: String,
pub fetched_by: String,
pub complete: bool,
pub point_in_time_guaranteed: bool,
pub page_size: u32,
pub page_count: u32,
pub cache_path: String,
pub transactions: Vec<IcrcAccountTransactionRow>,
}Expand description
IcrcAccountTransactionListReport
Serializable cache-only view over a complete account-history snapshot.
Fields§
§schema_version: u32Report schema version.
ledger_canister_id: StringLedger canister whose cached history is shown.
index_canister_id: StringVerified index canister used to collect the cache.
account_owner: StringCached account owner principal.
subaccount_hex: Option<String>Cached subaccount as normalized hex.
requested_limit: u32Maximum cached rows requested by this view.
sort: StringStable requested ordering name.
total_transaction_count: usizeTotal rows in the complete cache.
returned_transaction_count: usizeRows returned by this view.
newest_transaction_id: Option<String>Highest transaction id in the complete cache.
oldest_transaction_id: Option<String>Lowest transaction id in the complete cache.
balance: StringAccount balance captured from the first index page.
token_symbol: StringLedger token symbol used for text rendering.
decimals: u8Ledger token decimals used for text rendering.
collection_started_at: StringComplete collection start timestamp.
collection_completed_at: StringComplete collection finish timestamp.
source_endpoint: StringIC API endpoint represented by the cache.
fetched_by: StringCollector identity.
complete: boolWhether source exhaustion was proven.
point_in_time_guaranteed: boolWhether the source guaranteed one point-in-time snapshot.
page_size: u32Maximum transactions requested per source page.
page_count: u32Number of source pages collected.
cache_path: StringComplete-cache path read by this view.
transactions: Vec<IcrcAccountTransactionRow>Selected cached rows in requested order.
Trait Implementations§
Source§impl Clone for IcrcAccountTransactionListReport
impl Clone for IcrcAccountTransactionListReport
Source§fn clone(&self) -> IcrcAccountTransactionListReport
fn clone(&self) -> IcrcAccountTransactionListReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more