@sendylol/sdk
v0.1.0
Published
TypeScript SDK for the Sendy API.
Readme
@sendylol/sdk
TypeScript SDK for Sendy's documented /api/v2/sdk/* API key surface.
npm install @sendylol/sdkimport { SendyClient } from '@sendylol/sdk';
const client = new SendyClient({ apiKey: process.env.SENDY_API_KEY! });
const wallets = await client.wallets();Realtime streams use Socket.IO:
const socket = client.connectWalletTradeStream('YOUR_WALLET');
socket.on('trade', (trade) => console.log(trade.tokenAddress, trade.side));