@0xmonaco/types 0.2.4 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/market/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Types for market data operations including trading pair metadata and OHLCV data.
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import type { BaseAPI } from "../api";
|
|
7
7
|
/**
|
|
8
8
|
* Trading pair metadata
|
|
9
9
|
*/
|
|
@@ -81,17 +81,38 @@ export interface CandlestickSubscription {
|
|
|
81
81
|
/** Candlestick interval */
|
|
82
82
|
interval: Interval;
|
|
83
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* Query parameters for fetching trading pairs
|
|
86
|
+
*/
|
|
87
|
+
export interface GetTradingPairsParams {
|
|
88
|
+
/** Page number (starts from 1) */
|
|
89
|
+
page?: number;
|
|
90
|
+
/** Number of items per page (max 100) */
|
|
91
|
+
limit?: number;
|
|
92
|
+
/** Filter by market type (SPOT, MARGIN) */
|
|
93
|
+
market_type?: string;
|
|
94
|
+
/** Filter by base token symbol */
|
|
95
|
+
base_token?: string;
|
|
96
|
+
/** Filter by quote token symbol */
|
|
97
|
+
quote_token?: string;
|
|
98
|
+
/** Filter by active status */
|
|
99
|
+
is_active?: boolean;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Paginated response for trading pairs
|
|
103
|
+
*/
|
|
104
|
+
export interface PaginatedTradingPairs {
|
|
105
|
+
data: TradingPair[];
|
|
106
|
+
limit: number;
|
|
107
|
+
page: number;
|
|
108
|
+
total: number;
|
|
109
|
+
total_pages: number;
|
|
110
|
+
}
|
|
84
111
|
/**
|
|
85
112
|
* API response wrapper for trading pairs
|
|
86
113
|
*/
|
|
87
114
|
export interface GetTradingPairsResponse {
|
|
88
|
-
data:
|
|
89
|
-
data: TradingPair[];
|
|
90
|
-
limit: number;
|
|
91
|
-
page: number;
|
|
92
|
-
total: number;
|
|
93
|
-
total_pages: number;
|
|
94
|
-
};
|
|
115
|
+
data: PaginatedTradingPairs;
|
|
95
116
|
success: boolean;
|
|
96
117
|
}
|
|
97
118
|
/**
|
|
@@ -101,6 +122,13 @@ export interface GetTradingPairResponse {
|
|
|
101
122
|
data: TradingPair;
|
|
102
123
|
success: boolean;
|
|
103
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
* API response wrapper for single trading pair
|
|
127
|
+
*/
|
|
128
|
+
export interface GetCandlestickResponse {
|
|
129
|
+
data: Candlestick[];
|
|
130
|
+
success: boolean;
|
|
131
|
+
}
|
|
104
132
|
/**
|
|
105
133
|
* Market API interface.
|
|
106
134
|
* Provides methods for fetching market metadata and trading pair information.
|
|
@@ -108,9 +136,10 @@ export interface GetTradingPairResponse {
|
|
|
108
136
|
export interface MarketAPI extends BaseAPI {
|
|
109
137
|
/**
|
|
110
138
|
* Fetch all available trading pairs supported by Monaco.
|
|
111
|
-
* @
|
|
139
|
+
* @param params - Optional query parameters for filtering and pagination
|
|
140
|
+
* @returns Promise resolving to paginated response with trading pairs
|
|
112
141
|
*/
|
|
113
|
-
|
|
142
|
+
getPaginatedTradingPairs(params?: GetTradingPairsParams): Promise<GetTradingPairsResponse>;
|
|
114
143
|
/**
|
|
115
144
|
* Fetch metadata for a single trading pair by its symbol (e.g. BTC-USDC).
|
|
116
145
|
* @param symbol - Trading pair symbol
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/market/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/market/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AAMtC;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,wBAAwB;IACxB,EAAE,EAAE,MAAM,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AW,GAAG,SAAS,CAAC,CAAC;IAEzE;;;;;;;OAOG;IACH,eAAe,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,EAAE,CAAC,CAAC;CACjH"}
|
package/dist/profile/index.d.ts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Types for user profile operations including fetching user profile data.
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import type { BaseAPI } from "../api";
|
|
7
|
+
import type { OrderSide, OrderStatus, OrderType } from "../trading/orders";
|
|
8
|
+
import type { Balance } from "../vault/responses";
|
|
9
9
|
/**
|
|
10
10
|
* Account movement/transaction information.
|
|
11
11
|
* Represents transactions/movements returned in the profile's recent_movements array.
|
|
@@ -28,6 +28,66 @@ export interface ProfileMovement {
|
|
|
28
28
|
/** Optional description of the movement */
|
|
29
29
|
description?: string;
|
|
30
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Ledger movement from the movements endpoint.
|
|
33
|
+
* More detailed than ProfileMovement with balance tracking.
|
|
34
|
+
*/
|
|
35
|
+
export interface LedgerMovement {
|
|
36
|
+
/** Movement unique identifier */
|
|
37
|
+
id: string;
|
|
38
|
+
/** Type of entry (Credit, Debit) */
|
|
39
|
+
entry_type: string;
|
|
40
|
+
/** Type of transaction (Deposit, Withdrawal, Trade, etc.) */
|
|
41
|
+
transaction_type: string;
|
|
42
|
+
/** Transaction amount */
|
|
43
|
+
amount: string;
|
|
44
|
+
/** Token symbol */
|
|
45
|
+
token: string;
|
|
46
|
+
/** Balance before this transaction */
|
|
47
|
+
balance_before: string | null;
|
|
48
|
+
/** Balance after this transaction */
|
|
49
|
+
balance_after: string | null;
|
|
50
|
+
/** Locked balance before transaction */
|
|
51
|
+
locked_before: string | null;
|
|
52
|
+
/** Locked balance after transaction */
|
|
53
|
+
locked_after: string | null;
|
|
54
|
+
/** Reference identifier for related operations */
|
|
55
|
+
reference_id: string | null;
|
|
56
|
+
/** Reference type */
|
|
57
|
+
reference_type: string | null;
|
|
58
|
+
/** Human readable description */
|
|
59
|
+
description: string | null;
|
|
60
|
+
/** Blockchain transaction hash */
|
|
61
|
+
tx_hash: string | null;
|
|
62
|
+
/** Blockchain block number */
|
|
63
|
+
block_number: number | null;
|
|
64
|
+
/** Transaction timestamp */
|
|
65
|
+
created_at: string | null;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Query parameters for getting user movements
|
|
69
|
+
*/
|
|
70
|
+
export interface GetUserMovementsParams {
|
|
71
|
+
/** Page number (starts from 1) */
|
|
72
|
+
page?: number;
|
|
73
|
+
/** Number of items per page (max 100) */
|
|
74
|
+
limit?: number;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Response from getting user movements
|
|
78
|
+
*/
|
|
79
|
+
export interface GetPaginatedUserMovementsResponse {
|
|
80
|
+
/** List of ledger movements */
|
|
81
|
+
movements: LedgerMovement[];
|
|
82
|
+
/** Current page number */
|
|
83
|
+
page: number;
|
|
84
|
+
/** Items per page */
|
|
85
|
+
limit: number;
|
|
86
|
+
/** Total number of movements */
|
|
87
|
+
total_count: number;
|
|
88
|
+
/** Total number of pages */
|
|
89
|
+
total_pages: number;
|
|
90
|
+
}
|
|
31
91
|
/**
|
|
32
92
|
* Order information for recent orders.
|
|
33
93
|
* Represents orders returned in the profile's recent_orders array.
|
|
@@ -89,5 +149,17 @@ export interface ProfileAPI extends BaseAPI {
|
|
|
89
149
|
* @returns Promise resolving to the user's profile information
|
|
90
150
|
*/
|
|
91
151
|
getProfile(): Promise<UserProfile>;
|
|
152
|
+
/**
|
|
153
|
+
* Get the current user's ledger movements (transaction history) with pagination.
|
|
154
|
+
*
|
|
155
|
+
* Fetches the user's transaction history from the /api/v1/accounts/movements endpoint.
|
|
156
|
+
* Requires a valid access token to be set.
|
|
157
|
+
*
|
|
158
|
+
* @param params - Optional query parameters for pagination
|
|
159
|
+
* @param params.page - Page number (starts from 1)
|
|
160
|
+
* @param params.limit - Number of items per page (max 100)
|
|
161
|
+
* @returns Promise resolving to paginated movements response
|
|
162
|
+
*/
|
|
163
|
+
getPaginatedUserMovements(params?: GetUserMovementsParams): Promise<GetPaginatedUserMovementsResponse>;
|
|
92
164
|
}
|
|
93
165
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/profile/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/profile/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAMlD;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,0BAA0B;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,oBAAoB;IACpB,IAAI,EAAE,SAAS,GAAG,YAAY,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,CAAC;IAC/D,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,+DAA+D;IAC/D,MAAM,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,qCAAqC;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sBAAsB;IACtB,MAAM,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,MAAM,CAAC;IACpD,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,MAAM,WAA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@ import { type CancelOrderResponse, type CreateOrderResponse, type ReplaceOrderRe
|
|
|
14
14
|
export interface TradingAPI extends BaseAPI {
|
|
15
15
|
/**
|
|
16
16
|
* Places a limit order on the order book.
|
|
17
|
-
* @param
|
|
17
|
+
* @param tradingPairId - Trading pair UUID
|
|
18
18
|
* @param side - Order side ("BUY" or "SELL")
|
|
19
19
|
* @param quantity - Order quantity as string
|
|
20
20
|
* @param price - Order price as string
|
|
@@ -22,14 +22,14 @@ export interface TradingAPI extends BaseAPI {
|
|
|
22
22
|
* @param options.tradingMode - Trading mode (e.g., "SPOT")
|
|
23
23
|
* @returns Promise resolving to the order result
|
|
24
24
|
*/
|
|
25
|
-
placeLimitOrder(
|
|
25
|
+
placeLimitOrder(tradingPairId: string, side: OrderSide, quantity: string, price: string, options?: {
|
|
26
26
|
tradingMode?: string;
|
|
27
27
|
useMasterBalance?: boolean;
|
|
28
28
|
expirationDate?: string;
|
|
29
29
|
}): Promise<CreateOrderResponse>;
|
|
30
30
|
/**
|
|
31
31
|
* Places a market order for immediate execution.
|
|
32
|
-
* @param
|
|
32
|
+
* @param tradingPairId - Trading pair UUID
|
|
33
33
|
* @param side - Order side ("BUY" or "SELL")
|
|
34
34
|
* @param quantity - Order quantity as string
|
|
35
35
|
* @param options - Optional parameters for the market order
|
|
@@ -37,7 +37,7 @@ export interface TradingAPI extends BaseAPI {
|
|
|
37
37
|
* @param options.slippageTolerance - Slippage tolerance as decimal (e.g., 0.01 for 1%, 0 for best price only, undefined for unlimited slippage)
|
|
38
38
|
* @returns Promise resolving to the order result
|
|
39
39
|
*/
|
|
40
|
-
placeMarketOrder(
|
|
40
|
+
placeMarketOrder(tradingPairId: string, side: OrderSide, quantity: string, options?: {
|
|
41
41
|
tradingMode?: string;
|
|
42
42
|
slippageTolerance?: number;
|
|
43
43
|
}): Promise<CreateOrderResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/trading/index.ts"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