UNPKG

@pear-protocol/hyperliquid-sdk

Version:

React SDK for Pear Protocol Hyperliquid API integration

7 lines (6 loc) 301 B
import type { ApiResponse, TwapMonitoringDto } from '../types'; import type { CancelTwapResponseDto } from '../clients/orders'; export declare function useTwap(): { readonly orders: TwapMonitoringDto[]; readonly cancelTwap: (orderId: string) => Promise<ApiResponse<CancelTwapResponseDto>>; };