@armada/sdk / index / HistoryEntry
Interface: HistoryEntry
Defined in: src/sync/history.ts:30
One value movement the wallet participated in. Flat per (txid, owned-note) — a consumer groups by txid for a per-transaction view. value is the wallet delta for tokenAddress: positive for receives, negative for sends (set by later phases). Amounts are token base units.
Properties
txid
readonlytxid:string
Defined in: src/sync/history.ts:31
blockNumber
readonlyblockNumber:number
Defined in: src/sync/history.ts:32
category
readonlycategory:HistoryCategory
Defined in: src/sync/history.ts:33
tokenHash
readonlytokenHash:string
Defined in: src/sync/history.ts:35
Canonical 32-byte token hash (no 0x) — the identifier balances() and the token events join on.
tokenAddress
readonlytokenAddress:`0x${string}`
Defined in: src/sync/history.ts:36
value
readonlyvalue:bigint
Defined in: src/sync/history.ts:37
broadcasterFee?
readonlyoptionalbroadcasterFee?:bigint
Defined in: src/sync/history.ts:39
Relayer fee paid (sends/unshields) — the in-band broadcaster fee. Populated in H3.
shieldFee?
readonlyoptionalshieldFee?:bigint
Defined in: src/sync/history.ts:41
Shield fee charged (shield receives).
unshieldFee?
readonlyoptionalunshieldFee?:bigint
Defined in: src/sync/history.ts:43
Protocol unshield fee (unshield entries) — from the on-chain Unshield event.
recipient?
readonlyoptionalrecipient?:string
Defined in: src/sync/history.ts:45
Public recipient address (unshield entries).
senderShieldedAddress?
readonlyoptionalsenderShieldedAddress?:string
Defined in: src/sync/history.ts:47
Sender's 0zk, if they disclosed it (transfer receives).
sentOutputs?
readonlyoptionalsentOutputs?: readonlySentRecipient[]
Defined in: src/sync/history.ts:49
Recipient outputs of a send (transfer-sent), recovered sender-side — recipient 0zk + amount + memo.
memo?
readonlyoptionalmemo?:string
Defined in: src/sync/history.ts:50
timestamp?
readonlyoptionaltimestamp?:number
Defined in: src/sync/history.ts:52
Unix seconds — attached by wallet.history() from the block; absent in the pure reconstruction.