Skip to content
docs

describeZeroExActivity

describeZeroExActivity(tx, ctx, chains?): ActivityItem | null

Defined in: protocol-swap2-0x/src/activity.ts:23

The activity item for a 0x swap, or null. chains is the chain table to read (default: the module’s own); the providers pass the table they were built with, so a chain added or re-pinned through chains is labelled too.

ChainTx

DescribeActivityContext

Readonly<Record<number, ZeroExChain>> = ZEROEX_CHAINS

ActivityItem | null