Getting Started
Installation
pnpm
pnpm add @whisk/steakhouseQuick Start
import { SteakhouseClient, getVaults, getVault, getStats } from "@whisk/steakhouse"
const client = new SteakhouseClient({
apiKey: process.env.STEAKHOUSE_API_KEY!,
})
// List Steakhouse-curated vaults
const vaults = await getVaults(client)
// Get vault details
const vault = await getVault(client, {
chainId: 1,
vaultAddress: "0x...",
})
// Get stats & TVL
const stats = await getStats(client)Next Steps
- Queries - Full query API reference
- Direct GraphQL - Custom queries with full type safety
Requirements
| Requirement | Version |
|---|---|
| Node.js | >= 18 |
| TypeScript | >= 5.0 |
@whisk/steakhouse is an ESM-only package.