ActivityOptions
Defined in: kit/src/activity/feed.ts:39
Options for the activity feed, set once with WalletOptions.activity.
Extends
Section titled “Extends”Properties
Section titled “Properties”explorerUrl?
Section titled “explorerUrl?”
optionalexplorerUrl?: (chain,hash) =>string|undefined
Defined in: kit/src/activity/generic.ts:32
Explorer URL for an item (the kit passes the chain’s HistorySource.explorerTxUrl).
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”string | undefined
Inherited from
Section titled “Inherited from”GenericDescribeOptions.explorerUrl
known?
Section titled “known?”
optionalknown?:KnownLabels
Defined in: kit/src/activity/generic.ts:28
Labels for contracts / counterparties the app trusts or names (“Uniswap v3 Router”), per chain.
Inherited from
Section titled “Inherited from”maxEmptyHops?
Section titled “maxEmptyHops?”
optionalmaxEmptyHops?:number
Defined in: kit/src/activity/feed.ts:47
Empty pages with a cursor (block-window sources) followed per source per call. Default 3.
natives?
Section titled “natives?”
optionalnatives?:Record<string,NativeAsset>
Defined in: kit/src/activity/generic.ts:30
Native coin per CAIP-2 chain; overrides the built-in table and the swap2-assets catalog.
Inherited from
Section titled “Inherited from”GenericDescribeOptions.natives
optionalnow?: () =>number
Defined in: kit/src/activity/feed.ts:45
Clock in unix seconds (tests).
Returns
Section titled “Returns”number
onError?
Section titled “onError?”
optionalonError?: (report) =>void
Defined in: kit/src/activity/feed.ts:41
Called for every isolated failure (a source that errored, a recognizer that threw, a journal write that failed). Failures also ride in HistoryFeedPage.errors.
Parameters
Section titled “Parameters”report
Section titled “report”Returns
Section titled “Returns”void
pendingTtl?
Section titled “pendingTtl?”
optionalpendingTtl?:number
Defined in: kit/src/activity/feed.ts:43
Seconds a pending intent may wait for its row before it is marked failed. Default 86 400 (24 h).
tokens?
Section titled “tokens?”
optionaltokens?: (chain,token) => {decimals:number;symbol:string; } |undefined
Defined in: kit/src/activity/generic.ts:39
The app’s own token list (custom tokens the user added, @anywalletkit/tokens): ERC-20s
outside the swap2-assets catalog. Used for symbols and decimals, and to know an approve(x, 0)
on such a token is an ERC-20 revoke. Without it an unlisted token’s approval reads as
“Approved 0x1234…”.
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”{ decimals: number; symbol: string; } | undefined