Comment on page
🚀
Quick Start
Fastest SDK to get you started
TypeScript / JavaScript SDK
1
npm install @tatumio/tatum
TypeScript
1
import { TatumSDK, Ethereum, Network } from '@tatumio/tatum'
2
3
// Init chain of your choice
4
const tatum = await TatumSDK.init<Ethereum>({network: Network.ETHEREUM})
5
6
// Use our interfaces to make the call
7
const latestBlock = await tatum.rpc.blockNumber()
8
9
console.log(`Latest block is ${latestBlock}`)
10
Last modified 1mo ago