Ask or search…

JavaScript / TypeScript SDK

Tatum offers a very powerful JS/TS SDK which can help developers to make dapps easier and quicker.
This page provides a step-by-step guide on getting started creating a dapp that fetches the native balance of a user under a minute.


Before diving into TatumSDK, ensure that you have the following prerequisites installed:
  • Node.js: Ensure you have the latest LTS version installed.
  • npm: npm is bundled with Node.js, so installing Node.js should automatically install npm.


To install TatumSDK, simply run the following command in your terminal or command prompt:

Install using npm​

npm install @tatumio/tatum

Install using yarn​

yarn add @tatumio/tatum

Install using pnpm​

pnpm install @tatumio/tatum

Making your first Call

Now that you have installed Tatum SDk, lets make your first call in which we will fetch the native balance of wallet in just 3 steps.
Here's the code snippet for same,
import { TatumSDK, Network } from '@tatumio/tatum'
const tatum = await TatumSDK.init({ network: Network.ETHEREUM });
const balance = await tatum.address.getBalance({
addresses: [addressInput.value],
Try the first call in the codepen below.
Make your first call.
Interesting? You can follow this full Get Started guide to start building your own dapps.
© Tatum Technology, LLC