HTTP API reference › GalaSwap DEX › Schemas
GalaSwap DEX — schemas
180 named schemas. Request and response tables on the group pages link here.
ActiveIncentiveProgramResponse
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| id | number | yes | |
| name | string | yes | |
| poolHash | string | yes | |
| bonusToken | string nullable | yes | |
| bonusPoolAmount | string nullable | yes | |
| status | string enum: PENDING, ACTIVE, COMPLETED, CANCELLED | yes | |
| startTime | string (date-time) | yes | |
| endTime | string (date-time) | yes | |
| requiresFullRange | boolean | yes | |
| minPositionValueUsd | number nullable | yes | |
| termsUrl | string nullable | yes | |
| totalTvl | string | yes | |
| participantCount | number | yes |
active incentive program response
AddLiquidityEstimateResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| amount0 | string | yes | |
| amount1 | string | yes | |
| liquidity | string | yes | |
| token0Symbol | string | yes | |
| token1Symbol | string | yes | |
| tickLower | number | yes | |
| tickUpper | number | yes | |
| amountIsCanonicalToken0 | boolean | yes |
add liquidity estimate response dto
AddLiquidityEstimateResponseEnvelopeDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| message | string | yes | |
| error | boolean | yes | |
| data | AddLiquidityEstimateResponseDto | yes |
add liquidity estimate response envelope dto
ApiErrorEnvelope
Shared error response envelope returned by the backend.
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | integer | yes | |
| error | boolean | yes | |
| message | string | yes | |
| errorKey | string | no |
api error envelope
AssetDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | yes | |
| name | string | yes | |
| symbol | string | yes | |
| decimals | number | yes |
asset dto
BaseResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| message | string | yes | |
| error | object | yes | |
| data | object | yes |
base response dto
BlockDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| blockNumber | number | yes | |
| blockTimestamp | number | yes |
block dto
ChainQueuedWriteDataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| mode | string enum: queued | yes | |
| transactionId | string | no | |
| uniqueKey | string | no | |
| blockNumber | number | no |
chain queued write data response dto
ChainSubmissionResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean | yes | |
| message | string | yes | |
| data | oneOf: ChainSyncWriteDataResponseDto | ChainQueuedWriteDataResponseDto | yes |
chain submission response dto
ChainSyncWriteDataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| mode | string enum: sync | yes | |
| transactionId | string | yes | |
| result | object | yes | Executed chain result; fields depend on the registered method. |
| blockNumber | number | no |
chain sync write data response dto
ChestOpenResponse
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| id | number | yes | |
| tierNumber | number | yes | |
| tierName | string | no | |
| keysUsed | number | yes | |
| status | string enum: PENDING, PROCESSING, FULFILLED, FAILED | yes | |
| rewardPacks | array<CompetitionRewardPackResponseDto> nullable | yes | |
| openedAt | string | yes |
chest open response
CoinGeckoBadRequestResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean | yes | |
| message | string | yes |
coin gecko bad request response dto
CoinGeckoTickerResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| ticker_id | string | yes | |
| base_currency | string | yes | |
| target_currency | string | yes | |
| last_price | number | yes | |
| base_volume | number | yes | |
| target_volume | number | yes | |
| pool_id | string | yes | |
| liquidity_in_usd | number | yes |
coin gecko ticker response dto
CompetitionChestTierResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| tierNumber | number | yes | |
| name | string | yes | |
| keysRequired | number | yes | |
| exchangeId | number | no | |
| redemptionCode | string | no | |
| budgetUsd | number | no |
competition chest tier response dto
CompetitionEnrolledInventoryResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| enrolled | boolean enum: true | yes | |
| keys | KeyInventory | yes | |
| grandPrizeEntry | boolean | yes | |
| totalVolume | number | yes | |
| rank | number nullable | yes |
competition enrolled inventory response dto
CompetitionErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| statusCode | number | yes | |
| message | oneOf: string | array<string> | yes | |
| error | string | no |
competition error response dto
CompetitionGrandPrizeResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | yes | |
| valueUsd | number | yes | |
| description | string | no | |
| imageUrl | string | no |
competition grand prize response dto
CompetitionLeaderboardResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| entries | array<LeaderboardEntry> | yes | |
| totalParticipants | number | yes | |
| totalVolume | number | yes | |
| userPosition | LeaderboardEntry | no |
competition leaderboard response dto
CompetitionNotEnrolledInventoryResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| enrolled | boolean enum: false | yes | |
| keys | KeyInventory | yes | |
| grandPrizeEntry | boolean enum: false | yes |
competition not enrolled inventory response dto
CompetitionResponse
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| id | number | yes | |
| name | string | yes | |
| description | string nullable | yes | |
| poolHashes | array<string> | yes | |
| startTime | string | yes | |
| endTime | string | yes | |
| status | string enum: PENDING, ACTIVE, COMPLETED, CANCELLED | yes | |
| keyThresholdUsd | number | yes | |
| grandPrizeConfig | object nullable CompetitionGrandPrizeResponseDto | yes | |
| termsUrl | string nullable | yes | |
| bannerImageUrl | string nullable | yes | |
| isActive | boolean | yes | |
| timeRemaining | number nullable | yes | |
| totalParticipants | number | yes | |
| totalVolume | number | yes | |
| chestTierConfig | array<CompetitionChestTierResponseDto> nullable | yes |
competition response
CompetitionRewardItemResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| id | number | yes | |
| fulfillmentType | string enum: galachain_mint, galachain_transfer, object_api_item | yes | |
| fulfillmentSubType | string | yes | |
| collection | string | yes | |
| category | string | yes | |
| type | string | yes | |
| additionalKey | string | yes | |
| quantity | number | yes | |
| dynamicMetadataId | string | no |
competition reward item response dto
CompetitionRewardPackResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| id | number | yes | |
| claimedBy | string | no | |
| claimedTransactionHash | string | no | |
| items | array<CompetitionRewardItemResponseDto> | yes |
competition reward pack response dto
CompetitionStatsResponse
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| competitionId | number | yes | |
| totalParticipants | number | yes | |
| totalVolume | number | yes | |
| totalKeysAwarded | number | yes | |
| totalChestsOpened | object | yes | |
| grandPrizeEntries | number | yes |
competition stats response
CompositePoolResponseDataDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| pool | PoolDataResponseDto | yes | |
| currentTradingPrice | CurrentTradingPriceResponseDto | yes | |
| initializedTicks | array<InitializedTickResponseDto> | no | |
| reverseInitializedTicks | array<InitializedTickResponseDto> | no | |
| positionBoundaries | array<> | no | |
| positions | array<CompositePositionResponseDto> | no | |
| activeLiquidity | string | no | |
| token0TradingSymbol | TradingSymbolBalanceResponseDto | no | |
| token1TradingSymbol | TradingSymbolBalanceResponseDto | no | |
| token0LiquidityBalance | TokenBalanceResponseDto | no | |
| token1LiquidityBalance | TokenBalanceResponseDto | no | |
| token0ProtocolFeesBalance | TokenBalanceResponseDto | no | |
| token1ProtocolFeesBalance | TokenBalanceResponseDto | no |
composite pool response data dto
CompositePoolResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| message | string | yes | |
| error | boolean | yes | |
| data | CompositePoolResponseDataDto | yes |
composite pool response dto
CompositePositionResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| pool | string | yes | |
| lexigraphicTickIndexLow | string | yes | |
| lexigraphicTickIndexHigh | string | yes | |
| owner | string | yes | |
| liquidity | string | yes |
composite position response dto
CurrentTradingPriceResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| token0 | string | yes | |
| token1 | string | yes | |
| fee | number | yes | |
| price | string | yes | |
| sqrtPrice | string | yes | |
| tick | number | yes |
current trading price response dto
DailyVolumeAndFeesResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| pairId | string | no | |
| timezone | string | yes | |
| date | string | yes | |
| volumeUSD | number | yes | |
| feesUSD | number | yes |
daily volume and fees response dto
EnrollDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| walletAddress | string | yes |
enroll dto
EnrollPositionDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| programId | number | yes | Incentive program identifier. |
| walletAddress | string | yes | Synthetic or caller wallet reference that owns the position. |
| tickLower | number | yes | Lower tick bound of the enrolled position. |
| tickUpper | number | yes | Upper tick bound of the enrolled position. |
| termsAcceptedTxHash | string | no | Transaction hash proving acceptance of program terms. |
enroll position dto
ExtensionVersionCheckResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| supported | boolean | yes | |
| minVersion | string | yes | |
| currentVersion | string nullable | yes |
extension version check response dto
ExtensionVersionUpgradeRequiredResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| error | string enum: extension_update_required | yes | |
| minVersion | string | yes | |
| currentVersion | string | yes |
extension version upgrade required response dto
GenerateWidgetUrlDataDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| url | string | yes |
generate widget url data dto
GenerateWidgetUrlDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| walletAddress | string | yes | Wallet receiving the purchased or swapped crypto. |
| mode | string enum: buy, sell, swap | no | Widget transaction mode. |
| defaultFiat | string | no | Fiat currency code. |
| defaultAmount | number | no | Default fiat amount. |
| sellDefaultAmount | number | no | Default crypto amount for sell mode. |
| onlyCryptoNetworks | string | no | Allowed crypto network identifiers. |
| defaultPaymentMethod | string | no | Default payment method. |
| defaultCrypto | string | no | Default crypto ticker. |
| onlyPaymentMethods | string | no | Allowlisted payment methods. |
| excludePaymentMethods | string | no | Payment methods excluded from the widget. |
| onlyFiat | string | no | Allowlisted fiat currencies. |
| excludeFiat | string | no | Fiat currencies excluded from the widget. |
| isAddressEditable | string | no | Whether the user can edit the wallet address, encoded as a string. |
| networkPrefix | string | no | Onramper network prefix. |
generate widget url dto
GenerateWidgetUrlResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean | yes | |
| message | string | yes | |
| data | GenerateWidgetUrlDataDto | yes |
generate widget url response dto
GetAssetResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| asset | AssetDto | yes |
get asset response dto
GetEventsResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| events | array<oneOf: SwapEventDto | JoinExitEventDto> | yes |
get events response dto
GetPairResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| pair | PairDto | yes |
get pair response dto
IncentiveErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| statusCode | number | yes | |
| message | oneOf: string | array<string> | yes | |
| error | string | no |
incentive error response dto
IncentiveProgramAnalyticsResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| id | number | yes | |
| programId | number | yes | |
| snapshotTime | string (date-time) | yes | |
| periodType | string enum: REALTIME, HOURLY, DAILY | yes | |
| tvlUsd | number | yes | |
| volume24hUsd | number | yes | |
| fees24hUsd | number | yes | |
| trailingApr24h | number nullable | yes | |
| trailingApr7d | number nullable | yes | |
| uniqueLpCount | number | yes | |
| totalPositions | number | yes | |
| qualifiedPositions | number | yes | |
| totalFeesDistributed | number | yes | |
| createdAt | string (date-time) | yes |
incentive program analytics response dto
IncentiveProgramPositionResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| id | number | yes | |
| programId | number | yes | |
| walletAddress | string | yes | |
| owner | string nullable | yes | |
| positionId | string | yes | |
| tickLower | number nullable | yes | |
| tickUpper | number nullable | yes | |
| initialLiquidity | string | yes | |
| initialValueUsd | number nullable | yes | |
| isFullRange | boolean | yes | |
| isQualified | boolean | yes | |
| enrolledAt | string (date-time) | yes | |
| disqualifiedAt | string (date-time) nullable | yes | |
| disqualificationReason | string nullable | yes | |
| termsAcceptedAt | string (date-time) nullable | yes | |
| termsAcceptedIp | string nullable | yes | |
| createdAt | string (date-time) | yes | |
| updatedAt | string (date-time) | yes |
incentive program position response dto
IncentiveRewardResponse
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| programId | number | yes | |
| programName | string | yes | |
| status | string enum: ACTIVE, COMPLETED, DISQUALIFIED, CALCULATING | yes | |
| bonusTokenSymbol | string | yes | |
| bonusTokenReward | string | yes | |
| sharePercentage | string | yes | |
| isQualified | boolean | yes | |
| disqualificationReason | string | no | |
| timeRemainingSeconds | number | yes | |
| distributionTxHash | string | no | |
| programStartTime | string (date-time) | yes | |
| programEndTime | string (date-time) | yes |
incentive reward response
InitializedTickResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| pool | string | yes | |
| lexigraphicTickIndex | string | yes |
initialized tick response dto
JoinExitEventDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| txnId | string | yes | |
| txnIndex | number | yes | |
| eventIndex | number | yes | |
| block | BlockDto | yes | |
| maker | string | yes | |
| pairId | string | yes | |
| eventType | string enum: join, exit | yes | |
| amount0 | string | yes | |
| amount1 | string | yes | |
| reserves | TerminalReservesDto | yes |
join exit event dto
KeyInventory
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| total | number | yes | |
| canAfford | object | yes |
key inventory
LatestBlockResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| block | BlockDto | yes |
latest block response dto
LeaderboardEntry
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| rank | number | yes | |
| walletAddress | string | yes | |
| totalVolumeUsd | number | yes | |
| keysEarned | number | yes |
leaderboard entry
LeaderboardEntryResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| wallet | string | yes | |
| rank | number | yes | |
| total_xp | string nullable | no | |
| distribution_percent | string | yes | |
| liquidity_xp | string | yes | |
| trading_xp | string | yes | |
| mastery_titles | array<LeaderboardMasteryTitleResponseDto> | yes |
leaderboard entry response dto
LeaderboardMasteryTitleResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | yes | |
| type | string | yes | |
| order | number | yes |
leaderboard mastery title response dto
LeaderboardResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| leaderboard | array<LeaderboardEntryResponseDto> | yes |
leaderboard response dto
LeaderboardRewardPageMetaResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| currentPage | number | yes | |
| itemsPerPage | number | yes | |
| totalPages | number | yes | |
| totalItems | number | yes | |
| hasNextPage | boolean | yes | |
| hasPreviousPage | boolean | yes |
leaderboard reward page meta response dto
LeaderboardRewardPageResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| items | array<LeaderboardWalletRewardResponseDto> | yes | |
| meta | LeaderboardRewardPageMetaResponseDto | yes |
leaderboard reward page response dto
LeaderboardSeasonResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| id | number | yes | |
| name | string | yes | |
| start | string (date-time) | yes | |
| end | string (date-time) | yes | |
| rules_id | number | yes |
leaderboard season response dto
LeaderboardUserBreakdownResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| details | nullable LeaderboardWalletDetailResponseDto oneOf: LeaderboardWalletDetailResponseDto | object nullable enum: | yes | |
| rewards | LeaderboardRewardPageResponseDto | yes |
leaderboard user breakdown response dto
LeaderboardUserPositionDetailsResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| liquidity_xp | string nullable | yes | |
| trading_xp | string nullable | yes | |
| token_variety | string nullable | yes | |
| token_variety_names | string nullable | yes | |
| tvl_days_provisioned | number nullable | yes | |
| tvl | string nullable | yes | |
| tvl_increased | string nullable | yes | |
| mastery_titles | array<LeaderboardMasteryTitleResponseDto> nullable | yes | |
| season_id | number nullable | yes | |
| created_at | string (date-time) nullable | yes | |
| id | number | yes | |
| wallet_address | string nullable | yes | |
| total_xp | string | yes | |
| distribution_percent | string | yes |
leaderboard user position details response dto
LeaderboardUserPositionResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| position | number nullable | yes | |
| details | nullable LeaderboardUserPositionDetailsResponseDto oneOf: LeaderboardUserPositionDetailsResponseDto | object nullable enum: | yes |
leaderboard user position response dto
LeaderboardWalletDetailResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| liquidity_xp | string nullable | yes | |
| trading_xp | string nullable | yes | |
| token_variety | string nullable | yes | |
| token_variety_names | string nullable | yes | |
| tvl_days_provisioned | number nullable | yes | |
| tvl | string nullable | yes | |
| tvl_increased | string nullable | yes | |
| mastery_titles | array<LeaderboardMasteryTitleResponseDto> nullable | yes | |
| season_id | number nullable | yes | |
| created_at | string (date-time) nullable | yes | |
| id | number | yes | |
| wallet_address | string nullable | yes | |
| total_xp | string nullable | yes |
leaderboard wallet detail response dto
LeaderboardWalletRewardResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| id | number | yes | |
| wallet_address | string nullable | yes | |
| xp_type | string nullable | yes | |
| xp_activity | string nullable | yes | |
| xp_amount | string nullable | yes | |
| season_id | number nullable | yes | |
| created_at | string (date-time) nullable | yes |
leaderboard wallet reward response dto
LiquidityOperationDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| operationId | string | yes | |
| poolHash | string | yes | |
| positionId | string | yes | |
| transactionId | string | yes | |
| feeTier | string | yes | |
| token0ClassKeyId | string | yes | |
| token1ClassKeyId | string | yes | |
| blockNumber | number | yes | |
| transactionTimestamp | string | yes | |
| transactionMethod | string enum: AddLiquidity, RemoveLiquidity | yes | |
| userAddress | string | yes | |
| token0Amount | string | yes | |
| token1Amount | string | yes | |
| tickLower | number | no | |
| tickUpper | number | no | |
| liquidity | string | no |
liquidity operation dto
LiquidityOperationEdgeResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| node | LiquidityOperationDto | yes |
liquidity operation edge response dto
MarketErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | boolean | yes | |
| message | string | yes |
market error response dto
MarketOhlcvPointResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| time | oneOf: string | number | yes | |
| open | number | yes | |
| high | number | yes | |
| low | number | yes | |
| close | number | yes | |
| volume | number | no |
market ohlcv point response dto
MarketplaceErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | boolean | yes | |
| message | string | yes |
marketplace error response dto
MarketplaceHttpErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| statusCode | number | yes | |
| message | string | yes | |
| error | string | yes |
marketplace http error response dto
MarketplaceListingPageResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| items | array<MarketplaceListingResponseDto> | yes | |
| total | number | yes | |
| page | number | yes | |
| limit | number | yes |
marketplace listing page response dto
MarketplaceListingResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | yes | |
| nftClass | string nullable | yes | |
| instance | string nullable | yes | |
| collection | string nullable | yes | |
| name | string nullable | yes | |
| image | string nullable | yes | |
| rarity | string nullable | yes | |
| price | MarketplacePriceResponseDto | yes | |
| seller | string | yes | |
| channel | string | yes | |
| mode | string enum: native, brokered | yes | |
| bundleCount | number | yes | |
| expires | string | yes | |
| created | string | yes | |
| deepLink | string (uri) | yes |
marketplace listing response dto
MarketplacePriceResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| currency | string | yes | |
| amount | string | yes | |
| num | number | yes |
marketplace price response dto
MarketplaceRateLimitResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | boolean | yes | |
| message | string | yes | |
| retryAfter | number | yes |
marketplace rate limit response dto
MarketPriceResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| price | number nullable | yes | |
| change24h | number nullable | yes | |
| listed | boolean | yes |
market price response dto
MarketPriceSeriesPointResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| time | number | yes | Unix time in seconds |
| price | number | yes |
market price series point response dto
MarketPriceSeriesResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| prices | array<MarketPriceSeriesPointResponseDto> | yes | |
| currentPrice | number nullable | yes | |
| change24h | number nullable | yes |
market price series response dto
MarketTokenSeriesResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| ohlcv | array<MarketOhlcvPointResponseDto> | yes | |
| currentPrice | number nullable | yes | |
| change24h | number nullable | yes | |
| volume24h | number nullable | yes | |
| source | string enum: inhouse, coingecko, chainmeter, none | yes |
market token series response dto
MarketWalletSwapResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| block_number | number | yes | |
| tx_number | string | yes | |
| created_at | string (date-time) | yes | |
| creator | string | yes | |
| sender | string | yes | |
| recipient | string | yes | |
| tx_type | string enum: GalaChainDex:Trade, DexV3Contract:Swap | yes | |
| tx_subtype | string enum: Swap | yes | |
| quantity | number | yes | |
| tx_validation_code | string enum: 0 | yes | |
| tx_validation_enum | string enum: VALID | yes | |
| usd_volume | number | yes | |
| swap_token_0_amt | number | yes | |
| swap_token_1_amt | number | yes | |
| swap_token_0_name | string nullable | yes | |
| swap_token_1_name | string nullable | yes | |
| swap_token_0_image | string nullable | yes | |
| swap_token_1_image | string nullable | yes | |
| swap_token_0_asset_id | string nullable | yes | |
| swap_token_1_asset_id | string nullable | yes | |
| unique_key | string | yes | |
| pool_hash | string | yes |
market wallet swap response dto
OnboardingCustomErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean | yes | |
| message | string | yes |
onboarding custom error response dto
OnboardingHttpErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| statusCode | number | yes | |
| message | oneOf: string | array<string> | yes | |
| error | string | no |
onboarding http error response dto
OnboardingRegisteredDataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| exist | boolean | yes |
onboarding registered data response dto
OnboardingRegisteredResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean | yes | |
| message | string | yes | |
| data | OnboardingRegisteredDataResponseDto | no |
onboarding registered response dto
OpenChestDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| walletAddress | string | yes | |
| tierNumber | number | yes |
open chest dto
OpenChestResponse
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| success | boolean | yes | |
| chestOpenId | number | yes | |
| tierNumber | number | yes | |
| tierName | string | yes | |
| keysUsed | number | yes | |
| rewardPacks | array<CompetitionRewardPackResponseDto> | yes | |
| message | string | yes |
open chest response
PairDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | yes | |
| dexKey | string | yes | |
| asset0Id | string | yes | |
| asset1Id | string | yes | |
| feeBps | number | yes |
pair dto
PairResultResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| pairId | string | yes | |
| name | string nullable | yes |
pair result response dto
PairsHttpErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| statusCode | number | yes | |
| message | oneOf: string | array<string> | yes | |
| error | string | no |
pairs http error response dto
PairsResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| date | string | yes | |
| timezone | string | yes | |
| pairs | array<PairResultResponseDto> | yes |
pairs response dto
ParticipantResponse
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| id | number | yes | |
| competitionId | number | yes | |
| walletAddress | string | yes | |
| totalVolumeUsd | number | yes | |
| keysEarned | number | yes | |
| keysSpent | number | yes | |
| grandPrizeEntry | boolean | yes | |
| enrolledAt | string | yes | |
| rank | number nullable | yes | |
| availableKeys | KeyInventory | yes | |
| chestOpens | array<ChestOpenResponse> | yes |
participant response
PoolDataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| fee | number | yes | |
| tickSpacing | number | yes | |
| protocolFees | number | yes | |
| tradingFees | number | yes | |
| creator | string | no | |
| token0 | string | yes | |
| token1 | string | yes | |
| name | string | no | |
| token0Key | string | yes | |
| token1Key | string | yes | |
| isPrivate | boolean | no |
pool data response dto
PoolListRowResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| fee | number | yes | |
| tickSpacing | number | yes | |
| protocolFees | number | yes | |
| tradingFees | number | yes | |
| creator | string | no | |
| token0CompositeKey | string | no | |
| token1CompositeKey | string | no | |
| token0Image | string | yes | |
| token1Image | string | yes | |
| contractVersion | string enum: v2 | yes | |
| token0 | string | yes | |
| token1 | string | yes | |
| poolName | string | yes | |
| poolRef | string | yes | |
| price | string | no | |
| sqrtPrice | string | no | |
| tick | number | no | |
| token0Tvl | string | no | |
| token1Tvl | string | no | |
| tvlUsd | number | no | |
| volume1d | number | no | |
| volume7d | number | no | |
| volume30d | number | no | |
| trades1d | number | no | |
| fee24h | number | no | |
| apr1d | number | no | |
| token0Price | number | no | |
| token1Price | number | no |
pool list row response dto
PoolResponseDataDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| fee | number | yes | |
| tickSpacing | number | yes | |
| protocolFees | number | yes | |
| tradingFees | number | yes | |
| creator | string | no | |
| token0 | string | yes | |
| token1 | string | yes | |
| name | string | no | |
| token0Key | string | yes | |
| token1Key | string | yes | |
| isPrivate | boolean | no | |
| flippedFromRequest | boolean | yes |
pool response data dto
PoolResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| message | string | yes | |
| error | boolean | yes | |
| data | PoolResponseDataDto | yes |
pool response dto
PoolsResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| message | string | yes | |
| error | boolean | yes | |
| data | array<PoolListRowResponseDto> | yes |
pools response dto
PoolSweepResultResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| poolHash | string | yes | |
| pool | string | yes | |
| contract | string enum: v1, v2 | yes | |
| status | string enum: no-fees, dust-carried-forward, dry-run, collected, failed | yes | |
| collected | object | yes | |
| submissionKey | string nullable | yes | |
| txId | string nullable | yes | |
| blockNumber | number | no | |
| detail | string | yes |
pool sweep result response dto
PositionResponseDataDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| fee | number | yes | |
| token0CompositeKey | string | no | |
| token1CompositeKey | string | no | |
| token0Image | string | yes | |
| token1Image | string | yes | |
| pool | string | yes | |
| token0Symbol | string | yes | |
| token1Symbol | string | yes | |
| tickLower | number | yes | |
| tickUpper | number | yes | |
| owner | string | yes | |
| liquidity | string | yes | |
| amount0 | string | yes | |
| amount1 | string | yes | |
| inRange | boolean | yes | |
| currentTick | number | no | |
| sqrtPrice | string | no | |
| fees0 | string | no | |
| fees1 | string | no |
position response data dto
PositionResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| message | string | yes | |
| error | boolean | yes | |
| data | SinglePositionResponseDataDto | yes |
position response dto
PositionsResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| message | string | yes | |
| error | boolean | yes | |
| data | array<PositionResponseDataDto> | yes |
positions response dto
ProtocolFeeSweepHttpErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| statusCode | number | yes | |
| message | oneOf: string | array<string> | yes | |
| error | string | no |
protocol fee sweep http error response dto
QuoteDataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| contractVersion | string enum: v2 | yes | |
| fee | number | yes | |
| amountIn | string | yes | |
| amountOut | string | yes | |
| currentSqrtPrice | string | yes | |
| newSqrtPrice | string | yes | |
| newTick | number | yes | |
| tradingFees | string | yes | |
| protocolFees | string | yes | |
| totalFees | string | yes | |
| feeTokenSymbol | string | yes | |
| token0Symbol | string | yes | |
| token1Symbol | string | yes | |
| tokenInIsToken0 | boolean | yes |
quote data response dto
QuoteResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| message | string | yes | |
| error | boolean | yes | |
| data | QuoteDataResponseDto | yes |
quote response dto
RemoveLiquidityEstimateResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| amount0 | string | yes | |
| amount1 | string | yes |
remove liquidity estimate response dto
RemoveLiquidityEstimateResponseEnvelopeDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| message | string | yes | |
| error | boolean | yes | |
| data | RemoveLiquidityEstimateResponseDto | yes |
remove liquidity estimate response envelope dto
ShadowChallengeDataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| nonce | string | yes | |
| message | string | yes | |
| expiresAt | string (date-time) | yes |
shadow challenge data response dto
ShadowChallengeResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | string enum: success | yes | |
| data | ShadowChallengeDataResponseDto | yes |
shadow challenge response dto
ShadowHistoryDataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| items | array<ShadowHistoryRowResponseDto> | yes | |
| count | number | yes |
shadow history data response dto
ShadowHistoryResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | string enum: success | yes | |
| data | ShadowHistoryDataResponseDto | yes |
shadow history response dto
ShadowHistoryRowResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | yes | |
| txHash | string nullable | yes | |
| status | string enum: pending, confirmed, failed, unconfirmed, unverifiable | yes | |
| blockNumber | number nullable | yes | |
| timestamp | string (date-time) | yes | |
| soldTokenAssetId | string | yes | |
| receivedTokenAssetId | string | yes | |
| soldAmount | number nullable | yes | |
| receivedAmount | number nullable | yes | |
| usdVolume | number nullable | yes | |
| isShadow | boolean enum: true | yes | |
| poolRecipient | string | no |
shadow history row response dto
ShadowHttpErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| statusCode | number | yes | |
| message | oneOf: string | array<string> | yes | |
| error | string | no |
shadow http error response dto
ShadowSessionRequestDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| signature | string | yes | personal_sign signature of the challenge message returned by /challenge |
shadow session request dto
ShadowSessionResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | string enum: success | yes | |
| data | ShadowSessionTokenResponseDto | yes |
shadow session response dto
ShadowSessionTokenResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| token | string | yes | |
| tokenType | string enum: Bearer | yes | |
| expiresAt | string (date-time) | yes |
shadow session token response dto
SinglePositionResponseDataDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| fee | number | yes | |
| token0CompositeKey | string | no | |
| token1CompositeKey | string | no | |
| token0Image | string | yes | |
| token1Image | string | yes | |
| pool | string | yes | |
| token0Symbol | string | yes | |
| token1Symbol | string | yes | |
| tickLower | number | yes | |
| tickUpper | number | yes | |
| owner | string | yes | |
| liquidity | string | yes | |
| amount0 | string | yes | |
| amount1 | string | yes | |
| inRange | boolean | yes | |
| currentTick | number | no | |
| sqrtPrice | string | no | |
| fees0 | string | no | |
| fees1 | string | no |
single position response data dto
Slot0ResponseDataDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| token0 | string | yes | |
| token1 | string | yes | |
| fee | number | yes | |
| price | string | yes | |
| sqrtPrice | string | yes | |
| tick | number | yes | |
| flippedFromRequest | boolean | yes |
slot0 response data dto
Slot0ResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| message | string | yes | |
| error | boolean | yes | |
| data | Slot0ResponseDataDto | yes |
slot0 response dto
SwapEventDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| txnId | string | yes | |
| txnIndex | number | yes | |
| eventIndex | number | yes | |
| block | BlockDto | yes | |
| maker | string | yes | |
| pairId | string | yes | |
| eventType | string enum: swap | yes | |
| asset0In | string | no | |
| asset1In | string | no | |
| asset0Out | string | no | |
| asset1Out | string | no | |
| priceNative | string | yes | |
| reserves | TerminalReservesDto | yes |
swap event dto
SweepReportResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| startedAt | string (date-time) | yes | |
| finishedAt | string (date-time) | yes | |
| dryRun | boolean | yes | |
| destination | string | yes | |
| poolsScanned | number | yes | |
| poolsCollected | number | yes | |
| poolsSkippedDust | number | yes | |
| poolsFailed | number | yes | |
| totalsByToken | object | yes | |
| pools | array<PoolSweepResultResponseDto> | yes |
sweep report response dto
SymbolsResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| message | string | yes | |
| error | boolean | yes | |
| data | array<TradingSymbolResponseDto> | yes |
symbols response dto
TerminalNotFoundResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| message | string | yes | |
| error | string | yes | |
| statusCode | number | yes |
terminal not found response dto
TerminalReservesDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| asset0 | string | yes | |
| asset1 | string | yes |
terminal reserves dto
TokenBalanceResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| collection | string | no | |
| category | string | no | |
| type | string | no | |
| additionalKey | string | no | |
| quantity | string | no | |
| owner | string | no |
token balance response dto
TokenDTO
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| collection | string | yes | |
| category | string | yes | |
| type | string | yes | |
| additionalKey | string | yes |
token dto
TokenRegistryKeyListResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| compositeKeys | array<string> | yes | |
| count | number | yes |
token registry key list response dto
TokenSupplyHttpErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| statusCode | number | yes | |
| message | oneOf: string | array<string> | yes | |
| error | string | no |
token supply http error response dto
TokenSupplyResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| data | array<TokenSupplyRowResponseDto> | yes |
token supply response dto
TokenSupplyRowResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| collection | string | yes | |
| category | string | yes | |
| type | string | yes | |
| additionalKey | string | yes | |
| decimals | number | no | |
| name | string | no | |
| symbol | string | no | |
| description | string | no | |
| image | string | no | |
| network | string | no | |
| isNonFungible | boolean | no | |
| knownMintAllowanceSupply | string | yes | |
| knownMintSupply | string | yes | |
| maxCapacity | string | yes | |
| maxSupply | string | yes | |
| totalBurned | string | yes | |
| totalSupply | string | yes | |
| tokenClass | string | yes | |
| circulatingSupply | string | yes |
token supply row response dto
TradeCustomErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean | yes | |
| message | string | yes |
trade custom error response dto
TradeGraphDataPointResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| volume | number | yes | |
| startDate | string | yes | |
| endDate | string | yes | |
| displayTime | string | yes |
trade graph data point response dto
TradeGraphDataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean enum: false | yes | |
| message | string | no | |
| data | array<TradeGraphDataPointResponseDto> | yes |
trade graph data response dto
TradeIndexedTransactionEnvelopeResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean enum: false | yes | |
| message | string | no | |
| data | TradeIndexedTransactionResponseDto | yes |
trade indexed transaction envelope response dto
TradeIndexedTransactionResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| transactionId | string nullable | yes | |
| blockNumber | number | yes | |
| poolHash | string nullable | yes | |
| userAddress | string nullable | yes | |
| transactionTime | string nullable | yes | |
| token0 | string nullable | yes | |
| token1 | string nullable | yes | |
| amount0 | number nullable | yes | |
| amount1 | number nullable | yes | |
| volume | number nullable | yes |
trade indexed transaction response dto
TradePoolAttributesResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| poolPair | string | yes | |
| poolHash | string | yes | |
| token0 | string | yes | |
| token0Image | string | yes | |
| token1 | string | yes | |
| token1Image | string | yes | |
| token0CompositeKey | string nullable | yes | |
| token1CompositeKey | string nullable | yes | |
| token0OriginChain | string nullable | yes | |
| token1OriginChain | string nullable | yes | |
| token0Price | string | yes | |
| token1Price | string | yes | |
| poolName | string | yes | |
| fee | string | yes | |
| fee24h | number | yes | |
| token0Tvl | number | yes | |
| token0TvlUsd | number | yes | |
| token1Tvl | number | yes | |
| token1TvlUsd | number | yes | |
| tvl | number | yes | |
| volume1d | number | yes | |
| volume30d | number | yes | |
| volume7d | number | yes | |
| trades1d | number | yes | |
| poolCreatedAt | string nullable | yes | |
| dayPerTvl | number | yes | |
| apr1d | number | yes | |
| signals | array<string enum: new-active, trending, high-turnover, high-fee, top-volume, bot-viable> | yes | |
| opportunityScore | number | yes | |
| contractVersion | string enum: v1, v2 | yes |
trade pool attributes response dto
TradePoolDetailResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean enum: false | yes | |
| message | string | no | |
| data | TradePoolAttributesResponseDto | yes |
trade pool detail response dto
TradePoolListDataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| pools | array<TradePoolAttributesResponseDto> | yes | |
| count | number | yes |
trade pool list data response dto
TradePoolListResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean enum: false | yes | |
| message | string | no | |
| data | TradePoolListDataResponseDto | yes |
trade pool list response dto
TradeSlot0ChainResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| Status | number enum: 1 | yes | |
| Message | string | no | |
| ErrorCode | number | no | |
| ErrorKey | string | no | |
| ErrorPayload | object | no | |
| Data | TradeSlot0DataResponseDto | no |
trade slot0 chain response dto
TradeSlot0DataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| sqrtPrice | string | yes | |
| tick | number | no | |
| liquidity | string | no | |
| grossPoolLiquidity | string | no |
trade slot0 data response dto
TradeSlot0ResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean enum: false | yes | |
| message | string | no | |
| data | oneOf: TradeSlot0ChainResponseDto | object | yes |
trade slot0 response dto
TradeTransactionResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| transactionId | string nullable | yes | |
| blockNumber | number | yes | |
| poolHash | string nullable | yes | |
| userAddress | string nullable | yes | |
| id | number | yes | |
| uniqueKey | string nullable | yes | |
| transactionTime | string nullable | yes | |
| token0 | string nullable | yes | |
| token1 | string nullable | yes | |
| amount0 | number nullable | yes | |
| amount1 | number nullable | yes | |
| volume | number nullable | yes | |
| createdAt | string (date-time) | yes | |
| updatedAt | string (date-time) | yes |
trade transaction response dto
TradeTransactionsDataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| transactions | array<TradeTransactionResponseDto> | yes | |
| count | number | yes |
trade transactions data response dto
TradeTransactionsResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean enum: false | yes | |
| message | string | no | |
| data | TradeTransactionsDataResponseDto | yes |
trade transactions response dto
TradeV2ErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean | yes | |
| message | string | yes | |
| errorKey | string | no |
trade v2 error response dto
TradeV2GraphDataPointResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| volume | number | yes | |
| startDate | string | yes | |
| endDate | string | yes | |
| displayTime | string | yes |
trade v2 graph data point response dto
TradeV2GraphDataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| message | string | yes | |
| error | boolean | yes | |
| data | array<TradeV2GraphDataPointResponseDto> | yes |
trade v2 graph data response dto
TradeV2IndexedTransactionResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| transactionId | string nullable | yes | |
| blockNumber | number | yes | |
| poolHash | string nullable | yes | |
| userAddress | string nullable | yes | |
| transactionTime | string nullable | yes | |
| token0 | string nullable | yes | |
| token1 | string nullable | yes | |
| amount0 | number nullable | yes | |
| amount1 | number nullable | yes | |
| volume | number nullable | yes |
trade v2 indexed transaction response dto
TradeV2OpportunitiesDataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| pools | array<TradeV2OpportunityPoolResponseDto> | yes | |
| count | number | yes |
trade v2 opportunities data response dto
TradeV2OpportunitiesResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| message | string | yes | |
| error | boolean | yes | |
| data | TradeV2OpportunitiesDataResponseDto | yes |
trade v2 opportunities response dto
TradeV2OpportunityPoolResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| fee | number | yes | |
| tickSpacing | number | yes | |
| protocolFees | number | yes | |
| tradingFees | number | yes | |
| creator | string | no | |
| token0CompositeKey | string | no | |
| token1CompositeKey | string | no | |
| token0Image | string | yes | |
| token1Image | string | yes | |
| contractVersion | string enum: v2 | yes | |
| token0 | string | yes | |
| token1 | string | yes | |
| poolName | string | yes | |
| poolRef | string | yes | |
| price | string | no | |
| sqrtPrice | string | no | |
| tick | number | no | |
| token0Tvl | string | no | |
| token1Tvl | string | no | |
| tvlUsd | number | no | |
| volume1d | number | no | |
| volume7d | number | no | |
| volume30d | number | no | |
| trades1d | number | no | |
| fee24h | number | no | |
| apr1d | number | no | |
| token0Price | number | no | |
| token1Price | number | no | |
| signals | array<string enum: new-active, trending, high-turnover, high-fee, top-volume, bot-viable> | yes | |
| opportunityScore | number | yes |
trade v2 opportunity pool response dto
TradeV2PoolByHashResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| message | string | yes | |
| error | boolean | yes | |
| data | PoolListRowResponseDto | yes |
trade v2 pool by hash response dto
TradeV2TransactionByUniqueKeyResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| message | string | yes | |
| error | boolean | yes | |
| data | TradeV2IndexedTransactionResponseDto | yes |
trade v2 transaction by unique key response dto
TradeV2TransactionResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| transactionId | string nullable | yes | |
| blockNumber | number | yes | |
| poolHash | string nullable | yes | |
| userAddress | string nullable | yes | |
| id | number | yes | |
| uniqueKey | string nullable | yes | |
| transactionTime | string nullable | yes | |
| token0 | string nullable | yes | |
| token1 | string nullable | yes | |
| amount0 | number nullable | yes | |
| amount1 | number nullable | yes | |
| volume | number nullable | yes | |
| createdAt | string (date-time) | yes | |
| updatedAt | string (date-time) | yes |
trade v2 transaction response dto
TradeV2TransactionsDataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| transactions | array<TradeV2TransactionResponseDto> | yes | |
| count | number | yes |
trade v2 transactions data response dto
TradeV2TransactionsResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| message | string | yes | |
| error | boolean | yes | |
| data | TradeV2TransactionsDataResponseDto | yes |
trade v2 transactions response dto
TradeV2ValidationErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| statusCode | number | yes | |
| message | oneOf: string | array<string> | yes | |
| error | string | no |
trade v2 validation error response dto
TradeValidationErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| statusCode | number | yes | |
| message | oneOf: string | array<string> | yes | |
| error | string | no |
trade validation error response dto
TradeVolumeDataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| id | number | yes | |
| volume1d | number | yes | |
| volume1dDelta | number | yes | |
| volume7d | number | yes | |
| volume7dDelta | number | yes | |
| volume30d | number | yes | |
| volume30dDelta | number | yes | |
| tvl | number | yes |
trade volume data response dto
TradeVolumeResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean enum: false | yes | |
| message | string | no | |
| data | TradeVolumeDataResponseDto | yes |
trade volume response dto
TradingSymbolBalanceResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| symbol | string | yes | |
| decimals | number | yes |
trading symbol balance response dto
TradingSymbolResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| symbol | string | yes | |
| collection | string | yes | |
| category | string | yes | |
| type | string | yes | |
| additionalKey | string | yes | |
| decimals | number | yes |
trading symbol response dto
UserAssetResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| isUngraduatedLaunchpad | boolean | no | |
| price | number nullable | no | |
| change24h | number nullable | no | |
| listed | boolean | no | |
| originChain | string nullable | no | |
| listedAt | string nullable | no | |
| image | string | yes | |
| symbol | string | yes | |
| name | string | yes | |
| displayName | string | no | |
| decimals | string | yes | Token decimal precision as a decimal string. |
| verify | boolean | yes | |
| compositeKey | string | yes | |
| quantity | string | no |
user asset response dto
UserAssetsDataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| token | array<UserAssetResponseDto> | yes | |
| count | number | yes |
user assets data response dto
UserAssetsResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean | yes | |
| message | string | yes | |
| data | UserAssetsDataResponseDto | no |
user assets response dto
UserErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean enum: true | yes | |
| message | string | yes |
user error response dto
UserGalaBalanceDataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | yes | |
| quantity | number | yes | |
| price | number | yes | |
| holdingPrice | number | yes |
user gala balance data response dto
UserGalaBalanceResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean enum: false | yes | |
| message | string | yes | |
| data | UserGalaBalanceDataResponseDto | no |
user gala balance response dto
UserTokenListDataResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| token | array<UserTokenResponseDto> | yes | |
| count | number | yes | |
| balancesAvailable | boolean enum: false | no |
user token list data response dto
UserTokenListResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean enum: false | yes | |
| message | string | yes | |
| data | UserTokenListDataResponseDto | yes |
user token list response dto
UserTokenResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| isUngraduatedLaunchpad | boolean | no | |
| price | number nullable | no | |
| change24h | number nullable | no | |
| listed | boolean | no | |
| originChain | string nullable | no | |
| listedAt | string nullable | no | |
| id | number | no | |
| name | string | yes | |
| displayName | string | yes | |
| symbol | string | yes | |
| compositeKey | string | yes | |
| collection | string | yes | |
| category | string | yes | |
| type | string | yes | |
| additionalKey | string | yes | |
| decimals | string | yes | |
| description | string | yes | |
| subscribePrice | boolean | yes | |
| verify | boolean | yes | |
| image | string | yes | |
| quantity | string | no |
user token response dto
UserValidationErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| statusCode | number | yes | |
| message | oneOf: string | array<string> | yes | |
| error | string | no |
user validation error response dto
VolumeSummaryResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| tvl | number | yes | |
| volume1d | number | yes | |
| volume7d | number | yes | |
| volume30d | number | yes | |
| trades1d | number | yes | |
| volume1dDelta | number | yes | |
| volume7dDelta | number | yes | |
| volume30dDelta | number | yes |
volume summary response dto
VolumeSummaryResponseEnvelopeDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| message | string | yes | |
| error | boolean | yes | |
| data | VolumeSummaryResponseDto | yes |
volume summary response envelope dto
WalletCompatBalanceNodeResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| node | WalletCompatBalanceRowResponseDto | yes |
wallet compat balance node response dto
WalletCompatBalanceRowResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| channel | string | yes | |
| owner | string | yes | |
| collection | string | yes | |
| category | string | yes | |
| type | string | yes | |
| additionalKey | string | yes | |
| quantity | string | yes | |
| decimals | string | yes | |
| name | string | yes | |
| image | string | yes | |
| symbol | string | yes |
wallet compat balance row response dto
WalletCompatErrorResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | boolean | yes | |
| message | string | yes |
wallet compat error response dto
WalletCompatFetchBalancesResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | boolean enum: true | yes | |
| data | array<WalletCompatBalanceNodeResponseDto> | yes |
wallet compat fetch balances response dto
WalletCompatHealthResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | boolean enum: true | yes | |
| service | string | yes |
wallet compat health response dto
WalletCompatPaginationMetaResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| page | number | yes | |
| pages | number | yes | |
| perPage | number | yes | |
| total | number | yes |
wallet compat pagination meta response dto
WalletCompatRegisteredResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| exists | boolean | yes | |
| walletAlias | string nullable | yes |
wallet compat registered response dto
WalletCompatResultEnvelopeResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| data | oneOf: string nullable | number | boolean | object | array<> | no | |
| status | number | yes | |
| error | boolean | yes | |
| message | string | no | |
| stale | boolean | no | |
| balancesAvailable | boolean enum: false | no |
wallet compat result envelope response dto
WalletCompatSignatureResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | boolean enum: true | yes | |
| signature | string | yes |
wallet compat signature response dto
WalletCompatStatusResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| data | oneOf: string nullable | number | boolean | object | array<> | no | |
| status | boolean | yes | |
| message | string | no | |
| meta | WalletCompatPaginationMetaResponseDto | no | |
| token | string | no | |
| refreshToken | string | no | |
| tx_hash | string nullable | no | |
| signature | string | no | |
| balancesAvailable | boolean enum: false | no |
wallet compat status response dto
WalletCompatSuccessResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| data | oneOf: string nullable | number | boolean | object | array<> | no | |
| success | boolean | yes | |
| message | string | no |
wallet compat success response dto
WalletCompatTransactionRowResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| Method | string | yes | |
| FromWallet | string | yes | |
| ToWallet | string | yes | |
| Amount | string | yes | |
| CreatedAt | string | yes | |
| TransactionHash | string | yes |
wallet compat transaction row response dto
WalletCompatTransactionsResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| status | boolean enum: true | yes | |
| data | array<WalletCompatTransactionRowResponseDto> | yes |
wallet compat transactions response dto
WhatsNewResponseDto
Type: object
| Field | Type | Required | Description |
|---|---|---|---|
| active | boolean | yes | |
| id | string nullable | yes | |
| title | string nullable | yes | |
| message | string nullable | yes | |
| url | string nullable | yes | |
| updatedAt | string nullable | yes |
whats new response dto