@upbit-official/upbit-sdk 0.9.0 → 1.1.0
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/CHANGELOG.md +13 -0
- package/README.md +36 -16
- package/client.d.mts +13 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +13 -4
- package/client.d.ts.map +1 -1
- package/client.js +26 -4
- package/client.js.map +1 -1
- package/client.mjs +26 -4
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.js.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.d.mts.map +1 -1
- package/core/error.d.ts.map +1 -1
- package/core/error.js.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.js.map +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/resource.js.map +1 -1
- package/core/resource.mjs.map +1 -1
- package/index.d.mts +3 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts +3 -1
- package/index.d.ts.map +1 -1
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -1
- package/index.mjs.map +1 -1
- package/internal/builtin-types.d.mts.map +1 -1
- package/internal/builtin-types.d.ts.map +1 -1
- package/internal/errors.d.mts.map +1 -1
- package/internal/errors.d.ts.map +1 -1
- package/internal/errors.js.map +1 -1
- package/internal/errors.mjs.map +1 -1
- package/internal/headers.d.mts.map +1 -1
- package/internal/headers.d.ts.map +1 -1
- package/internal/headers.js.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/shim-types.d.mts.map +1 -1
- package/internal/shim-types.d.ts.map +1 -1
- package/internal/shim-types.js.map +1 -1
- package/internal/shim-types.mjs.map +1 -1
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts.map +1 -1
- package/internal/shims.js.map +1 -1
- package/internal/shims.mjs.map +1 -1
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts.map +1 -1
- package/internal/utils/base64.d.mts.map +1 -1
- package/internal/utils/base64.d.ts.map +1 -1
- package/internal/utils/base64.js.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/env.d.mts.map +1 -1
- package/internal/utils/env.d.ts.map +1 -1
- package/internal/utils/env.js.map +1 -1
- package/internal/utils/env.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/query.d.mts.map +1 -1
- package/internal/utils/query.d.ts.map +1 -1
- package/internal/utils/query.js.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/sleep.d.mts.map +1 -1
- package/internal/utils/sleep.d.ts.map +1 -1
- package/internal/utils/sleep.js.map +1 -1
- package/internal/utils/sleep.mjs.map +1 -1
- package/internal/utils/uuid.d.mts.map +1 -1
- package/internal/utils/uuid.d.ts.map +1 -1
- package/internal/utils/uuid.js.map +1 -1
- package/internal/utils/uuid.mjs.map +1 -1
- package/internal/utils/values.d.mts.map +1 -1
- package/internal/utils/values.d.ts.map +1 -1
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.js.map +1 -1
- package/internal/ws-parser.d.mts +40 -0
- package/internal/ws-parser.d.mts.map +1 -0
- package/internal/ws-parser.d.ts +40 -0
- package/internal/ws-parser.d.ts.map +1 -0
- package/internal/ws-parser.js +125 -0
- package/internal/ws-parser.js.map +1 -0
- package/internal/ws-parser.mjs +118 -0
- package/internal/ws-parser.mjs.map +1 -0
- package/internal/ws-simple-types.d.mts +8 -0
- package/internal/ws-simple-types.d.mts.map +1 -0
- package/internal/ws-simple-types.d.ts +8 -0
- package/internal/ws-simple-types.d.ts.map +1 -0
- package/internal/ws-simple-types.js +3 -0
- package/internal/ws-simple-types.js.map +1 -0
- package/internal/ws-simple-types.mjs +2 -0
- package/internal/ws-simple-types.mjs.map +1 -0
- package/internal/ws.d.mts +1 -0
- package/internal/ws.d.mts.map +1 -1
- package/internal/ws.d.ts +1 -0
- package/internal/ws.d.ts.map +1 -1
- package/internal/ws.js.map +1 -1
- package/internal/ws.mjs.map +1 -1
- package/lib/index.d.mts +4 -2
- package/lib/index.d.mts.map +1 -1
- package/lib/index.d.ts +4 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1 -1
- package/lib/index.mjs.map +1 -1
- package/lib/jsonParseFloat.d.mts +5 -5
- package/lib/jsonParseFloat.d.mts.map +1 -1
- package/lib/jsonParseFloat.d.ts +5 -5
- package/lib/jsonParseFloat.d.ts.map +1 -1
- package/lib/jsonParseFloat.js +31 -12
- package/lib/jsonParseFloat.js.map +1 -1
- package/lib/jsonParseFloat.mjs +31 -12
- package/lib/jsonParseFloat.mjs.map +1 -1
- package/lib/ws.d.mts +102 -15
- package/lib/ws.d.mts.map +1 -1
- package/lib/ws.d.ts +102 -15
- package/lib/ws.d.ts.map +1 -1
- package/lib/ws.js +208 -34
- package/lib/ws.js.map +1 -1
- package/lib/ws.mjs +204 -33
- package/lib/ws.mjs.map +1 -1
- package/package.json +15 -9
- package/resources/accounts.d.mts +2 -0
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +2 -0
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.js +2 -0
- package/resources/accounts.js.map +1 -1
- package/resources/accounts.mjs +2 -0
- package/resources/accounts.mjs.map +1 -1
- package/resources/api-keys.d.mts +3 -1
- package/resources/api-keys.d.mts.map +1 -1
- package/resources/api-keys.d.ts +3 -1
- package/resources/api-keys.d.ts.map +1 -1
- package/resources/api-keys.js +3 -1
- package/resources/api-keys.js.map +1 -1
- package/resources/api-keys.mjs +3 -1
- package/resources/api-keys.mjs.map +1 -1
- package/resources/candles.d.mts +21 -1
- package/resources/candles.d.mts.map +1 -1
- package/resources/candles.d.ts +21 -1
- package/resources/candles.d.ts.map +1 -1
- package/resources/candles.js +12 -0
- package/resources/candles.js.map +1 -1
- package/resources/candles.mjs +12 -0
- package/resources/candles.mjs.map +1 -1
- package/resources/deposits.d.mts +18 -1
- package/resources/deposits.d.mts.map +1 -1
- package/resources/deposits.d.ts +18 -1
- package/resources/deposits.d.ts.map +1 -1
- package/resources/deposits.js +18 -1
- package/resources/deposits.js.map +1 -1
- package/resources/deposits.mjs +18 -1
- package/resources/deposits.mjs.map +1 -1
- package/resources/index.d.mts +4 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -2
- package/resources/index.mjs.map +1 -1
- package/resources/orderbooks.d.mts +4 -0
- package/resources/orderbooks.d.mts.map +1 -1
- package/resources/orderbooks.d.ts +4 -0
- package/resources/orderbooks.d.ts.map +1 -1
- package/resources/orderbooks.js +4 -0
- package/resources/orderbooks.js.map +1 -1
- package/resources/orderbooks.mjs +4 -0
- package/resources/orderbooks.mjs.map +1 -1
- package/resources/orders.d.mts +12 -2
- package/resources/orders.d.mts.map +1 -1
- package/resources/orders.d.ts +12 -2
- package/resources/orders.d.ts.map +1 -1
- package/resources/orders.js +12 -2
- package/resources/orders.js.map +1 -1
- package/resources/orders.mjs +12 -2
- package/resources/orders.mjs.map +1 -1
- package/resources/pockets.d.mts +509 -0
- package/resources/pockets.d.mts.map +1 -0
- package/resources/pockets.d.ts +509 -0
- package/resources/pockets.d.ts.map +1 -0
- package/resources/pockets.js +157 -0
- package/resources/pockets.js.map +1 -0
- package/resources/pockets.mjs +153 -0
- package/resources/pockets.mjs.map +1 -0
- package/resources/tickers.d.mts +6 -0
- package/resources/tickers.d.mts.map +1 -1
- package/resources/tickers.d.ts +6 -0
- package/resources/tickers.d.ts.map +1 -1
- package/resources/tickers.js +6 -0
- package/resources/tickers.js.map +1 -1
- package/resources/tickers.mjs +6 -0
- package/resources/tickers.mjs.map +1 -1
- package/resources/trades.d.mts +5 -3
- package/resources/trades.d.mts.map +1 -1
- package/resources/trades.d.ts +5 -3
- package/resources/trades.d.ts.map +1 -1
- package/resources/trades.js +5 -3
- package/resources/trades.js.map +1 -1
- package/resources/trades.mjs +5 -3
- package/resources/trades.mjs.map +1 -1
- package/resources/trading-pairs.d.mts +2 -0
- package/resources/trading-pairs.d.mts.map +1 -1
- package/resources/trading-pairs.d.ts +2 -0
- package/resources/trading-pairs.d.ts.map +1 -1
- package/resources/trading-pairs.js +2 -0
- package/resources/trading-pairs.js.map +1 -1
- package/resources/trading-pairs.mjs +2 -0
- package/resources/trading-pairs.mjs.map +1 -1
- package/resources/travel-rule.d.mts +6 -0
- package/resources/travel-rule.d.mts.map +1 -1
- package/resources/travel-rule.d.ts +6 -0
- package/resources/travel-rule.d.ts.map +1 -1
- package/resources/travel-rule.js +6 -0
- package/resources/travel-rule.js.map +1 -1
- package/resources/travel-rule.mjs +6 -0
- package/resources/travel-rule.mjs.map +1 -1
- package/resources/wallet-status.d.mts +2 -0
- package/resources/wallet-status.d.mts.map +1 -1
- package/resources/wallet-status.d.ts +2 -0
- package/resources/wallet-status.d.ts.map +1 -1
- package/resources/wallet-status.js +2 -0
- package/resources/wallet-status.js.map +1 -1
- package/resources/wallet-status.mjs +2 -0
- package/resources/wallet-status.mjs.map +1 -1
- package/resources/withdraws.d.mts +18 -1
- package/resources/withdraws.d.mts.map +1 -1
- package/resources/withdraws.d.ts +18 -1
- package/resources/withdraws.d.ts.map +1 -1
- package/resources/withdraws.js +18 -1
- package/resources/withdraws.js.map +1 -1
- package/resources/withdraws.mjs +18 -1
- package/resources/withdraws.mjs.map +1 -1
- package/resources/ws-info/index.d.mts +6 -0
- package/resources/ws-info/index.d.mts.map +1 -0
- package/resources/ws-info/index.d.ts +6 -0
- package/resources/ws-info/index.d.ts.map +1 -0
- package/resources/ws-info/index.js +6 -0
- package/resources/ws-info/index.js.map +1 -0
- package/resources/ws-info/index.mjs +2 -0
- package/resources/ws-info/index.mjs.map +1 -0
- package/resources/ws-info/internal-base.d.mts +63 -0
- package/resources/ws-info/internal-base.d.mts.map +1 -0
- package/resources/ws-info/internal-base.d.ts +63 -0
- package/resources/ws-info/internal-base.d.ts.map +1 -0
- package/resources/ws-info/internal-base.js +47 -0
- package/resources/ws-info/internal-base.js.map +1 -0
- package/resources/ws-info/internal-base.mjs +41 -0
- package/resources/ws-info/internal-base.mjs.map +1 -0
- package/resources/ws-info/ws-info.d.mts +1180 -0
- package/resources/ws-info/ws-info.d.mts.map +1 -0
- package/resources/ws-info/ws-info.d.ts +1180 -0
- package/resources/ws-info/ws-info.d.ts.map +1 -0
- package/resources/ws-info/ws-info.js +8 -0
- package/resources/ws-info/ws-info.js.map +1 -0
- package/resources/ws-info/ws-info.mjs +4 -0
- package/resources/ws-info/ws-info.mjs.map +1 -0
- package/resources/ws-info/ws.d.mts +91 -0
- package/resources/ws-info/ws.d.mts.map +1 -0
- package/resources/ws-info/ws.d.ts +91 -0
- package/resources/ws-info/ws.d.ts.map +1 -0
- package/resources/ws-info/ws.js +463 -0
- package/resources/ws-info/ws.js.map +1 -0
- package/resources/ws-info/ws.mjs +458 -0
- package/resources/ws-info/ws.mjs.map +1 -0
- package/resources/ws-info.d.mts +2 -0
- package/resources/ws-info.d.mts.map +1 -0
- package/resources/ws-info.d.ts +2 -0
- package/resources/ws-info.d.ts.map +1 -0
- package/resources/ws-info.js +5 -0
- package/resources/ws-info.js.map +1 -0
- package/resources/ws-info.mjs +2 -0
- package/resources/ws-info.mjs.map +1 -0
- package/resources/ws-private/index.d.mts +3 -1
- package/resources/ws-private/index.d.mts.map +1 -1
- package/resources/ws-private/index.d.ts +3 -1
- package/resources/ws-private/index.d.ts.map +1 -1
- package/resources/ws-private/index.js.map +1 -1
- package/resources/ws-private/index.mjs +1 -1
- package/resources/ws-private/index.mjs.map +1 -1
- package/resources/ws-private/internal-base.d.mts.map +1 -1
- package/resources/ws-private/internal-base.d.ts.map +1 -1
- package/resources/ws-private/internal-base.js.map +1 -1
- package/resources/ws-private/internal-base.mjs.map +1 -1
- package/resources/ws-private/ws-private.d.mts +301 -9
- package/resources/ws-private/ws-private.d.mts.map +1 -1
- package/resources/ws-private/ws-private.d.ts +301 -9
- package/resources/ws-private/ws-private.d.ts.map +1 -1
- package/resources/ws-private/ws-private.js.map +1 -1
- package/resources/ws-private/ws-private.mjs.map +1 -1
- package/resources/ws-private/ws.d.mts +2 -2
- package/resources/ws-private/ws.d.mts.map +1 -1
- package/resources/ws-private/ws.d.ts +2 -2
- package/resources/ws-private/ws.d.ts.map +1 -1
- package/resources/ws-private/ws.js +15 -20
- package/resources/ws-private/ws.js.map +1 -1
- package/resources/ws-private/ws.mjs +15 -20
- package/resources/ws-private/ws.mjs.map +1 -1
- package/resources/ws-private.js.map +1 -1
- package/resources/ws-public/index.d.mts +3 -1
- package/resources/ws-public/index.d.mts.map +1 -1
- package/resources/ws-public/index.d.ts +3 -1
- package/resources/ws-public/index.d.ts.map +1 -1
- package/resources/ws-public/index.js.map +1 -1
- package/resources/ws-public/index.mjs +1 -1
- package/resources/ws-public/index.mjs.map +1 -1
- package/resources/ws-public/internal-base.d.mts.map +1 -1
- package/resources/ws-public/internal-base.d.ts.map +1 -1
- package/resources/ws-public/internal-base.js.map +1 -1
- package/resources/ws-public/internal-base.mjs.map +1 -1
- package/resources/ws-public/ws-public.d.mts +355 -5
- package/resources/ws-public/ws-public.d.mts.map +1 -1
- package/resources/ws-public/ws-public.d.ts +355 -5
- package/resources/ws-public/ws-public.d.ts.map +1 -1
- package/resources/ws-public/ws-public.js.map +1 -1
- package/resources/ws-public/ws-public.mjs.map +1 -1
- package/resources/ws-public/ws.d.mts +2 -2
- package/resources/ws-public/ws.d.mts.map +1 -1
- package/resources/ws-public/ws.d.ts +2 -2
- package/resources/ws-public/ws.d.ts.map +1 -1
- package/resources/ws-public/ws.js +15 -20
- package/resources/ws-public/ws.js.map +1 -1
- package/resources/ws-public/ws.mjs +15 -20
- package/resources/ws-public/ws.mjs.map +1 -1
- package/resources/ws-public.js.map +1 -1
- package/src/client.ts +141 -5
- package/src/core/api-promise.ts +0 -1
- package/src/core/error.ts +0 -1
- package/src/core/pagination.ts +0 -1
- package/src/core/resource.ts +0 -1
- package/src/index.ts +24 -2
- package/src/internal/builtin-types.ts +0 -1
- package/src/internal/errors.ts +0 -1
- package/src/internal/headers.ts +0 -1
- package/src/internal/parse.ts +0 -1
- package/src/internal/request-options.ts +0 -1
- package/src/internal/shim-types.ts +0 -1
- package/src/internal/shims.ts +0 -1
- package/src/internal/types.ts +0 -1
- package/src/internal/utils/base64.ts +0 -1
- package/src/internal/utils/env.ts +0 -1
- package/src/internal/utils/log.ts +0 -1
- package/src/internal/utils/query.ts +0 -1
- package/src/internal/utils/sleep.ts +0 -1
- package/src/internal/utils/uuid.ts +0 -1
- package/src/internal/utils/values.ts +0 -1
- package/src/internal/utils.ts +0 -1
- package/src/internal/ws-parser.ts +164 -0
- package/src/internal/ws-simple-types.ts +34 -0
- package/src/internal/ws.ts +1 -0
- package/src/lib/index.ts +17 -2
- package/src/lib/jsonParseFloat.ts +38 -12
- package/src/lib/ws.ts +367 -55
- package/src/resources/accounts.ts +2 -1
- package/src/resources/api-keys.ts +3 -2
- package/src/resources/candles.ts +22 -2
- package/src/resources/deposits.ts +18 -2
- package/src/resources/index.ts +65 -3
- package/src/resources/orderbooks.ts +4 -1
- package/src/resources/orders.ts +12 -3
- package/src/resources/pockets.ts +639 -0
- package/src/resources/tickers.ts +6 -1
- package/src/resources/trades.ts +5 -4
- package/src/resources/trading-pairs.ts +2 -1
- package/src/resources/travel-rule.ts +6 -1
- package/src/resources/wallet-status.ts +2 -1
- package/src/resources/withdraws.ts +18 -2
- package/src/resources/ws-info/index.ts +44 -0
- package/src/resources/ws-info/internal-base.ts +96 -0
- package/src/resources/ws-info/ws-info.ts +1855 -0
- package/src/resources/ws-info/ws.ts +574 -0
- package/src/resources/ws-info.ts +1 -0
- package/src/resources/ws-private/index.ts +12 -2
- package/src/resources/ws-private/internal-base.ts +0 -2
- package/src/resources/ws-private/ws-private.ts +419 -18
- package/src/resources/ws-private/ws.ts +16 -24
- package/src/resources/ws-private.ts +0 -1
- package/src/resources/ws-public/index.ts +16 -2
- package/src/resources/ws-public/internal-base.ts +0 -2
- package/src/resources/ws-public/ws-public.ts +459 -5
- package/src/resources/ws-public/ws.ts +16 -24
- package/src/resources/ws-public.ts +0 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
export class Pockets extends APIResource {
|
|
3
|
+
/**
|
|
4
|
+
* List Pockets
|
|
5
|
+
*
|
|
6
|
+
* GET /v1/pockets
|
|
7
|
+
*
|
|
8
|
+
* - docs(kr): https://docs.upbit.com/kr/reference/list-pockets
|
|
9
|
+
* - Supported only in Korea.
|
|
10
|
+
*
|
|
11
|
+
* Retrieve the UUIDs and names of the main pocket and user-created pockets.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const pockets = await client.pockets.list();
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
list(options) {
|
|
19
|
+
return this._client.get('/v1/pockets', options);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* List Pocket API Keys
|
|
23
|
+
*
|
|
24
|
+
* GET /v1/pockets/api_keys
|
|
25
|
+
*
|
|
26
|
+
* - docs(kr): https://docs.upbit.com/kr/reference/list-pocket-api-keys
|
|
27
|
+
* - Supported only in Korea.
|
|
28
|
+
*
|
|
29
|
+
* List API keys and related information for each created pocket using main-pocket
|
|
30
|
+
* API key permissions.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const pocketAPIKeyGroups =
|
|
35
|
+
* await client.pockets.listAPIKeys();
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
listAPIKeys(query = {}, options) {
|
|
39
|
+
return this._client.get('/v1/pockets/api_keys', { query, ...options });
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* List Transfers
|
|
43
|
+
*
|
|
44
|
+
* GET /v1/pockets/transfers
|
|
45
|
+
*
|
|
46
|
+
* - docs(kr): https://docs.upbit.com/kr/reference/list-transfers
|
|
47
|
+
* - Supported only in Korea.
|
|
48
|
+
*
|
|
49
|
+
* List asset transfer history between pockets that occurred from the sub-pocket
|
|
50
|
+
* using sub-pocket API key permissions.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* ```ts
|
|
54
|
+
* const pocketTransfers =
|
|
55
|
+
* await client.pockets.listTransfers();
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
listTransfers(query = {}, options) {
|
|
59
|
+
return this._client.get('/v1/pockets/transfers', { query, ...options });
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* List Universal Transfers
|
|
63
|
+
*
|
|
64
|
+
* GET /v1/pockets/universal_transfers
|
|
65
|
+
*
|
|
66
|
+
* - docs(kr): https://docs.upbit.com/kr/reference/list-universal-transfers
|
|
67
|
+
* - Supported only in Korea.
|
|
68
|
+
*
|
|
69
|
+
* List asset transfer history between pockets, such as main pocket to sub-pocket,
|
|
70
|
+
* using main-pocket API key permissions.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* ```ts
|
|
74
|
+
* const pocketTransfers =
|
|
75
|
+
* await client.pockets.listUniversalTransfers();
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
listUniversalTransfers(query = {}, options) {
|
|
79
|
+
return this._client.get('/v1/pockets/universal_transfers', { query, ...options });
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Get Sub-Pocket Balance
|
|
83
|
+
*
|
|
84
|
+
* GET /v1/pockets/assets
|
|
85
|
+
*
|
|
86
|
+
* - docs(kr): https://docs.upbit.com/kr/reference/get-sub-pocket-balance
|
|
87
|
+
* - Supported only in Korea.
|
|
88
|
+
*
|
|
89
|
+
* Retrieve balances for a specific sub-pocket using main-pocket API key
|
|
90
|
+
* permissions.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* ```ts
|
|
94
|
+
* const pocketBalances = await client.pockets.retrieveBalance(
|
|
95
|
+
* { uuid: 'uuid' },
|
|
96
|
+
* );
|
|
97
|
+
* ```
|
|
98
|
+
*/
|
|
99
|
+
retrieveBalance(query, options) {
|
|
100
|
+
return this._client.get('/v1/pockets/assets', { query, ...options });
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Transfer
|
|
104
|
+
*
|
|
105
|
+
* POST /v1/pockets/transfers
|
|
106
|
+
*
|
|
107
|
+
* - docs(kr): https://docs.upbit.com/kr/reference/transfer
|
|
108
|
+
* - Supported only in Korea.
|
|
109
|
+
*
|
|
110
|
+
* Request an asset transfer between pockets, such as sub-pocket to sub-pocket,
|
|
111
|
+
* using sub-pocket API key permissions.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* ```ts
|
|
115
|
+
* const pocketTransfer = await client.pockets.transfer({
|
|
116
|
+
* amount: '10.00',
|
|
117
|
+
* currency: 'XRP',
|
|
118
|
+
* to: '9ca023a5-851b-4fec-9f0a-48cd83c2eaae',
|
|
119
|
+
* identifier: 'unique_transfer_id_20260531_01',
|
|
120
|
+
* });
|
|
121
|
+
* ```
|
|
122
|
+
*/
|
|
123
|
+
transfer(body, options) {
|
|
124
|
+
return this._client.post('/v1/pockets/transfers', { body, ...options });
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Universal Transfer
|
|
128
|
+
*
|
|
129
|
+
* POST /v1/pockets/universal_transfers
|
|
130
|
+
*
|
|
131
|
+
* - docs(kr): https://docs.upbit.com/kr/reference/universal-transfer
|
|
132
|
+
* - Supported only in Korea.
|
|
133
|
+
*
|
|
134
|
+
* Request an asset transfer between pockets, such as main pocket to sub-pocket,
|
|
135
|
+
* using main-pocket API key permissions.
|
|
136
|
+
*
|
|
137
|
+
* @example
|
|
138
|
+
* ```ts
|
|
139
|
+
* const pocketTransfer =
|
|
140
|
+
* await client.pockets.universalTransfer({
|
|
141
|
+
* amount: '10.00',
|
|
142
|
+
* currency: 'XRP',
|
|
143
|
+
* to: '9ca023a5-851b-4fec-9f0a-48cd83c2eaae',
|
|
144
|
+
* from: '9ca023a5-851b-4fec-9f0a-48cd83c2eaae',
|
|
145
|
+
* identifier: 'unique_transfer_id_20260531_01',
|
|
146
|
+
* });
|
|
147
|
+
* ```
|
|
148
|
+
*/
|
|
149
|
+
universalTransfer(body, options) {
|
|
150
|
+
return this._client.post('/v1/pockets/universal_transfers', { body, ...options });
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
//# sourceMappingURL=pockets.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pockets.mjs","sourceRoot":"","sources":["../src/resources/pockets.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;OAcG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,WAAW,CACT,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,aAAa,CACX,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,sBAAsB,CACpB,QAA+D,EAAE,EACjE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iCAAiC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,eAAe,CACb,KAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,QAAQ,CAAC,IAA0B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,iBAAiB,CACf,IAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iCAAiC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;CACF"}
|
package/resources/tickers.d.mts
CHANGED
|
@@ -9,6 +9,9 @@ export declare class Tickers extends APIResource {
|
|
|
9
9
|
*
|
|
10
10
|
* - docs(kr): https://docs.upbit.com/kr/reference/list-quote-tickers
|
|
11
11
|
* - docs(global): https://global-docs.upbit.com/reference/list-quote-tickers
|
|
12
|
+
*
|
|
13
|
+
* Retrieves current price information of all pairs in the specified market(quote
|
|
14
|
+
* currency).
|
|
12
15
|
*/
|
|
13
16
|
listByQuoteCurrencies(query: TickerListByQuoteCurrenciesParams, options?: RequestOptions): APIPromise<TickerListByQuoteCurrenciesResponse>;
|
|
14
17
|
/**
|
|
@@ -18,6 +21,9 @@ export declare class Tickers extends APIResource {
|
|
|
18
21
|
*
|
|
19
22
|
* - docs(kr): https://docs.upbit.com/kr/reference/list-tickers
|
|
20
23
|
* - docs(global): https://global-docs.upbit.com/reference/list-tickers
|
|
24
|
+
*
|
|
25
|
+
* Retrieves the current price for the specified pair. Returns the ticker snapshot
|
|
26
|
+
* of the pair at the time of the request.
|
|
21
27
|
*/
|
|
22
28
|
listByTradingPairs(query: TickerListByTradingPairsParams, options?: RequestOptions): APIPromise<TickerListByTradingPairsResponse>;
|
|
23
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tickers.d.mts","sourceRoot":"","sources":["../src/resources/tickers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tickers.d.mts","sourceRoot":"","sources":["../src/resources/tickers.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,qBAAqB,CACnB,KAAK,EAAE,iCAAiC,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;IAIlD;;;;;;;;;;OAUG;IACH,kBAAkB,CAChB,KAAK,EAAE,8BAA8B,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gCAAgC,CAAC;CAGhD;AAED,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IAEjC;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;;;;;OAMG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;;;;;;;OAQG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,MAAM,mCAAmC,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhE,MAAM,MAAM,gCAAgC,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAE7D,MAAM,WAAW,iCAAiC;IAChD;;;;;OAKG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,8BAA8B;IAC7C;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;CACH"}
|
package/resources/tickers.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ export declare class Tickers extends APIResource {
|
|
|
9
9
|
*
|
|
10
10
|
* - docs(kr): https://docs.upbit.com/kr/reference/list-quote-tickers
|
|
11
11
|
* - docs(global): https://global-docs.upbit.com/reference/list-quote-tickers
|
|
12
|
+
*
|
|
13
|
+
* Retrieves current price information of all pairs in the specified market(quote
|
|
14
|
+
* currency).
|
|
12
15
|
*/
|
|
13
16
|
listByQuoteCurrencies(query: TickerListByQuoteCurrenciesParams, options?: RequestOptions): APIPromise<TickerListByQuoteCurrenciesResponse>;
|
|
14
17
|
/**
|
|
@@ -18,6 +21,9 @@ export declare class Tickers extends APIResource {
|
|
|
18
21
|
*
|
|
19
22
|
* - docs(kr): https://docs.upbit.com/kr/reference/list-tickers
|
|
20
23
|
* - docs(global): https://global-docs.upbit.com/reference/list-tickers
|
|
24
|
+
*
|
|
25
|
+
* Retrieves the current price for the specified pair. Returns the ticker snapshot
|
|
26
|
+
* of the pair at the time of the request.
|
|
21
27
|
*/
|
|
22
28
|
listByTradingPairs(query: TickerListByTradingPairsParams, options?: RequestOptions): APIPromise<TickerListByTradingPairsResponse>;
|
|
23
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tickers.d.ts","sourceRoot":"","sources":["../src/resources/tickers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tickers.d.ts","sourceRoot":"","sources":["../src/resources/tickers.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,qBAAqB,CACnB,KAAK,EAAE,iCAAiC,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,mCAAmC,CAAC;IAIlD;;;;;;;;;;OAUG;IACH,kBAAkB,CAChB,KAAK,EAAE,8BAA8B,EACrC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gCAAgC,CAAC;CAGhD;AAED,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IAEjC;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;;;;;OAMG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;;;;;;;OAQG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,MAAM,mCAAmC,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAEhE,MAAM,MAAM,gCAAgC,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAE7D,MAAM,WAAW,iCAAiC;IAChD;;;;;OAKG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,8BAA8B;IAC7C;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,MAAM,IAAI,MAAM,EACrB,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;CACH"}
|
package/resources/tickers.js
CHANGED
|
@@ -10,6 +10,9 @@ class Tickers extends resource_1.APIResource {
|
|
|
10
10
|
*
|
|
11
11
|
* - docs(kr): https://docs.upbit.com/kr/reference/list-quote-tickers
|
|
12
12
|
* - docs(global): https://global-docs.upbit.com/reference/list-quote-tickers
|
|
13
|
+
*
|
|
14
|
+
* Retrieves current price information of all pairs in the specified market(quote
|
|
15
|
+
* currency).
|
|
13
16
|
*/
|
|
14
17
|
listByQuoteCurrencies(query, options) {
|
|
15
18
|
return this._client.get('/v1/ticker/all', { query, ...options, __security: {} });
|
|
@@ -21,6 +24,9 @@ class Tickers extends resource_1.APIResource {
|
|
|
21
24
|
*
|
|
22
25
|
* - docs(kr): https://docs.upbit.com/kr/reference/list-tickers
|
|
23
26
|
* - docs(global): https://global-docs.upbit.com/reference/list-tickers
|
|
27
|
+
*
|
|
28
|
+
* Retrieves the current price for the specified pair. Returns the ticker snapshot
|
|
29
|
+
* of the pair at the time of the request.
|
|
24
30
|
*/
|
|
25
31
|
listByTradingPairs(query, options) {
|
|
26
32
|
return this._client.get('/v1/ticker', { query, ...options, __security: {} });
|
package/resources/tickers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tickers.js","sourceRoot":"","sources":["../src/resources/tickers.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"tickers.js","sourceRoot":"","sources":["../src/resources/tickers.ts"],"names":[],"mappings":";;;AAAA,kDAA+C;AAI/C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;OAUG;IACH,qBAAqB,CACnB,KAAwC,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;;;;;OAUG;IACH,kBAAkB,CAChB,KAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF;AApCD,0BAoCC"}
|
package/resources/tickers.mjs
CHANGED
|
@@ -7,6 +7,9 @@ export class Tickers extends APIResource {
|
|
|
7
7
|
*
|
|
8
8
|
* - docs(kr): https://docs.upbit.com/kr/reference/list-quote-tickers
|
|
9
9
|
* - docs(global): https://global-docs.upbit.com/reference/list-quote-tickers
|
|
10
|
+
*
|
|
11
|
+
* Retrieves current price information of all pairs in the specified market(quote
|
|
12
|
+
* currency).
|
|
10
13
|
*/
|
|
11
14
|
listByQuoteCurrencies(query, options) {
|
|
12
15
|
return this._client.get('/v1/ticker/all', { query, ...options, __security: {} });
|
|
@@ -18,6 +21,9 @@ export class Tickers extends APIResource {
|
|
|
18
21
|
*
|
|
19
22
|
* - docs(kr): https://docs.upbit.com/kr/reference/list-tickers
|
|
20
23
|
* - docs(global): https://global-docs.upbit.com/reference/list-tickers
|
|
24
|
+
*
|
|
25
|
+
* Retrieves the current price for the specified pair. Returns the ticker snapshot
|
|
26
|
+
* of the pair at the time of the request.
|
|
21
27
|
*/
|
|
22
28
|
listByTradingPairs(query, options) {
|
|
23
29
|
return this._client.get('/v1/ticker', { query, ...options, __security: {} });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tickers.mjs","sourceRoot":"","sources":["../src/resources/tickers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tickers.mjs","sourceRoot":"","sources":["../src/resources/tickers.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,qBAAqB,CACnB,KAAwC,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;;;;;OAUG;IACH,kBAAkB,CAChB,KAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC;CACF"}
|
package/resources/trades.d.mts
CHANGED
|
@@ -3,12 +3,14 @@ import { APIPromise } from "../core/api-promise.mjs";
|
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
4
|
export declare class Trades extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* List Pair Trades
|
|
7
7
|
*
|
|
8
8
|
* GET /v1/trades/ticks
|
|
9
9
|
*
|
|
10
|
-
* - docs(kr): https://docs.upbit.com/kr/reference/
|
|
11
|
-
* - docs(global): https://global-docs.upbit.com/reference/
|
|
10
|
+
* - docs(kr): https://docs.upbit.com/kr/reference/list-pair-trades
|
|
11
|
+
* - docs(global): https://global-docs.upbit.com/reference/list-pair-trades
|
|
12
|
+
*
|
|
13
|
+
* Retrieves recent trades for the specified pair.
|
|
12
14
|
*/
|
|
13
15
|
list(query: TradeListParams, options?: RequestOptions): APIPromise<TradeListResponse>;
|
|
14
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trades.d.mts","sourceRoot":"","sources":["../src/resources/trades.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"trades.d.mts","sourceRoot":"","sources":["../src/resources/trades.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;OASG;IACH,IAAI,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAGtF;AAED,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,CAAC;AAE/E,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,qBAAqB;QACpC;;WAEG;QACH,OAAO,EAAE,KAAK,GAAG,KAAK,CAAC;QAEvB;;;;;;;WAOG;QACH,YAAY,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,kBAAkB,EAAE,MAAM,CAAC;QAE3B;;;;WAIG;QACH,aAAa,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;;;WAIG;QACH,cAAc,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;;;WAIG;QACH,cAAc,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;KACtB;CACF;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CACjG"}
|
package/resources/trades.d.ts
CHANGED
|
@@ -3,12 +3,14 @@ import { APIPromise } from "../core/api-promise.js";
|
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.js";
|
|
4
4
|
export declare class Trades extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* List Pair Trades
|
|
7
7
|
*
|
|
8
8
|
* GET /v1/trades/ticks
|
|
9
9
|
*
|
|
10
|
-
* - docs(kr): https://docs.upbit.com/kr/reference/
|
|
11
|
-
* - docs(global): https://global-docs.upbit.com/reference/
|
|
10
|
+
* - docs(kr): https://docs.upbit.com/kr/reference/list-pair-trades
|
|
11
|
+
* - docs(global): https://global-docs.upbit.com/reference/list-pair-trades
|
|
12
|
+
*
|
|
13
|
+
* Retrieves recent trades for the specified pair.
|
|
12
14
|
*/
|
|
13
15
|
list(query: TradeListParams, options?: RequestOptions): APIPromise<TradeListResponse>;
|
|
14
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trades.d.ts","sourceRoot":"","sources":["../src/resources/trades.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"trades.d.ts","sourceRoot":"","sources":["../src/resources/trades.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;OASG;IACH,IAAI,CAAC,KAAK,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iBAAiB,CAAC;CAGtF;AAED,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,CAAC;AAE/E,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,qBAAqB;QACpC;;WAEG;QACH,OAAO,EAAE,KAAK,GAAG,KAAK,CAAC;QAEvB;;;;;;;WAOG;QACH,YAAY,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,kBAAkB,EAAE,MAAM,CAAC;QAE3B;;;;WAIG;QACH,aAAa,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;;;WAIG;QACH,cAAc,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;;;WAIG;QACH,cAAc,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;KACtB;CACF;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;CACjG"}
|
package/resources/trades.js
CHANGED
|
@@ -4,12 +4,14 @@ exports.Trades = void 0;
|
|
|
4
4
|
const resource_1 = require("../core/resource.js");
|
|
5
5
|
class Trades extends resource_1.APIResource {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* List Pair Trades
|
|
8
8
|
*
|
|
9
9
|
* GET /v1/trades/ticks
|
|
10
10
|
*
|
|
11
|
-
* - docs(kr): https://docs.upbit.com/kr/reference/
|
|
12
|
-
* - docs(global): https://global-docs.upbit.com/reference/
|
|
11
|
+
* - docs(kr): https://docs.upbit.com/kr/reference/list-pair-trades
|
|
12
|
+
* - docs(global): https://global-docs.upbit.com/reference/list-pair-trades
|
|
13
|
+
*
|
|
14
|
+
* Retrieves recent trades for the specified pair.
|
|
13
15
|
*/
|
|
14
16
|
list(query, options) {
|
|
15
17
|
return this._client.get('/v1/trades/ticks', { query, ...options, __security: {} });
|
package/resources/trades.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trades.js","sourceRoot":"","sources":["../src/resources/trades.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"trades.js","sourceRoot":"","sources":["../src/resources/trades.ts"],"names":[],"mappings":";;;AAAA,kDAA+C;AAI/C,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;;;OASG;IACH,IAAI,CAAC,KAAsB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CAAC;IACrF,CAAC;CACF;AAdD,wBAcC"}
|
package/resources/trades.mjs
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.mjs";
|
|
2
2
|
export class Trades extends APIResource {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* List Pair Trades
|
|
5
5
|
*
|
|
6
6
|
* GET /v1/trades/ticks
|
|
7
7
|
*
|
|
8
|
-
* - docs(kr): https://docs.upbit.com/kr/reference/
|
|
9
|
-
* - docs(global): https://global-docs.upbit.com/reference/
|
|
8
|
+
* - docs(kr): https://docs.upbit.com/kr/reference/list-pair-trades
|
|
9
|
+
* - docs(global): https://global-docs.upbit.com/reference/list-pair-trades
|
|
10
|
+
*
|
|
11
|
+
* Retrieves recent trades for the specified pair.
|
|
10
12
|
*/
|
|
11
13
|
list(query, options) {
|
|
12
14
|
return this._client.get('/v1/trades/ticks', { query, ...options, __security: {} });
|
package/resources/trades.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trades.mjs","sourceRoot":"","sources":["../src/resources/trades.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"trades.mjs","sourceRoot":"","sources":["../src/resources/trades.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;OASG;IACH,IAAI,CAAC,KAAsB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CAAC;IACrF,CAAC;CACF"}
|
|
@@ -9,6 +9,8 @@ export declare class TradingPairs extends APIResource {
|
|
|
9
9
|
*
|
|
10
10
|
* - docs(kr): https://docs.upbit.com/kr/reference/list-trading-pairs
|
|
11
11
|
* - docs(global): https://global-docs.upbit.com/reference/list-trading-pairs
|
|
12
|
+
*
|
|
13
|
+
* Retrieves the list of all trading pairs supported by Upbit.
|
|
12
14
|
*/
|
|
13
15
|
list(query?: TradingPairListParams | null | undefined, options?: RequestOptions): APIPromise<TradingPairListResponse>;
|
|
14
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trading-pairs.d.mts","sourceRoot":"","sources":["../src/resources/trading-pairs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"trading-pairs.d.mts","sourceRoot":"","sources":["../src/resources/trading-pairs.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;OASG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;CAGvC;AAED,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,uBAAuB,CAAC,2BAA2B,CAAC,CAAC;AAEjG,yBAAiB,uBAAuB,CAAC;IACvC,UAAiB,2BAA2B;QAC1C;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;;;WAIG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,YAAY,CAAC,EAAE,2BAA2B,CAAC,WAAW,CAAC;QAEvD;;WAEG;QACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KACrC;IAED,UAAiB,2BAA2B,CAAC;QAC3C;;WAEG;QACH,UAAiB,WAAW;YAC1B;;;eAGG;YACH,OAAO,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC;YAE9B;;eAEG;YACH,OAAO,CAAC,EAAE,OAAO,CAAC;SACnB;QAED,UAAiB,WAAW,CAAC;YAC3B;;;eAGG;YACH,UAAiB,OAAO;gBACtB;;mBAEG;gBACH,+BAA+B,CAAC,EAAE,OAAO,CAAC;gBAE1C;;mBAEG;gBACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;gBAEjC;;mBAEG;gBACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;gBAEnC;;mBAEG;gBACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;gBAE7B;;mBAEG;gBACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;aAClC;SACF;KACF;CACF;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -9,6 +9,8 @@ export declare class TradingPairs extends APIResource {
|
|
|
9
9
|
*
|
|
10
10
|
* - docs(kr): https://docs.upbit.com/kr/reference/list-trading-pairs
|
|
11
11
|
* - docs(global): https://global-docs.upbit.com/reference/list-trading-pairs
|
|
12
|
+
*
|
|
13
|
+
* Retrieves the list of all trading pairs supported by Upbit.
|
|
12
14
|
*/
|
|
13
15
|
list(query?: TradingPairListParams | null | undefined, options?: RequestOptions): APIPromise<TradingPairListResponse>;
|
|
14
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trading-pairs.d.ts","sourceRoot":"","sources":["../src/resources/trading-pairs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"trading-pairs.d.ts","sourceRoot":"","sources":["../src/resources/trading-pairs.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;OASG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;CAGvC;AAED,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,uBAAuB,CAAC,2BAA2B,CAAC,CAAC;AAEjG,yBAAiB,uBAAuB,CAAC;IACvC,UAAiB,2BAA2B;QAC1C;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;;;WAIG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,YAAY,CAAC,EAAE,2BAA2B,CAAC,WAAW,CAAC;QAEvD;;WAEG;QACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KACrC;IAED,UAAiB,2BAA2B,CAAC;QAC3C;;WAEG;QACH,UAAiB,WAAW;YAC1B;;;eAGG;YACH,OAAO,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC;YAE9B;;eAEG;YACH,OAAO,CAAC,EAAE,OAAO,CAAC;SACnB;QAED,UAAiB,WAAW,CAAC;YAC3B;;;eAGG;YACH,UAAiB,OAAO;gBACtB;;mBAEG;gBACH,+BAA+B,CAAC,EAAE,OAAO,CAAC;gBAE1C;;mBAEG;gBACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;gBAEjC;;mBAEG;gBACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;gBAEnC;;mBAEG;gBACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;gBAE7B;;mBAEG;gBACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;aAClC;SACF;KACF;CACF;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -10,6 +10,8 @@ class TradingPairs extends resource_1.APIResource {
|
|
|
10
10
|
*
|
|
11
11
|
* - docs(kr): https://docs.upbit.com/kr/reference/list-trading-pairs
|
|
12
12
|
* - docs(global): https://global-docs.upbit.com/reference/list-trading-pairs
|
|
13
|
+
*
|
|
14
|
+
* Retrieves the list of all trading pairs supported by Upbit.
|
|
13
15
|
*/
|
|
14
16
|
list(query = {}, options) {
|
|
15
17
|
return this._client.get('/v1/market/all', { query, ...options, __security: {} });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trading-pairs.js","sourceRoot":"","sources":["../src/resources/trading-pairs.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"trading-pairs.js","sourceRoot":"","sources":["../src/resources/trading-pairs.ts"],"names":[],"mappings":";;;AAAA,kDAA+C;AAI/C,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;OASG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CAAC;IACnF,CAAC;CACF;AAjBD,oCAiBC"}
|
|
@@ -7,6 +7,8 @@ export class TradingPairs extends APIResource {
|
|
|
7
7
|
*
|
|
8
8
|
* - docs(kr): https://docs.upbit.com/kr/reference/list-trading-pairs
|
|
9
9
|
* - docs(global): https://global-docs.upbit.com/reference/list-trading-pairs
|
|
10
|
+
*
|
|
11
|
+
* Retrieves the list of all trading pairs supported by Upbit.
|
|
10
12
|
*/
|
|
11
13
|
list(query = {}, options) {
|
|
12
14
|
return this._client.get('/v1/market/all', { query, ...options, __security: {} });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trading-pairs.mjs","sourceRoot":"","sources":["../src/resources/trading-pairs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"trading-pairs.mjs","sourceRoot":"","sources":["../src/resources/trading-pairs.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;OASG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CAAC;IACnF,CAAC;CACF"}
|
|
@@ -10,6 +10,8 @@ export declare class TravelRule extends APIResource {
|
|
|
10
10
|
* - docs(kr): https://docs.upbit.com/kr/reference/list-travelrule-vasps
|
|
11
11
|
* - docs(global): https://global-docs.upbit.com/reference/list-travelrule-vasps
|
|
12
12
|
*
|
|
13
|
+
* Retrieves the list of exchanges supporting Travel Rule.
|
|
14
|
+
*
|
|
13
15
|
* @example
|
|
14
16
|
* ```ts
|
|
15
17
|
* const response = await client.travelRule.listVasps();
|
|
@@ -25,6 +27,8 @@ export declare class TravelRule extends APIResource {
|
|
|
25
27
|
* - docs(global):
|
|
26
28
|
* https://global-docs.upbit.com/reference/verify-travelrule-by-txid
|
|
27
29
|
*
|
|
30
|
+
* Retrieves travel rule verification using the deposit TxID.
|
|
31
|
+
*
|
|
28
32
|
* @example
|
|
29
33
|
* ```ts
|
|
30
34
|
* const verificationResult =
|
|
@@ -46,6 +50,8 @@ export declare class TravelRule extends APIResource {
|
|
|
46
50
|
* - docs(global):
|
|
47
51
|
* https://global-docs.upbit.com/reference/verify-travelrule-by-uuid
|
|
48
52
|
*
|
|
53
|
+
* Retrieves travel rule verification using the deposit UUID.
|
|
54
|
+
*
|
|
49
55
|
* @example
|
|
50
56
|
* ```ts
|
|
51
57
|
* const verificationResult =
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"travel-rule.d.mts","sourceRoot":"","sources":["../src/resources/travel-rule.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"travel-rule.d.mts","sourceRoot":"","sources":["../src/resources/travel-rule.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;OAcG;IACH,SAAS,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAI5E;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,mBAAmB,CACjB,IAAI,EAAE,mCAAmC,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAIjC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,mBAAmB,CACjB,IAAI,EAAE,mCAAmC,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,WAAW,kBAAkB;IACjC;;;;;;;;;;;OAWG;IACH,aAAa,EACT,YAAY,GACZ,UAAU,GACV,WAAW,GACX,UAAU,GACV,uBAAuB,GACvB,WAAW,GACX,UAAU,CAAC;IAEf;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,MAAM,2BAA2B,GAAG,KAAK,CAAC,2BAA2B,CAAC,+BAA+B,CAAC,CAAC;AAE7G,yBAAiB,2BAA2B,CAAC;IAC3C,UAAiB,+BAA+B;QAC9C;;WAEG;QACH,WAAW,EAAE,OAAO,CAAC;QAErB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;;WAGG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,YAAY,EAAE,OAAO,CAAC;KACvB;CACF;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;CACH"}
|
|
@@ -10,6 +10,8 @@ export declare class TravelRule extends APIResource {
|
|
|
10
10
|
* - docs(kr): https://docs.upbit.com/kr/reference/list-travelrule-vasps
|
|
11
11
|
* - docs(global): https://global-docs.upbit.com/reference/list-travelrule-vasps
|
|
12
12
|
*
|
|
13
|
+
* Retrieves the list of exchanges supporting Travel Rule.
|
|
14
|
+
*
|
|
13
15
|
* @example
|
|
14
16
|
* ```ts
|
|
15
17
|
* const response = await client.travelRule.listVasps();
|
|
@@ -25,6 +27,8 @@ export declare class TravelRule extends APIResource {
|
|
|
25
27
|
* - docs(global):
|
|
26
28
|
* https://global-docs.upbit.com/reference/verify-travelrule-by-txid
|
|
27
29
|
*
|
|
30
|
+
* Retrieves travel rule verification using the deposit TxID.
|
|
31
|
+
*
|
|
28
32
|
* @example
|
|
29
33
|
* ```ts
|
|
30
34
|
* const verificationResult =
|
|
@@ -46,6 +50,8 @@ export declare class TravelRule extends APIResource {
|
|
|
46
50
|
* - docs(global):
|
|
47
51
|
* https://global-docs.upbit.com/reference/verify-travelrule-by-uuid
|
|
48
52
|
*
|
|
53
|
+
* Retrieves travel rule verification using the deposit UUID.
|
|
54
|
+
*
|
|
49
55
|
* @example
|
|
50
56
|
* ```ts
|
|
51
57
|
* const verificationResult =
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"travel-rule.d.ts","sourceRoot":"","sources":["../src/resources/travel-rule.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"travel-rule.d.ts","sourceRoot":"","sources":["../src/resources/travel-rule.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;OAcG;IACH,SAAS,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAI5E;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,mBAAmB,CACjB,IAAI,EAAE,mCAAmC,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;IAIjC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,mBAAmB,CACjB,IAAI,EAAE,mCAAmC,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC;CAGlC;AAED,MAAM,WAAW,kBAAkB;IACjC;;;;;;;;;;;OAWG;IACH,aAAa,EACT,YAAY,GACZ,UAAU,GACV,WAAW,GACX,UAAU,GACV,uBAAuB,GACvB,WAAW,GACX,UAAU,CAAC;IAEf;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,MAAM,2BAA2B,GAAG,KAAK,CAAC,2BAA2B,CAAC,+BAA+B,CAAC,CAAC;AAE7G,yBAAiB,2BAA2B,CAAC;IAC3C,UAAiB,+BAA+B;QAC9C;;WAEG;QACH,WAAW,EAAE,OAAO,CAAC;QAErB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;;WAGG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,YAAY,EAAE,OAAO,CAAC;KACvB;CACF;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;CACH"}
|
package/resources/travel-rule.js
CHANGED
|
@@ -11,6 +11,8 @@ class TravelRule extends resource_1.APIResource {
|
|
|
11
11
|
* - docs(kr): https://docs.upbit.com/kr/reference/list-travelrule-vasps
|
|
12
12
|
* - docs(global): https://global-docs.upbit.com/reference/list-travelrule-vasps
|
|
13
13
|
*
|
|
14
|
+
* Retrieves the list of exchanges supporting Travel Rule.
|
|
15
|
+
*
|
|
14
16
|
* @example
|
|
15
17
|
* ```ts
|
|
16
18
|
* const response = await client.travelRule.listVasps();
|
|
@@ -28,6 +30,8 @@ class TravelRule extends resource_1.APIResource {
|
|
|
28
30
|
* - docs(global):
|
|
29
31
|
* https://global-docs.upbit.com/reference/verify-travelrule-by-txid
|
|
30
32
|
*
|
|
33
|
+
* Retrieves travel rule verification using the deposit TxID.
|
|
34
|
+
*
|
|
31
35
|
* @example
|
|
32
36
|
* ```ts
|
|
33
37
|
* const verificationResult =
|
|
@@ -51,6 +55,8 @@ class TravelRule extends resource_1.APIResource {
|
|
|
51
55
|
* - docs(global):
|
|
52
56
|
* https://global-docs.upbit.com/reference/verify-travelrule-by-uuid
|
|
53
57
|
*
|
|
58
|
+
* Retrieves travel rule verification using the deposit UUID.
|
|
59
|
+
*
|
|
54
60
|
* @example
|
|
55
61
|
* ```ts
|
|
56
62
|
* const verificationResult =
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"travel-rule.js","sourceRoot":"","sources":["../src/resources/travel-rule.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"travel-rule.js","sourceRoot":"","sources":["../src/resources/travel-rule.ts"],"names":[],"mappings":";;;AAAA,kDAA+C;AAI/C,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;;;OAcG;IACH,SAAS,CAAC,OAAwB;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,mBAAmB,CACjB,IAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,mBAAmB,CACjB,IAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF;AA3ED,gCA2EC"}
|
|
@@ -8,6 +8,8 @@ export class TravelRule extends APIResource {
|
|
|
8
8
|
* - docs(kr): https://docs.upbit.com/kr/reference/list-travelrule-vasps
|
|
9
9
|
* - docs(global): https://global-docs.upbit.com/reference/list-travelrule-vasps
|
|
10
10
|
*
|
|
11
|
+
* Retrieves the list of exchanges supporting Travel Rule.
|
|
12
|
+
*
|
|
11
13
|
* @example
|
|
12
14
|
* ```ts
|
|
13
15
|
* const response = await client.travelRule.listVasps();
|
|
@@ -25,6 +27,8 @@ export class TravelRule extends APIResource {
|
|
|
25
27
|
* - docs(global):
|
|
26
28
|
* https://global-docs.upbit.com/reference/verify-travelrule-by-txid
|
|
27
29
|
*
|
|
30
|
+
* Retrieves travel rule verification using the deposit TxID.
|
|
31
|
+
*
|
|
28
32
|
* @example
|
|
29
33
|
* ```ts
|
|
30
34
|
* const verificationResult =
|
|
@@ -48,6 +52,8 @@ export class TravelRule extends APIResource {
|
|
|
48
52
|
* - docs(global):
|
|
49
53
|
* https://global-docs.upbit.com/reference/verify-travelrule-by-uuid
|
|
50
54
|
*
|
|
55
|
+
* Retrieves travel rule verification using the deposit UUID.
|
|
56
|
+
*
|
|
51
57
|
* @example
|
|
52
58
|
* ```ts
|
|
53
59
|
* const verificationResult =
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"travel-rule.mjs","sourceRoot":"","sources":["../src/resources/travel-rule.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"travel-rule.mjs","sourceRoot":"","sources":["../src/resources/travel-rule.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;OAcG;IACH,SAAS,CAAC,OAAwB;QAChC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,mBAAmB,CACjB,IAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,mBAAmB,CACjB,IAAyC,EACzC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;CACF"}
|
|
@@ -9,6 +9,8 @@ export declare class WalletStatus extends APIResource {
|
|
|
9
9
|
*
|
|
10
10
|
* - docs(kr): https://docs.upbit.com/kr/reference/get-service-status
|
|
11
11
|
* - docs(global): https://global-docs.upbit.com/reference/get-service-status
|
|
12
|
+
*
|
|
13
|
+
* Retrieves deposit and withdrawal service status for all currencies.
|
|
12
14
|
*/
|
|
13
15
|
list(options?: RequestOptions): APIPromise<WalletStatusListResponse>;
|
|
14
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet-status.d.mts","sourceRoot":"","sources":["../src/resources/wallet-status.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wallet-status.d.mts","sourceRoot":"","sources":["../src/resources/wallet-status.ts"],"names":[],"mappings":"OAAO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;OASG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;CAGrE;AAED,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC,wBAAwB,CAAC,4BAA4B,CAAC,CAAC;AAEpG,yBAAiB,wBAAwB,CAAC;IACxC,UAAiB,4BAA4B;QAC3C;;WAEG;QACH,qBAAqB,EAAE,MAAM,CAAC;QAE9B;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;;;;;WAMG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;;;WAIG;QACH,YAAY,EAAE,MAAM,CAAC;QAErB;;;;;;;;WAQG;QACH,YAAY,EAAE,SAAS,GAAG,eAAe,GAAG,cAAc,GAAG,QAAQ,GAAG,aAAa,CAAC;QAEtF;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;QAEtB;;;;;;;WAOG;QACH,WAAW,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;QAEhD;;;;WAIG;QACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC3B;CACF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EAAE,KAAK,wBAAwB,IAAI,wBAAwB,EAAE,CAAC;CACtE"}
|
|
@@ -9,6 +9,8 @@ export declare class WalletStatus extends APIResource {
|
|
|
9
9
|
*
|
|
10
10
|
* - docs(kr): https://docs.upbit.com/kr/reference/get-service-status
|
|
11
11
|
* - docs(global): https://global-docs.upbit.com/reference/get-service-status
|
|
12
|
+
*
|
|
13
|
+
* Retrieves deposit and withdrawal service status for all currencies.
|
|
12
14
|
*/
|
|
13
15
|
list(options?: RequestOptions): APIPromise<WalletStatusListResponse>;
|
|
14
16
|
}
|