This library serves as a way to interact with Pulsar's Third Party APIs. Provided you have an API Key, getting started is very easy.
E.g. on how to fetch balances from a wallet:
import { ChainKeys, PulsarSDK } from 'pulsar_sdk_js'
const API_KEY = 'YOUR_API_KEY'
const ETHEREUM_TEST_WALLET = '0x77984dc88aab3d9c843256d7aabdc82540c94f69'
const sdk = new PulsarSDK(API_KEY)
const responsesList = []
for await (const response of sdk.balances.getWalletBalances(ETHEREUM_TEST_WALLET, ChainKeys.ETHEREUM)) {
responsesList.push(response)
}
Which will fetch you all the wallet balances for your wallet, provided the Chain is active in our environment.
For more information, check out our documentation.