Intent
Defined in: kit/src/activity/journal.ts:25
One user action as the app saw it when it broadcast: kind, chain, the hashes it produced and what it expected to move. The feed shows it as a pending row and merges it into the on-chain rows once they appear.
Properties
Section titled “Properties”address
Section titled “address”address:
string
Defined in: kit/src/activity/journal.ts:35
Wallet address that signed.
chain:
string
Defined in: kit/src/activity/journal.ts:33
Chain the action started on (CAIP-2) and the wallet address that signed.
createdAt
Section titled “createdAt”createdAt:
number
Defined in: kit/src/activity/journal.ts:31
Unix seconds when the user confirmed the action.
expect?
Section titled “expect?”
optionalexpect?:object
Defined in: kit/src/activity/journal.ts:39
What the app expected to leave / arrive (quote amounts), used while pending and when the recognizer saw nothing.
assetsIn
Section titled “assetsIn”assetsIn:
ActivityAsset[]
assetsOut
Section titled “assetsOut”assetsOut:
ActivityAsset[]
hashes
Section titled “hashes”hashes:
object[]
Defined in: kit/src/activity/journal.ts:37
Every transaction hash this action produced or expects, source leg first. A cross-chain swap lists both legs once known.
chain:
string
hash:
string
id:
string
Defined in: kit/src/activity/journal.ts:27
App-chosen, unique: a UUID, or the provider’s own id (1Click deposit address, LI.FI route id…). Emitted as intent:<id> while pending.
kind:
ActivityKind
Defined in: kit/src/activity/journal.ts:29
What the user did: swap, bridge, send, supply…
protocol?
Section titled “protocol?”
optionalprotocol?:string
Defined in: kit/src/activity/journal.ts:41
Registry module name that executed it, e.g. “@anywalletkit/protocol-swap2-lifi”.
related?
Section titled “related?”
optionalrelated?:object[]
Defined in: kit/src/activity/journal.ts:45
Other legs that are not this wallet’s own transactions (a relayer’s fill, a destination deposit).
chain:
string
hash:
string
status
Section titled “status”status:
IntentStatus
Defined in: kit/src/activity/journal.ts:47
Current state; the feed updates it as rows arrive.
subtitle?
Section titled “subtitle?”
optionalsubtitle?:string
Defined in: kit/src/activity/journal.ts:43
Venue / counterparty label, e.g. “LI.FI”, “Aave v3 · Base”.