2.0.2 • Published 11 months ago

@unmarshal/sdk v2.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Features:

  • Wallet APIs
  • Protocol(LP) APIs
  • NFTs
  • Price Store
  • Token Store
  • Top Traders
  • EVM APIs
  • Notifications APIs
  • Modular package: include only what you need
  • Fully Typescript ready out-of-the box

🚀 Quick start

If you're new to unmarshal, check the quickstart guide in the official docs on how to get started.

If you're already familiar with unmarshal and have your server set up. Then follow along to connect your SDK:

1. Install unmarshal

The easiest way to integrate the unmarshal SDK into your JavaScript project is through the npm module.

Install the package via npm:

npm install @unmarshal/sdk  

or yarn:

yarn add @unmarshal/sdk  

Import unmarshal:

import {Unmarshal, Chain} from "@unmarshal/sdk";

2. Initialise unmarshal

After your dependency is added, you simply need to create new unmarshal instance by passing your auth key

const unmarshal = new Unmarshal({  
    apiKey: "YOUR_API_KEY_GOES_HERE"  
});

Usage

After initialisation, you can use any unmarshal functionalities via, as described in our extensive docs

unmarshal.WalletApi
    .getTokenBalances(Chain.ethereum, "demo.eth")
    .then(({data}) => console.log(data))
2.0.2

11 months ago

2.0.1

11 months ago

1.0.10

1 year ago

1.0.7

1 year ago

2.0.0

1 year ago

1.0.12

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago