Skip to content
docs

FeedItem

Defined in: kit/src/activity/feed.ts:75

An activity item as the feed emits it.

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

GenericActivityItem.approval


assetsIn: ActivityAsset[]

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

What arrived.

GenericActivityItem.assetsIn


assetsOut: ActivityAsset[]

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

What left the wallet.

GenericActivityItem.assetsOut


chain: string

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

CAIP-2 chain id.

GenericActivityItem.chain


optional counterparty?: string

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

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

GenericActivityItem.counterparty


optional explorerUrl?: string

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

Link to the transaction in a block explorer.

GenericActivityItem.explorerUrl


optional fee?: bigint

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

Network fee paid, native base units.

GenericActivityItem.fee


hash: string

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

Transaction hash.

GenericActivityItem.hash


id: string

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

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

GenericActivityItem.id


optional intentId?: string

Defined in: kit/src/activity/feed.ts:77

Journal intent this row belongs to.


kind: ActivityKind

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

What happened, from the owner’s side.

GenericActivityItem.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.

GenericActivityItem.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

GenericActivityItem.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.

GenericActivityItem.spam


status: ChainTxStatus

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

Whether the transaction succeeded.

GenericActivityItem.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”.

GenericActivityItem.subtitle


time: number

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

Unix seconds.

GenericActivityItem.time


title: string

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

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

GenericActivityItem.title