@tixprotocol/tdp-sdk
v0.3.0
Published
TDP SDK
Readme
@tixprotocol/tdp-sdk
The TypeScript SDK for the TIX Developer Platform: query events and listings, manage custodial wallets, sign and submit transactions, and integrate ticket claims.
Install
Requires Node.js 22.12.0 or later.
npm install @tixprotocol/tdp-sdkQuickstart
import { createTdpClient } from "@tixprotocol/tdp-sdk";
const API_KEY = "<your-api-key>";
const baseApiUrl = "<your-api-base-url>";
const client = createTdpClient({ baseApiUrl, apiKey: API_KEY });
const events = await client.indexer.listUpcomingEvents({ limit: 10 });
console.log(events.items);TDP API keys are private credentials. Do not expose them publicly.
License
Apache-2.0.
