GenericDescribeOptions
Defined in: kit/src/activity/generic.ts:26
Labels the generic describer uses when no module recognizes a transaction: known contract names, native coins, explorer links.
Extended by
Section titled “Extended by”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
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.
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.
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