Skip to content
docs

describeSwapLike

describeSwapLike(tx, ctx, o): ActivityItem | null

Defined in: protocol-swap2-core/src/activity.ts:146

Build the item once the caller has decided the transaction is this module’s. Returns null only when the owner moved nothing and no title was given — a recognized call that touched none of the owner’s balances is not activity.

ChainTx

DescribeActivityContext

SwapActivityOptions

ActivityItem | null