@bluefin-exchange/pro-sdk 0.1.61 → 0.2.0-pre-release.1
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/{example.js → cjs/example.js} +3 -0
- package/dist/cjs/example.js.map +1 -0
- package/dist/{index.js → cjs/index.js} +1 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/{src → cjs/src}/api.js +75 -1
- package/dist/cjs/src/api.js.map +1 -0
- package/dist/{src → cjs/src}/base.js +5 -1
- package/dist/cjs/src/base.js.map +1 -0
- package/dist/{src → cjs/src}/common.js +1 -0
- package/dist/cjs/src/common.js.map +1 -0
- package/dist/{src → cjs/src}/configuration.js +1 -0
- package/dist/cjs/src/configuration.js.map +1 -0
- package/dist/{src → cjs/src}/index.js +1 -0
- package/dist/cjs/src/index.js.map +1 -0
- package/dist/{src → cjs/src}/request-signer.js +11 -0
- package/dist/cjs/src/request-signer.js.map +1 -0
- package/dist/{src → cjs/src}/sdk.js +47 -4
- package/dist/cjs/src/sdk.js.map +1 -0
- package/dist/{src → cjs/src}/utils.js +1 -0
- package/dist/cjs/src/utils.js.map +1 -0
- package/dist/{src → cjs/src}/websocket.js +1 -0
- package/dist/cjs/src/websocket.js.map +1 -0
- package/dist/esm/example.js +218 -0
- package/dist/esm/example.js.map +1 -0
- package/dist/esm/index.js +18 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/src/api.js +4318 -0
- package/dist/esm/src/api.js.map +1 -0
- package/dist/esm/src/base.js +69 -0
- package/dist/esm/src/base.js.map +1 -0
- package/dist/esm/src/common.js +162 -0
- package/dist/esm/src/common.js.map +1 -0
- package/dist/esm/src/configuration.js +45 -0
- package/dist/esm/src/configuration.js.map +1 -0
- package/dist/esm/src/index.js +23 -0
- package/dist/esm/src/index.js.map +1 -0
- package/dist/esm/src/request-signer.js +231 -0
- package/dist/esm/src/request-signer.js.map +1 -0
- package/dist/esm/src/sdk.js +786 -0
- package/dist/esm/src/sdk.js.map +1 -0
- package/dist/esm/src/utils.js +10 -0
- package/dist/esm/src/utils.js.map +1 -0
- package/dist/esm/src/websocket.js +159 -0
- package/dist/esm/src/websocket.js.map +1 -0
- package/dist/types/example.d.ts +2 -0
- package/dist/types/example.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/{src → types/src}/api.d.ts +126 -47
- package/dist/types/src/api.d.ts.map +1 -0
- package/dist/{src → types/src}/base.d.ts +1 -0
- package/dist/types/src/base.d.ts.map +1 -0
- package/dist/{src → types/src}/common.d.ts +1 -0
- package/dist/types/src/common.d.ts.map +1 -0
- package/dist/{src → types/src}/configuration.d.ts +1 -0
- package/dist/types/src/configuration.d.ts.map +1 -0
- package/dist/{src → types/src}/index.d.ts +1 -0
- package/dist/types/src/index.d.ts.map +1 -0
- package/dist/{src → types/src}/request-signer.d.ts +6 -1
- package/dist/types/src/request-signer.d.ts.map +1 -0
- package/dist/{src → types/src}/sdk.d.ts +12 -1
- package/dist/types/src/sdk.d.ts.map +1 -0
- package/dist/{src → types/src}/utils.d.ts +1 -0
- package/dist/types/src/utils.d.ts.map +1 -0
- package/dist/{src → types/src}/websocket.d.ts +1 -0
- package/dist/types/src/websocket.d.ts.map +1 -0
- package/package.json +21 -7
- package/dist/example.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/example.ts +0 -323
- package/index.ts +0 -1
- package/openapitools.json +0 -24
- package/src/.openapi-generator/FILES +0 -128
- package/src/.openapi-generator/VERSION +0 -1
- package/src/.openapi-generator-ignore +0 -28
- package/src/README.md +0 -46
- package/src/api.ts +0 -8918
- package/src/base.ts +0 -86
- package/src/common.ts +0 -150
- package/src/configuration.ts +0 -115
- package/src/docs/Account.md +0 -64
- package/src/docs/AccountAggregatedTradeUpdate.md +0 -21
- package/src/docs/AccountAuthorizationRequest.md +0 -24
- package/src/docs/AccountAuthorizationRequestSignedFields.md +0 -28
- package/src/docs/AccountCommandFailureUpdate.md +0 -29
- package/src/docs/AccountDataApi.md +0 -374
- package/src/docs/AccountDataStream.md +0 -21
- package/src/docs/AccountEventReason.md +0 -25
- package/src/docs/AccountEventType.md +0 -21
- package/src/docs/AccountFundingRateHistory.md +0 -20
- package/src/docs/AccountFundingRateHistoryData.md +0 -30
- package/src/docs/AccountMarketPreference.md +0 -22
- package/src/docs/AccountOrderUpdate.md +0 -71
- package/src/docs/AccountPositionLeverageUpdateRequest.md +0 -22
- package/src/docs/AccountPositionLeverageUpdateRequestSignedFields.md +0 -30
- package/src/docs/AccountPositionUpdate.md +0 -47
- package/src/docs/AccountPreference.md +0 -24
- package/src/docs/AccountStreamMessage.md +0 -25
- package/src/docs/AccountStreamMessagePayload.md +0 -153
- package/src/docs/AccountSubscriptionMessage.md +0 -25
- package/src/docs/AccountTradeUpdate.md +0 -21
- package/src/docs/AccountTransactionUpdate.md +0 -31
- package/src/docs/AccountUpdate.md +0 -61
- package/src/docs/ActiveOrderUpdate.md +0 -65
- package/src/docs/AdjustIsolatedMarginRequest.md +0 -22
- package/src/docs/AdjustIsolatedMarginRequestSignedFields.md +0 -32
- package/src/docs/AdjustMarginOperation.md +0 -11
- package/src/docs/AffiliateIntervalOverview.md +0 -56
- package/src/docs/AffiliateLeaderDashboard.md +0 -38
- package/src/docs/AffiliateMetadata.md +0 -36
- package/src/docs/AffiliateMetadataFees.md +0 -31
- package/src/docs/AffiliateOnboardResponse.md +0 -22
- package/src/docs/AffiliateOverview.md +0 -46
- package/src/docs/AffiliateSummary.md +0 -30
- package/src/docs/Asset.md +0 -29
- package/src/docs/AssetConfig.md +0 -28
- package/src/docs/AuthApi.md +0 -243
- package/src/docs/AuthorizedWallet.md +0 -24
- package/src/docs/CampaignMetadata.md +0 -28
- package/src/docs/CampaignRewards.md +0 -18
- package/src/docs/CancelOrdersRequest.md +0 -23
- package/src/docs/CancelOrdersResponse.md +0 -21
- package/src/docs/CandlePriceType.md +0 -14
- package/src/docs/CandlestickUpdate.md +0 -41
- package/src/docs/CommandFailureReasonCode.md +0 -24
- package/src/docs/ContractsConfig.md +0 -31
- package/src/docs/CreateOrderRequest.md +0 -36
- package/src/docs/CreateOrderRequestSignedFields.md +0 -40
- package/src/docs/CreateOrderResponse.md +0 -20
- package/src/docs/EpochConfigs.md +0 -34
- package/src/docs/EpochConfigsResponse.md +0 -24
- package/src/docs/EpochMetadata.md +0 -30
- package/src/docs/Error.md +0 -22
- package/src/docs/ExchangeApi.md +0 -473
- package/src/docs/ExchangeInfoResponse.md +0 -30
- package/src/docs/FailedCommandType.md +0 -12
- package/src/docs/FeeConfigs.md +0 -33
- package/src/docs/FundingRateEntry.md +0 -24
- package/src/docs/GetAffiliateIntervalOverview200Response.md +0 -26
- package/src/docs/GetAffiliateLeaderDashboard200Response.md +0 -26
- package/src/docs/GetAffiliateOverview200Response.md +0 -26
- package/src/docs/IntervalMetadata.md +0 -28
- package/src/docs/IntervalRewards.md +0 -30
- package/src/docs/KlineInterval.md +0 -36
- package/src/docs/LoginRequest.md +0 -25
- package/src/docs/LoginResponse.md +0 -26
- package/src/docs/MarginType.md +0 -13
- package/src/docs/MarkPriceUpdate.md +0 -26
- package/src/docs/Market.md +0 -82
- package/src/docs/MarketDataStreamName.md +0 -142
- package/src/docs/MarketEventType.md +0 -25
- package/src/docs/MarketPriceUpdate.md +0 -26
- package/src/docs/MarketStatus.md +0 -16
- package/src/docs/MarketStreamMessage.md +0 -23
- package/src/docs/MarketStreamMessagePayload.md +0 -123
- package/src/docs/MarketSubscriptionMessage.md +0 -23
- package/src/docs/MarketSubscriptionStreams.md +0 -23
- package/src/docs/OnboardAffiliateRequest.md +0 -26
- package/src/docs/OnboardAffiliateRequestSocialUserNames.md +0 -27
- package/src/docs/OnboardRefereeRequest.md +0 -20
- package/src/docs/OpenOrderResponse.md +0 -64
- package/src/docs/Operators.md +0 -28
- package/src/docs/OraclePriceUpdate.md +0 -26
- package/src/docs/OrderCancelReason.md +0 -65
- package/src/docs/OrderCancellationFailureReason.md +0 -19
- package/src/docs/OrderCancellationUpdate.md +0 -35
- package/src/docs/OrderSide.md +0 -13
- package/src/docs/OrderStatus.md +0 -25
- package/src/docs/OrderTimeInForce.md +0 -15
- package/src/docs/OrderType.md +0 -29
- package/src/docs/OrderbookDepthResponse.md +0 -38
- package/src/docs/OrderbookDiffDepthUpdate.md +0 -30
- package/src/docs/OrderbookPartialDepthUpdate.md +0 -30
- package/src/docs/Position.md +0 -52
- package/src/docs/PositionSide.md +0 -13
- package/src/docs/RecentTradesUpdates.md +0 -20
- package/src/docs/RefereeOnboardResponse.md +0 -20
- package/src/docs/RefreshTokenRequest.md +0 -20
- package/src/docs/RefreshTokenResponse.md +0 -26
- package/src/docs/RewardsApi.md +0 -859
- package/src/docs/RewardsSummary.md +0 -26
- package/src/docs/SelfTradePreventionType.md +0 -15
- package/src/docs/StatsEntry.md +0 -26
- package/src/docs/StatsInterval.md +0 -14
- package/src/docs/StatsResponse.md +0 -20
- package/src/docs/StreamsApi.md +0 -126
- package/src/docs/SubscriptionResponseMessage.md +0 -23
- package/src/docs/SubscriptionType.md +0 -11
- package/src/docs/TickerAllUpdate.md +0 -20
- package/src/docs/TickerResponse.md +0 -82
- package/src/docs/TickerUpdate.md +0 -83
- package/src/docs/Trade.md +0 -54
- package/src/docs/TradeApi.md +0 -589
- package/src/docs/TradeSide.md +0 -13
- package/src/docs/TradeType.md +0 -15
- package/src/docs/TradingFees.md +0 -24
- package/src/docs/Transaction.md +0 -34
- package/src/docs/TransactionType.md +0 -25
- package/src/docs/UpdateAccountPreferenceRequest.md +0 -24
- package/src/docs/UpdateAffiliateFeeConfigRequest.md +0 -20
- package/src/docs/UserCampaignRewards.md +0 -48
- package/src/docs/WithdrawRequest.md +0 -22
- package/src/docs/WithdrawRequestSignedFields.md +0 -30
- package/src/git_push.sh +0 -57
- package/src/index.ts +0 -6
- package/src/request-signer.ts +0 -405
- package/src/sdk.ts +0 -982
- package/src/utils.ts +0 -6
- package/src/websocket.ts +0 -165
- package/tsconfig.json +0 -23
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# CreateOrderRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**signedFields** | [**CreateOrderRequestSignedFields**](CreateOrderRequestSignedFields.md) | | [default to undefined]
|
|
9
|
-
**signature** | **string** | The signature of the request, encoded from the signedFields | [default to undefined]
|
|
10
|
-
**clientOrderId** | **string** | The client-defined unique identifier of this order used for lookup. This should always be unique; however, the server will not gurantee this or impose any checks. | [optional] [default to undefined]
|
|
11
|
-
**type** | [**OrderType**](OrderType.md) | | [default to undefined]
|
|
12
|
-
**reduceOnly** | **boolean** | Is this order to only reduce a position? Default false | [default to undefined]
|
|
13
|
-
**postOnly** | **boolean** | If set to TRUE, the order can only be a maker order | [optional] [default to false]
|
|
14
|
-
**timeInForce** | [**OrderTimeInForce**](OrderTimeInForce.md) | Omit or set to null for market orders; otherwise, choose a valid time-in-force value. GTT: Good Til Time IOC: Immediate Or Cancel FOK: Fill Or Kill | [optional] [default to undefined]
|
|
15
|
-
**triggerPriceE9** | **string** | Trigger price in base e9 for stop orders. This should always be a number | [optional] [default to undefined]
|
|
16
|
-
**selfTradePreventionType** | [**SelfTradePreventionType**](SelfTradePreventionType.md) | | [optional] [default to undefined]
|
|
17
|
-
|
|
18
|
-
## Example
|
|
19
|
-
|
|
20
|
-
```typescript
|
|
21
|
-
import { CreateOrderRequest } from '@bluefin/api-client';
|
|
22
|
-
|
|
23
|
-
const instance: CreateOrderRequest = {
|
|
24
|
-
signedFields,
|
|
25
|
-
signature,
|
|
26
|
-
clientOrderId,
|
|
27
|
-
type,
|
|
28
|
-
reduceOnly,
|
|
29
|
-
postOnly,
|
|
30
|
-
timeInForce,
|
|
31
|
-
triggerPriceE9,
|
|
32
|
-
selfTradePreventionType,
|
|
33
|
-
};
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
# CreateOrderRequestSignedFields
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**symbol** | **string** | The symbol of the perpetual for which to create the order | [default to undefined]
|
|
9
|
-
**accountAddress** | **string** | The account address of the order. May be an account user is authorized for. | [default to undefined]
|
|
10
|
-
**priceE9** | **string** | The price in base e9 of the asset to be traded. Should always be a number | [default to undefined]
|
|
11
|
-
**quantityE9** | **string** | The quantity in base e9 of the asset to be traded. Should always be a number | [default to undefined]
|
|
12
|
-
**side** | [**OrderSide**](OrderSide.md) | | [default to undefined]
|
|
13
|
-
**leverageE9** | **string** | The leverage in base e9 of the order to be traded. Should always be a number | [default to undefined]
|
|
14
|
-
**isIsolated** | **boolean** | Is this order isolated or cross margin. Note market must be set to the same mode. | [default to false]
|
|
15
|
-
**salt** | **string** | The random generated SALT. Should always be a number | [default to undefined]
|
|
16
|
-
**idsId** | **string** | the ID of the internal datastore for the target network | [default to undefined]
|
|
17
|
-
**expiresAtMillis** | **number** | timestamp in millis at which order will expire. Defaults to 1 month for LIMIT orders if not provided | [default to undefined]
|
|
18
|
-
**signedAtMillis** | **number** | The timestamp in millis at which the request was signed | [default to undefined]
|
|
19
|
-
|
|
20
|
-
## Example
|
|
21
|
-
|
|
22
|
-
```typescript
|
|
23
|
-
import { CreateOrderRequestSignedFields } from '@bluefin/api-client';
|
|
24
|
-
|
|
25
|
-
const instance: CreateOrderRequestSignedFields = {
|
|
26
|
-
symbol,
|
|
27
|
-
accountAddress,
|
|
28
|
-
priceE9,
|
|
29
|
-
quantityE9,
|
|
30
|
-
side,
|
|
31
|
-
leverageE9,
|
|
32
|
-
isIsolated,
|
|
33
|
-
salt,
|
|
34
|
-
idsId,
|
|
35
|
-
expiresAtMillis,
|
|
36
|
-
signedAtMillis,
|
|
37
|
-
};
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# CreateOrderResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**orderHash** | **string** | The unique identifier of this order, to be used as a lookup key | [default to undefined]
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import { CreateOrderResponse } from '@bluefin/api-client';
|
|
14
|
-
|
|
15
|
-
const instance: CreateOrderResponse = {
|
|
16
|
-
orderHash,
|
|
17
|
-
};
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/src/docs/EpochConfigs.md
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# EpochConfigs
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**campaignName** | **string** | The name of the campaign. | [default to undefined]
|
|
9
|
-
**epochDuration** | **number** | Duration of the epoch in seconds. | [default to undefined]
|
|
10
|
-
**suiRewardsAllocationE9** | **string** | Allocation of Sui token rewards in the epoch (e9 format). | [default to undefined]
|
|
11
|
-
**blueRewardsAllocationE9** | **string** | Allocation of Blue token rewards in the epoch (e9 format). | [default to undefined]
|
|
12
|
-
**walRewardsAllocationE9** | **string** | Allocation of wal token rewards in the epoch (e9 format) | [default to undefined]
|
|
13
|
-
**intervalNumber** | **number** | Interval number for the epoch. | [default to undefined]
|
|
14
|
-
**epochNumber** | **number** | Epoch number for the epoch. | [default to undefined]
|
|
15
|
-
**config** | **{ [key: string]: any | undefined; }** | Object to add custom configurations for campaigns. | [default to undefined]
|
|
16
|
-
|
|
17
|
-
## Example
|
|
18
|
-
|
|
19
|
-
```typescript
|
|
20
|
-
import { EpochConfigs } from '@bluefin/api-client';
|
|
21
|
-
|
|
22
|
-
const instance: EpochConfigs = {
|
|
23
|
-
campaignName,
|
|
24
|
-
epochDuration,
|
|
25
|
-
suiRewardsAllocationE9,
|
|
26
|
-
blueRewardsAllocationE9,
|
|
27
|
-
walRewardsAllocationE9,
|
|
28
|
-
intervalNumber,
|
|
29
|
-
epochNumber,
|
|
30
|
-
config,
|
|
31
|
-
};
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# EpochConfigsResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**maxIntervalNumber** | **number** | The maximum interval number available. | [default to undefined]
|
|
9
|
-
**intervalNumber** | **number** | The current interval number being queried. | [default to undefined]
|
|
10
|
-
**data** | [**Array<EpochConfigs>**](EpochConfigs.md) | List of epoch configs for different campaigns. | [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { EpochConfigsResponse } from '@bluefin/api-client';
|
|
16
|
-
|
|
17
|
-
const instance: EpochConfigsResponse = {
|
|
18
|
-
maxIntervalNumber,
|
|
19
|
-
intervalNumber,
|
|
20
|
-
data,
|
|
21
|
-
};
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# EpochMetadata
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**status** | **string** | | [default to undefined]
|
|
9
|
-
**campaignName** | **string** | Name of the campaign. | [default to undefined]
|
|
10
|
-
**epochId** | **number** | Epoch Id of the epoch. | [default to undefined]
|
|
11
|
-
**epochNumber** | **number** | Epoch number for the queried epoch. | [default to undefined]
|
|
12
|
-
**startDate** | **number** | Time in seconds for campaign start date. | [default to undefined]
|
|
13
|
-
**endDate** | **number** | Time in seconds for campaign end date. | [default to undefined]
|
|
14
|
-
|
|
15
|
-
## Example
|
|
16
|
-
|
|
17
|
-
```typescript
|
|
18
|
-
import { EpochMetadata } from '@bluefin/api-client';
|
|
19
|
-
|
|
20
|
-
const instance: EpochMetadata = {
|
|
21
|
-
status,
|
|
22
|
-
campaignName,
|
|
23
|
-
epochId,
|
|
24
|
-
epochNumber,
|
|
25
|
-
startDate,
|
|
26
|
-
endDate,
|
|
27
|
-
};
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/src/docs/Error.md
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# ModelError
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**errorCode** | **string** | A code representing the type of error. | [optional] [default to undefined]
|
|
9
|
-
**message** | **string** | A human-readable message describing the error. | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { ModelError } from '@bluefin/api-client';
|
|
15
|
-
|
|
16
|
-
const instance: ModelError = {
|
|
17
|
-
errorCode,
|
|
18
|
-
message,
|
|
19
|
-
};
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/src/docs/ExchangeApi.md
DELETED
|
@@ -1,473 +0,0 @@
|
|
|
1
|
-
# ExchangeApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://api.sui-staging.bluefin.io*
|
|
4
|
-
|
|
5
|
-
|Method | HTTP request | Description|
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
|[**getAllMarketTicker**](#getallmarketticker) | **GET** /v1/exchange/tickers | /exchange/tickers|
|
|
8
|
-
|[**getCandlestickData**](#getcandlestickdata) | **GET** /v1/exchange/candlesticks | /exchange/candlesticks|
|
|
9
|
-
|[**getExchangeInfo**](#getexchangeinfo) | **GET** /v1/exchange/info | /exchange/info|
|
|
10
|
-
|[**getExchangeStats**](#getexchangestats) | **GET** /v1/exchange/stats | /exchange/stats|
|
|
11
|
-
|[**getFundingRateHistory**](#getfundingratehistory) | **GET** /v1/exchange/fundingRateHistory | /exchange/fundingRateHistory|
|
|
12
|
-
|[**getMarketTicker**](#getmarketticker) | **GET** /v1/exchange/ticker | /exchange/ticker|
|
|
13
|
-
|[**getOrderbookDepth**](#getorderbookdepth) | **GET** /v1/exchange/depth | /exchange/depth|
|
|
14
|
-
|[**getRecentTrades**](#getrecenttrades) | **GET** /v1/exchange/trades | /exchange/trades|
|
|
15
|
-
|
|
16
|
-
# **getAllMarketTicker**
|
|
17
|
-
> Array<TickerResponse> getAllMarketTicker()
|
|
18
|
-
|
|
19
|
-
Retrieves all market ticker information.
|
|
20
|
-
|
|
21
|
-
### Example
|
|
22
|
-
|
|
23
|
-
```typescript
|
|
24
|
-
import {
|
|
25
|
-
ExchangeApi,
|
|
26
|
-
Configuration
|
|
27
|
-
} from '@bluefin/api-client';
|
|
28
|
-
|
|
29
|
-
const configuration = new Configuration();
|
|
30
|
-
const apiInstance = new ExchangeApi(configuration);
|
|
31
|
-
|
|
32
|
-
const { status, data } = await apiInstance.getAllMarketTicker();
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
### Parameters
|
|
36
|
-
This endpoint does not have any parameters.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
### Return type
|
|
40
|
-
|
|
41
|
-
**Array<TickerResponse>**
|
|
42
|
-
|
|
43
|
-
### Authorization
|
|
44
|
-
|
|
45
|
-
No authorization required
|
|
46
|
-
|
|
47
|
-
### HTTP request headers
|
|
48
|
-
|
|
49
|
-
- **Content-Type**: Not defined
|
|
50
|
-
- **Accept**: application/json
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
### HTTP response details
|
|
54
|
-
| Status code | Description | Response headers |
|
|
55
|
-
|-------------|-------------|------------------|
|
|
56
|
-
|**200** | OK | - |
|
|
57
|
-
|
|
58
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
59
|
-
|
|
60
|
-
# **getCandlestickData**
|
|
61
|
-
> Array<Array<string>> getCandlestickData()
|
|
62
|
-
|
|
63
|
-
Retrieves candle stick data for a market.
|
|
64
|
-
|
|
65
|
-
### Example
|
|
66
|
-
|
|
67
|
-
```typescript
|
|
68
|
-
import {
|
|
69
|
-
ExchangeApi,
|
|
70
|
-
Configuration
|
|
71
|
-
} from '@bluefin/api-client';
|
|
72
|
-
|
|
73
|
-
const configuration = new Configuration();
|
|
74
|
-
const apiInstance = new ExchangeApi(configuration);
|
|
75
|
-
|
|
76
|
-
let symbol: string; //The market symbol to get the klines for. (default to undefined)
|
|
77
|
-
let interval: KlineInterval; //The interval to get the klines for. (default to undefined)
|
|
78
|
-
let type: CandlePriceType; //Candle price type (last price, market price or oracle). (default to undefined)
|
|
79
|
-
let startTimeAtMillis: number; //Timestamp in milliseconds in ms to get klines from. (optional) (default to undefined)
|
|
80
|
-
let endTimeAtMillis: number; //Timestamp in milliseconds in ms to get klines until. (optional) (default to undefined)
|
|
81
|
-
let limit: number; //Default 50; max 1000. (optional) (default to 50)
|
|
82
|
-
let page: number; //The page number to retrieve in a paginated response. (optional) (default to undefined)
|
|
83
|
-
|
|
84
|
-
const { status, data } = await apiInstance.getCandlestickData(
|
|
85
|
-
symbol,
|
|
86
|
-
interval,
|
|
87
|
-
type,
|
|
88
|
-
startTimeAtMillis,
|
|
89
|
-
endTimeAtMillis,
|
|
90
|
-
limit,
|
|
91
|
-
page
|
|
92
|
-
);
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
### Parameters
|
|
96
|
-
|
|
97
|
-
|Name | Type | Description | Notes|
|
|
98
|
-
|------------- | ------------- | ------------- | -------------|
|
|
99
|
-
| **symbol** | [**string**] | The market symbol to get the klines for. | defaults to undefined|
|
|
100
|
-
| **interval** | **KlineInterval** | The interval to get the klines for. | defaults to undefined|
|
|
101
|
-
| **type** | **CandlePriceType** | Candle price type (last price, market price or oracle). | defaults to undefined|
|
|
102
|
-
| **startTimeAtMillis** | [**number**] | Timestamp in milliseconds in ms to get klines from. | (optional) defaults to undefined|
|
|
103
|
-
| **endTimeAtMillis** | [**number**] | Timestamp in milliseconds in ms to get klines until. | (optional) defaults to undefined|
|
|
104
|
-
| **limit** | [**number**] | Default 50; max 1000. | (optional) defaults to 50|
|
|
105
|
-
| **page** | [**number**] | The page number to retrieve in a paginated response. | (optional) defaults to undefined|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
### Return type
|
|
109
|
-
|
|
110
|
-
**Array<Array<string>>**
|
|
111
|
-
|
|
112
|
-
### Authorization
|
|
113
|
-
|
|
114
|
-
No authorization required
|
|
115
|
-
|
|
116
|
-
### HTTP request headers
|
|
117
|
-
|
|
118
|
-
- **Content-Type**: Not defined
|
|
119
|
-
- **Accept**: application/json
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
### HTTP response details
|
|
123
|
-
| Status code | Description | Response headers |
|
|
124
|
-
|-------------|-------------|------------------|
|
|
125
|
-
|**200** | Kline/candlestick data | - |
|
|
126
|
-
|
|
127
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
128
|
-
|
|
129
|
-
# **getExchangeInfo**
|
|
130
|
-
> ExchangeInfoResponse getExchangeInfo()
|
|
131
|
-
|
|
132
|
-
Returns the current exchange information including available margin assets, markets, and rules.
|
|
133
|
-
|
|
134
|
-
### Example
|
|
135
|
-
|
|
136
|
-
```typescript
|
|
137
|
-
import {
|
|
138
|
-
ExchangeApi,
|
|
139
|
-
Configuration
|
|
140
|
-
} from '@bluefin/api-client';
|
|
141
|
-
|
|
142
|
-
const configuration = new Configuration();
|
|
143
|
-
const apiInstance = new ExchangeApi(configuration);
|
|
144
|
-
|
|
145
|
-
const { status, data } = await apiInstance.getExchangeInfo();
|
|
146
|
-
```
|
|
147
|
-
|
|
148
|
-
### Parameters
|
|
149
|
-
This endpoint does not have any parameters.
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
### Return type
|
|
153
|
-
|
|
154
|
-
**ExchangeInfoResponse**
|
|
155
|
-
|
|
156
|
-
### Authorization
|
|
157
|
-
|
|
158
|
-
No authorization required
|
|
159
|
-
|
|
160
|
-
### HTTP request headers
|
|
161
|
-
|
|
162
|
-
- **Content-Type**: Not defined
|
|
163
|
-
- **Accept**: application/json
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
### HTTP response details
|
|
167
|
-
| Status code | Description | Response headers |
|
|
168
|
-
|-------------|-------------|------------------|
|
|
169
|
-
|**200** | Successful response | - |
|
|
170
|
-
|
|
171
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
172
|
-
|
|
173
|
-
# **getExchangeStats**
|
|
174
|
-
> StatsResponse getExchangeStats()
|
|
175
|
-
|
|
176
|
-
Retrieves exchange statistics.
|
|
177
|
-
|
|
178
|
-
### Example
|
|
179
|
-
|
|
180
|
-
```typescript
|
|
181
|
-
import {
|
|
182
|
-
ExchangeApi,
|
|
183
|
-
Configuration
|
|
184
|
-
} from '@bluefin/api-client';
|
|
185
|
-
|
|
186
|
-
const configuration = new Configuration();
|
|
187
|
-
const apiInstance = new ExchangeApi(configuration);
|
|
188
|
-
|
|
189
|
-
let interval: StatsInterval; // (optional) (default to undefined)
|
|
190
|
-
let startTimeAtMillis: number; //Timestamp in milliseconds. (optional) (default to undefined)
|
|
191
|
-
let endTimeAtMillis: number; //Timestamp in milliseconds. (optional) (default to undefined)
|
|
192
|
-
let limit: number; //Number of records to return. Default is 30; max is 200. (optional) (default to 30)
|
|
193
|
-
let page: number; //The page number to retrieve in a paginated response. (optional) (default to undefined)
|
|
194
|
-
|
|
195
|
-
const { status, data } = await apiInstance.getExchangeStats(
|
|
196
|
-
interval,
|
|
197
|
-
startTimeAtMillis,
|
|
198
|
-
endTimeAtMillis,
|
|
199
|
-
limit,
|
|
200
|
-
page
|
|
201
|
-
);
|
|
202
|
-
```
|
|
203
|
-
|
|
204
|
-
### Parameters
|
|
205
|
-
|
|
206
|
-
|Name | Type | Description | Notes|
|
|
207
|
-
|------------- | ------------- | ------------- | -------------|
|
|
208
|
-
| **interval** | **StatsInterval** | | (optional) defaults to undefined|
|
|
209
|
-
| **startTimeAtMillis** | [**number**] | Timestamp in milliseconds. | (optional) defaults to undefined|
|
|
210
|
-
| **endTimeAtMillis** | [**number**] | Timestamp in milliseconds. | (optional) defaults to undefined|
|
|
211
|
-
| **limit** | [**number**] | Number of records to return. Default is 30; max is 200. | (optional) defaults to 30|
|
|
212
|
-
| **page** | [**number**] | The page number to retrieve in a paginated response. | (optional) defaults to undefined|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
### Return type
|
|
216
|
-
|
|
217
|
-
**StatsResponse**
|
|
218
|
-
|
|
219
|
-
### Authorization
|
|
220
|
-
|
|
221
|
-
No authorization required
|
|
222
|
-
|
|
223
|
-
### HTTP request headers
|
|
224
|
-
|
|
225
|
-
- **Content-Type**: Not defined
|
|
226
|
-
- **Accept**: application/json
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
### HTTP response details
|
|
230
|
-
| Status code | Description | Response headers |
|
|
231
|
-
|-------------|-------------|------------------|
|
|
232
|
-
|**200** | Successful response with exchange statistics. | - |
|
|
233
|
-
|**400** | Invalid parameters provided. | - |
|
|
234
|
-
|**422** | Unprocessable parameters provided. | - |
|
|
235
|
-
|**500** | Internal server error. | - |
|
|
236
|
-
|
|
237
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
238
|
-
|
|
239
|
-
# **getFundingRateHistory**
|
|
240
|
-
> Array<FundingRateEntry> getFundingRateHistory()
|
|
241
|
-
|
|
242
|
-
Retrieve the funding rate history for a specific market address.
|
|
243
|
-
|
|
244
|
-
### Example
|
|
245
|
-
|
|
246
|
-
```typescript
|
|
247
|
-
import {
|
|
248
|
-
ExchangeApi,
|
|
249
|
-
Configuration
|
|
250
|
-
} from '@bluefin/api-client';
|
|
251
|
-
|
|
252
|
-
const configuration = new Configuration();
|
|
253
|
-
const apiInstance = new ExchangeApi(configuration);
|
|
254
|
-
|
|
255
|
-
let symbol: string; //The market symbol to get funding rate history for (default to undefined)
|
|
256
|
-
let limit: number; //Number of records to return. Default is 100; max is 1000. (optional) (default to 100)
|
|
257
|
-
let startTimeAtMillis: number; //The timestamp specifies the earliest point in time for which data should be returned. The value is not included. (optional) (default to undefined)
|
|
258
|
-
let endTimeAtMillis: number; //The timestamp specifies the latest point in time for which data should be returned. The value is included. (optional) (default to undefined)
|
|
259
|
-
let page: number; //The page number to retrieve in a paginated response. (optional) (default to undefined)
|
|
260
|
-
|
|
261
|
-
const { status, data } = await apiInstance.getFundingRateHistory(
|
|
262
|
-
symbol,
|
|
263
|
-
limit,
|
|
264
|
-
startTimeAtMillis,
|
|
265
|
-
endTimeAtMillis,
|
|
266
|
-
page
|
|
267
|
-
);
|
|
268
|
-
```
|
|
269
|
-
|
|
270
|
-
### Parameters
|
|
271
|
-
|
|
272
|
-
|Name | Type | Description | Notes|
|
|
273
|
-
|------------- | ------------- | ------------- | -------------|
|
|
274
|
-
| **symbol** | [**string**] | The market symbol to get funding rate history for | defaults to undefined|
|
|
275
|
-
| **limit** | [**number**] | Number of records to return. Default is 100; max is 1000. | (optional) defaults to 100|
|
|
276
|
-
| **startTimeAtMillis** | [**number**] | The timestamp specifies the earliest point in time for which data should be returned. The value is not included. | (optional) defaults to undefined|
|
|
277
|
-
| **endTimeAtMillis** | [**number**] | The timestamp specifies the latest point in time for which data should be returned. The value is included. | (optional) defaults to undefined|
|
|
278
|
-
| **page** | [**number**] | The page number to retrieve in a paginated response. | (optional) defaults to undefined|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
### Return type
|
|
282
|
-
|
|
283
|
-
**Array<FundingRateEntry>**
|
|
284
|
-
|
|
285
|
-
### Authorization
|
|
286
|
-
|
|
287
|
-
No authorization required
|
|
288
|
-
|
|
289
|
-
### HTTP request headers
|
|
290
|
-
|
|
291
|
-
- **Content-Type**: Not defined
|
|
292
|
-
- **Accept**: application/json
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
### HTTP response details
|
|
296
|
-
| Status code | Description | Response headers |
|
|
297
|
-
|-------------|-------------|------------------|
|
|
298
|
-
|**200** | Successful response with funding rate history. | - |
|
|
299
|
-
|
|
300
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
301
|
-
|
|
302
|
-
# **getMarketTicker**
|
|
303
|
-
> TickerResponse getMarketTicker()
|
|
304
|
-
|
|
305
|
-
Retrieves aggregated ticker data for a market.
|
|
306
|
-
|
|
307
|
-
### Example
|
|
308
|
-
|
|
309
|
-
```typescript
|
|
310
|
-
import {
|
|
311
|
-
ExchangeApi,
|
|
312
|
-
Configuration
|
|
313
|
-
} from '@bluefin/api-client';
|
|
314
|
-
|
|
315
|
-
const configuration = new Configuration();
|
|
316
|
-
const apiInstance = new ExchangeApi(configuration);
|
|
317
|
-
|
|
318
|
-
let symbol: string; //Market symbol. (default to undefined)
|
|
319
|
-
|
|
320
|
-
const { status, data } = await apiInstance.getMarketTicker(
|
|
321
|
-
symbol
|
|
322
|
-
);
|
|
323
|
-
```
|
|
324
|
-
|
|
325
|
-
### Parameters
|
|
326
|
-
|
|
327
|
-
|Name | Type | Description | Notes|
|
|
328
|
-
|------------- | ------------- | ------------- | -------------|
|
|
329
|
-
| **symbol** | [**string**] | Market symbol. | defaults to undefined|
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
### Return type
|
|
333
|
-
|
|
334
|
-
**TickerResponse**
|
|
335
|
-
|
|
336
|
-
### Authorization
|
|
337
|
-
|
|
338
|
-
No authorization required
|
|
339
|
-
|
|
340
|
-
### HTTP request headers
|
|
341
|
-
|
|
342
|
-
- **Content-Type**: Not defined
|
|
343
|
-
- **Accept**: application/json
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
### HTTP response details
|
|
347
|
-
| Status code | Description | Response headers |
|
|
348
|
-
|-------------|-------------|------------------|
|
|
349
|
-
|**200** | OK | - |
|
|
350
|
-
|**404** | Market not found. | - |
|
|
351
|
-
|
|
352
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
353
|
-
|
|
354
|
-
# **getOrderbookDepth**
|
|
355
|
-
> OrderbookDepthResponse getOrderbookDepth()
|
|
356
|
-
|
|
357
|
-
Returns the current state of the orderbook.
|
|
358
|
-
|
|
359
|
-
### Example
|
|
360
|
-
|
|
361
|
-
```typescript
|
|
362
|
-
import {
|
|
363
|
-
ExchangeApi,
|
|
364
|
-
Configuration
|
|
365
|
-
} from '@bluefin/api-client';
|
|
366
|
-
|
|
367
|
-
const configuration = new Configuration();
|
|
368
|
-
const apiInstance = new ExchangeApi(configuration);
|
|
369
|
-
|
|
370
|
-
let symbol: string; //Market symbol to get the orderbook depth for. (default to undefined)
|
|
371
|
-
let limit: number; //Maximum number of bids and asks to return. Default 500; max 1000. (optional) (default to 500)
|
|
372
|
-
|
|
373
|
-
const { status, data } = await apiInstance.getOrderbookDepth(
|
|
374
|
-
symbol,
|
|
375
|
-
limit
|
|
376
|
-
);
|
|
377
|
-
```
|
|
378
|
-
|
|
379
|
-
### Parameters
|
|
380
|
-
|
|
381
|
-
|Name | Type | Description | Notes|
|
|
382
|
-
|------------- | ------------- | ------------- | -------------|
|
|
383
|
-
| **symbol** | [**string**] | Market symbol to get the orderbook depth for. | defaults to undefined|
|
|
384
|
-
| **limit** | [**number**] | Maximum number of bids and asks to return. Default 500; max 1000. | (optional) defaults to 500|
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
### Return type
|
|
388
|
-
|
|
389
|
-
**OrderbookDepthResponse**
|
|
390
|
-
|
|
391
|
-
### Authorization
|
|
392
|
-
|
|
393
|
-
No authorization required
|
|
394
|
-
|
|
395
|
-
### HTTP request headers
|
|
396
|
-
|
|
397
|
-
- **Content-Type**: Not defined
|
|
398
|
-
- **Accept**: application/json
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
### HTTP response details
|
|
402
|
-
| Status code | Description | Response headers |
|
|
403
|
-
|-------------|-------------|------------------|
|
|
404
|
-
|**200** | Orderbook depth | - |
|
|
405
|
-
|
|
406
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
407
|
-
|
|
408
|
-
# **getRecentTrades**
|
|
409
|
-
> Array<Trade> getRecentTrades()
|
|
410
|
-
|
|
411
|
-
Retrieves recent trades executed on a market.
|
|
412
|
-
|
|
413
|
-
### Example
|
|
414
|
-
|
|
415
|
-
```typescript
|
|
416
|
-
import {
|
|
417
|
-
ExchangeApi,
|
|
418
|
-
Configuration
|
|
419
|
-
} from '@bluefin/api-client';
|
|
420
|
-
|
|
421
|
-
const configuration = new Configuration();
|
|
422
|
-
const apiInstance = new ExchangeApi(configuration);
|
|
423
|
-
|
|
424
|
-
let symbol: string; //The market symbol to get the trades for. (default to undefined)
|
|
425
|
-
let tradeType: TradeType; //Type of trade. (optional) (default to undefined)
|
|
426
|
-
let limit: number; //Default 500; max 1000. (optional) (default to 500)
|
|
427
|
-
let startTimeAtMillis: number; //The timestamp specifies the earliest point in time for which data should be returned. The value is not included. (optional) (default to undefined)
|
|
428
|
-
let endTimeAtMillis: number; //The timestamp specifies the latest point in time for which data should be returned. The value is included. (optional) (default to undefined)
|
|
429
|
-
let page: number; //The page number to retrieve in a paginated response. (optional) (default to undefined)
|
|
430
|
-
|
|
431
|
-
const { status, data } = await apiInstance.getRecentTrades(
|
|
432
|
-
symbol,
|
|
433
|
-
tradeType,
|
|
434
|
-
limit,
|
|
435
|
-
startTimeAtMillis,
|
|
436
|
-
endTimeAtMillis,
|
|
437
|
-
page
|
|
438
|
-
);
|
|
439
|
-
```
|
|
440
|
-
|
|
441
|
-
### Parameters
|
|
442
|
-
|
|
443
|
-
|Name | Type | Description | Notes|
|
|
444
|
-
|------------- | ------------- | ------------- | -------------|
|
|
445
|
-
| **symbol** | [**string**] | The market symbol to get the trades for. | defaults to undefined|
|
|
446
|
-
| **tradeType** | **TradeType** | Type of trade. | (optional) defaults to undefined|
|
|
447
|
-
| **limit** | [**number**] | Default 500; max 1000. | (optional) defaults to 500|
|
|
448
|
-
| **startTimeAtMillis** | [**number**] | The timestamp specifies the earliest point in time for which data should be returned. The value is not included. | (optional) defaults to undefined|
|
|
449
|
-
| **endTimeAtMillis** | [**number**] | The timestamp specifies the latest point in time for which data should be returned. The value is included. | (optional) defaults to undefined|
|
|
450
|
-
| **page** | [**number**] | The page number to retrieve in a paginated response. | (optional) defaults to undefined|
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
### Return type
|
|
454
|
-
|
|
455
|
-
**Array<Trade>**
|
|
456
|
-
|
|
457
|
-
### Authorization
|
|
458
|
-
|
|
459
|
-
No authorization required
|
|
460
|
-
|
|
461
|
-
### HTTP request headers
|
|
462
|
-
|
|
463
|
-
- **Content-Type**: Not defined
|
|
464
|
-
- **Accept**: application/json
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
### HTTP response details
|
|
468
|
-
| Status code | Description | Response headers |
|
|
469
|
-
|-------------|-------------|------------------|
|
|
470
|
-
|**200** | Recent trades | - |
|
|
471
|
-
|
|
472
|
-
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
473
|
-
|