
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
@imtbl/blockchain-data
Advanced tools
Wrapper functions for interacting with Immutable blockchain data APIs
The Blockchain Data SDK provides a set of wrapper functions for interacting with the Immutable Blockchain Data APIs. It provides a simple and easy-to-use interface for querying blockchain data, such as assets, orders, and trades.
Read more about the Blockchain Data APIs in our docs here.
You can find an example usage of this package in the example set up here
To install this package, run the following command:
npm add @imtbl/blockchain-data
# or
pnpm add @imtbl/blockchain-data
# or
yarn add @imtbl/blockchain-data
This package is also included within the @imtbl/sdk
NPM package and can be re-exported directly from there.
If your environment supports conditional exports, you can import the contents of this package directly from the @imtbl/sdk
package using the @imtbl/sdk/blockchain_data
import path like so:
import { APIError, BlockchainData } from '@imtbl/sdk/blockchain_data';
This is the recommended way of consuming this package, as it allows for better tree-shaking and smaller bundle sizes.
If your environment does not support conditional exports, you will need to import the contents of this package directly from the @imtbl/sdk
package like so:
import { blockchainData } from '@imtbl/sdk';
const { APIError, BlockchainData } = blockchainData;
However this method will result in a larger bundle size as the entire @imtbl/blockchain-data
package will be included in your bundle.
FAQs
Wrapper functions for interacting with Immutable blockchain data APIs
The npm package @imtbl/blockchain-data receives a total of 3,306 weekly downloads. As such, @imtbl/blockchain-data popularity was classified as popular.
We found that @imtbl/blockchain-data demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.