UNPKG

@deeeed/hyperliquid-node20

Version:

Unofficial Hyperliquid API SDK for all major JS runtimes, written in TypeScript. Fork with Node.js 20.18.0+ compatibility.

25 lines (24 loc) 461 B
/** * This module contains all types related to the Hyperliquid API. * * @example * ```ts * import type { OrderParams } from "@nktkas/hyperliquid/types"; * * const myOrder: OrderParams = { * a: 0, // Asset index * b: true, // Buy order * p: "30000", // Price * s: "0.1", // Size * r: false, // Not reduce-only * t: { * limit: { * tif: "Gtc", // Good-til-cancelled * }, * }, * }; * ``` * * @module */ export {};