
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
A TypeScript SDK for the Zerion API, providing access to rich web3 wallet data and analytics.
A comprehensive TypeScript SDK for the Zerion API, providing access to rich web3 wallet data and analytics.
npm install zerion
import { ZerionAPI, createZerionClient } from 'zerion';
// Create client with API key
const client = new ZerionAPI({ apiKey: 'your-api-key' });
// Or use the factory function
const client = createZerionClient({ apiKey: 'your-api-key' });
const portfolio = await client.getWalletPortfolio('0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045');
console.log(portfolio);
const positions = await client.listWalletPositions('0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045', {
positions: 'no_filter',
currency: 'usd',
});
console.log(positions);
const transactions = await client.listWalletTransactions('0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045', {
page: { size: 50 },
});
console.log(transactions);
const nftPositions = await client.listWalletNFTPositions('0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045', {
currency: 'usd',
});
console.log(nftPositions);
const fungibles = await client.listFungibles({
searchQuery: 'bitcoin',
currency: 'usd',
});
console.log(fungibles);
const chains = await client.listChains();
console.log(chains);
const gasPrices = await client.listGasPrices();
console.log(gasPrices);
# Initialize the CLI
npx zerion --api-key your-api-key
# Query a wallet
npx zerion --api-key your-api-key --address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
# Clone the repository
git clone https://github.com/romankurnovskii/zerion-sdk.git
# Install dependencies
npm install
npm run build: Build for productionnpm run test: Run tests with Vitestnpm run test:watch: Run tests in watch modenpm run lint: Lint code with ESLintnpm run format: Format code with Prettiernpm run release: Create a release with ChangesetsThe SDK provides access to the following Zerion API endpoints:
getWalletChart - Get wallet's balance chartgetWalletPNL - Get wallet's PnLgetWalletPortfolio - Get wallet's portfoliolistWalletPositions - Get list of wallet's fungible positionslistWalletTransactions - Get list of wallet's transactionslistWalletNFTPositions - Get list of wallet's NFT positionslistWalletNFTCollections - Get list of NFT collections held by a walletgetWalletNFTPortfolio - Get wallet's NFT portfoliolistFungibles - Get list of fungible assetsgetFungibleById - Get fungible asset by IDgetFungibleChart - Get a chart for a fungible assetlistChains - Get list of all chainsgetChainById - Get chain by IDgetSwapFungibles - Get fungibles available for bridgegetSwapOffers - Get available swap offerslistGasPrices - Get list of all available gas priceslistNFTs - Get list of NFTsgetNFTById - Get single NFT by IDContributions are welcome! Please open an issue or submit a pull request.
MIT © Roman Kurnovskii
FAQs
A TypeScript SDK for the Zerion API, providing access to rich web3 wallet data and analytics.
We found that zerion demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.