Skip to content
docs

GenericActivityItem

Defined in: kit/src/activity/generic.ts:43

What the generic fallback adds to an ActivityItem.

  • ActivityItem

optional approval?: object

Defined in: kit/src/activity/generic.ts:45

For approve / revoke: the allowance that was set. amount: null = unlimited (≥ 2^255).

amount: bigint | null

optional spender?: string

token: string


assetsIn: ActivityAsset[]

Defined in: core/dist/index-QWdcwE6y.d.ts:275

What arrived.

ActivityItem.assetsIn


assetsOut: ActivityAsset[]

Defined in: core/dist/index-QWdcwE6y.d.ts:273

What left the wallet.

ActivityItem.assetsOut


chain: string

Defined in: core/dist/index-QWdcwE6y.d.ts:257

CAIP-2 chain id.

ActivityItem.chain


optional counterparty?: string

Defined in: core/dist/index-QWdcwE6y.d.ts:277

The other party: recipient, sender, spender, contract.

ActivityItem.counterparty


optional explorerUrl?: string

Defined in: core/dist/index-QWdcwE6y.d.ts:288

Link to the transaction in a block explorer.

ActivityItem.explorerUrl


optional fee?: bigint

Defined in: core/dist/index-QWdcwE6y.d.ts:286

Network fee paid, native base units.

ActivityItem.fee


hash: string

Defined in: core/dist/index-QWdcwE6y.d.ts:259

Transaction hash.

ActivityItem.hash


id: string

Defined in: core/dist/index-QWdcwE6y.d.ts:255

${chain}:${hash} — unique across chains.

ActivityItem.id


kind: ActivityKind

Defined in: core/dist/index-QWdcwE6y.d.ts:265

What happened, from the owner’s side.

ActivityItem.kind


optional protocol?: string

Defined in: core/dist/index-QWdcwE6y.d.ts:267

Registry module name that recognized it (e.g. “@anywalletkit/protocol-lending-aave-evm”); undefined for the generic fallback.

ActivityItem.protocol


optional related?: object[]

Defined in: core/dist/index-QWdcwE6y.d.ts:279

For cross-chain operations: the other leg (chain + hash) when known.

chain: string

hash: string

ActivityItem.related


optional spam?: boolean

Defined in: core/dist/index-QWdcwE6y.d.ts:284

Source flagged it as spam / dust (unsolicited airdrop, zero-value transfer). The app hides these by default.

ActivityItem.spam


status: ChainTxStatus

Defined in: core/dist/index-QWdcwE6y.d.ts:263

Whether the transaction succeeded.

ActivityItem.status


optional subtitle?: string

Defined in: core/dist/index-QWdcwE6y.d.ts:271

Protocol / venue / counterparty label for the subtitle, e.g. “Aave v3 · Base”, “LI.FI”, “0x1234…abcd”.

ActivityItem.subtitle


time: number

Defined in: core/dist/index-QWdcwE6y.d.ts:261

Unix seconds.

ActivityItem.time


title: string

Defined in: core/dist/index-QWdcwE6y.d.ts:269

Short human title, e.g. “Supplied USDC”, “Swapped ETH → USDC”, “Sent USDT”.

ActivityItem.title