
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
@exodus/activity-txs
Advanced tools
This feature generates user-friendly activity from transactions, orders, fiat orders, NFTs, and connections by grouping, batching, and formatting them.
Each asset’s activity consists of a set of transactions transformed using asset.api.getActivityTxs, which returns an array of Tx models: [Tx, Tx, Tx].
Most assets don't have this API and simply return the original transactions.
For example, Bitcoin batched transactions are combined into a single activity item. Instead of multiple transactions (Txs), you get a single transaction with a summarized coinAmount.
This feature introduces atoms with activity items generated from txLog and accountState. It provides an efficient way to store these items by wallet accounts and update this extensive object while avoiding unnecessary re-computations.
Additionally, it offers extra Redux selectors to retrieve activity, limited by size or batched activity items. These selectors format activity depending on its type: NFTs (if the nfts module is integrated), fiat orders (if the fiat module is integrated), and swap orders (if the orders feature is integrated).
This feature is designed to be used together with @exodus/headless. See Using the SDK for more details.
The feature doesn't have a public API. Data is transformed automatically, stored in activityTxsAtom, and emitted to be stored in the Redux state.
Open the playground at https://exodus-hydra.pages.dev/features/activity-txs
Run the following command in the Dev Tools Console to see activity for Bitcoin:
selectors.activityTxs.createFullActivity({
nftsNetworkNameToAssetName: { fantom: 'fantommainnet' },
})({ assetName: 'bitcoin', walletAccount: 'exodus_0' })(store.getState())
run the following command in the Dev Tools Console to see activity for Bitcoin and Ethereum together:
selectors.activityTxs.createMultiActivity({
createAssetSourceActivitySelector: selectors.activityTxs.createFullActivity({
nftsNetworkNameToAssetName: { fantom: 'fantommainnet' },
}),
})({ assetNames: ['bitcoin', 'ethereum'], walletAccounts: ['exodus_0', 'exodus_1'] })(
store.getState()
)
selectors.activityTxs. See example usage in tests.See using the sdk for more details on basic UI-side setup.
import selectors from '~/ui/flux/selectors'
const fullAssetSourceActivitySelector = selectors.activityTxs.createFullActivity({
nftsNetworkNameToAssetName: { fantom: 'fantommainnet' },
})
const MyComponent = () => {
const bitcoinActivity = useSelector(
fullAssetSourceActivitySelector({ assetName: 'bitcoin', walletAccount: 'exodus_0' })
)
return bitcoinActivity.map((activityItem) => (
<Text>
{activityItem.assetName} : {activityItem.displayAmount}
</Text>
))
}
FAQs
The activity-txs feature
The npm package @exodus/activity-txs receives a total of 1,164 weekly downloads. As such, @exodus/activity-txs popularity was classified as popular.
We found that @exodus/activity-txs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.