pub struct IcrcAccountTransactionSnapshot {Show 16 fields
pub schema_version: u32,
pub source_endpoint: String,
pub collection_started_at: String,
pub collection_completed_at: String,
pub fetched_by: String,
pub ledger_canister_id: String,
pub index_canister_id: String,
pub account_owner: String,
pub subaccount_hex: Option<String>,
pub balance: String,
pub token_symbol: String,
pub decimals: u8,
pub newest_transaction_id: Option<String>,
pub oldest_transaction_id: Option<String>,
pub completeness: CacheCollectionCompleteness,
pub transactions: Vec<IcrcAccountTransactionRow>,
}Expand description
IcrcAccountTransactionSnapshot
Complete persisted account-history snapshot collected by exhausting the index API.
Fields§
§schema_version: u32Cache schema version.
source_endpoint: StringIC API endpoint used for ledger and index calls.
collection_started_at: StringCollection start timestamp supplied by the refresh caller’s clock.
collection_completed_at: StringCollection completion timestamp derived from the start plus monotonic elapsed time.
fetched_by: StringCollector identity.
ledger_canister_id: StringLedger canister whose transactions were indexed.
index_canister_id: StringVerified index canister used for every page.
account_owner: StringQueried account owner principal.
subaccount_hex: Option<String>Queried subaccount as normalized hex.
balance: StringAccount balance reported by the first index page.
token_symbol: StringLedger token symbol used for text rendering.
decimals: u8Ledger token decimals used for text rendering.
newest_transaction_id: Option<String>Highest collected transaction id.
oldest_transaction_id: Option<String>Lowest collected transaction id.
completeness: CacheCollectionCompletenessComplete-collection evidence.
transactions: Vec<IcrcAccountTransactionRow>Canonical newest-first account transactions.