@armada/sdk / index / ReconstructHistoryInput
Interface: ReconstructHistoryInput
Defined in: src/sync/history.ts:169
Properties
ownedTxos
readonlyownedTxos: readonlyTXO[]
Defined in: src/sync/history.ts:170
spentNullifiers
readonlyspentNullifiers: readonlySpentNullifier[]
Defined in: src/sync/history.ts:171
unshields
readonlyunshields: readonlyDecodedUnshield[]
Defined in: src/sync/history.ts:172
sentOutputs
readonlysentOutputs: readonlySentOutput[]
Defined in: src/sync/history.ts:174
Notes the wallet authored (recovered sender-side) — recipient/fee detail of its own sends.
shieldRelayerFees?
readonlyoptionalshieldRelayerFees?:ReadonlyMap<string,bigint>
Defined in: src/sync/history.ts:177
Per-txid relayer fee paid in a gasless shield we co-authored (issue #88 lever 2) — recovered from the Shield event's plaintext commitment values. Attached to the matching shield entry.
nullifyingKey
readonlynullifyingKey:bigint
Defined in: src/sync/history.ts:178
shieldedAddress
readonlyshieldedAddress:string
Defined in: src/sync/history.ts:181
The wallet's own 0zk address — used to recognize sends addressed to self (a self-transfer, not an outgoing payment) so they aren't misreported as money leaving the wallet.
resolveToken
readonlyresolveToken:TokenAddressResolver
Defined in: src/sync/history.ts:184
Resolve a token hash → ERC20 address for each entry (issue #90). Notes in an unresolvable token (non-ERC20 / NFT — out of scope) are skipped. Token-agnostic: every held ERC20 gets history.
usdcHash
readonlyusdcHash:string
Defined in: src/sync/history.ts:187
Canonical 32-byte hash (no 0x) of USDC — the yield vault's asset; distinguishes a yield deposit (asset in / shares out) from a withdrawal (shares in / asset out). Not a scoping filter.
yieldAdapterAddress?
readonlyoptionalyieldAdapterAddress?:string
Defined in: src/sync/history.ts:189
Yield adapter address (lowercased-compared); an unshield to it marks a yield op.