🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@exodus/blockchain-metadata

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exodus/blockchain-metadata

Manages access to and persistence of blockchain metadata, specifically transaction history and account state.

Source
npmnpm
Version
16.0.0
Version published
Weekly downloads
760
-52.38%
Maintainers
1
Weekly downloads
 
Created
Source

@exodus/blockchain-metadata

This feature stores and manages transaction logs as well as account states of wallet accounts in a central location.

Install

yarn add @exodus/blockchain-metadata

Usage

This feature is designed to be used together with @exodus/headless. See using the sdk.

API Side

See using the sdk for more details on how features plug into the SDK and the API interface in the type declaration.

If you're building a feature that needs to write transaction logs or account states you can also use the batching feature of blockchain-metadata, which will only emit once after all updates are processed. Depend on the blockchainMetadata node and use the batch method to queue up updates:

await blockchainMetadata
  .batch()
  .updateAccountState({
    assetName: 'bitcoin',
    walletAccount: 'exodus_0',
    newData: { cursor: 'some cursor' },
  })
  .updateAccountState({
    assetName: 'ethereum',
    walletAccount: 'exodus_0',
    newData: { cursor: 'some cursor' },
  })
  .updateTxs({
    assetName: 'ethereum',
    walletAccount: 'exodus_0',
    txs: [{ id: '123', confirmations: 42 }],
  })
  .commit()

FAQs

Package last updated on 01 Sep 2025

Did you know?

Socket

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.

Install

Related posts