New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@imtbl/blockchain-data

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@imtbl/blockchain-data

Wrapper functions for interacting with Immutable blockchain data APIs

  • 2.0.0-alpha.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

About

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.

Table of Contents

Usage

You can find an example usage of this package in the example set up here

Installation

Individual Package Installation

To install this package, run the following command:

npm add @imtbl/blockchain-data
# or
yarn add @imtbl/blockchain-data
# or
pnpm add @imtbl/blockchain-data

SDK Installation

This package is also included within the @imtbl/sdk NPM package and can be re-exported directly from there.

Conditional Exports

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.

Direct Imports

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

Package last updated on 10 Dec 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc