{"library":"bnc-sdk","type":"library","category":null,"description":"A lightweight JavaScript/TypeScript SDK (v4.6.9+, semver) that connects to Blocknative's Ethereum backend via WebSocket to provide real-time transaction monitoring and address notifications. It supports both Node.js and browser environments, requires an API key, and ships with TypeScript types. Key differentiators: uses Blocknative's prediction engine for early tx status (pending, confirmed, failed), event-based architecture (txPool, txConfirmed, all), and an account watcher. Alternatives like ethers.js or web3.js only provide lower-level event polling.","language":"javascript","status":"active","version":"4.6.9","tags":["javascript","ethereum","websocket","blocknative","notifications","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install bnc-sdk","imports":["import BlocknativeSdk from 'bnc-sdk'","import type { BlocknativeSdk } from 'bnc-sdk'","const sdk = new BlocknativeSdk(options)"]},{"cmd":"yarn add bnc-sdk","imports":[]},{"cmd":"pnpm add bnc-sdk","imports":[]}],"homepage":"https://github.com/blocknative/sdk#readme","github":"https://github.com/blocknative/sdk","docs":null,"changelog":null,"pypi":null,"npm":"bnc-sdk","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}