HTTP API reference › GalaSwap DEX › coin-gecko
GalaSwap DEX — coin-gecko
Source commit: unknown. Generated: 2026-10-26T22:08:07.605Z.
6 operations in this group.
- GET /coin-gecko/tickers — Get ticker data for CoinGecko
- GET /coin-gecko/terminal/latest-block — Get the latest block
- GET /coin-gecko/terminal/asset — Get asset details
- GET /coin-gecko/terminal/pair — Get pair details
- GET /coin-gecko/terminal/events — Get events within a block range
- GET /coin-gecko/terminal/liquidity-operations — Get liquidity operations for a position
GET /coin-gecko/tickers
CoinGeckoController_getTickerData
Get ticker data for CoinGecko
Get ticker data for CoinGecko integration.
Security: []
Responses
200 —
Content type: application/json
Schema: array<CoinGeckoTickerResponseDto>
| Field | Type | Required | Description |
|---|---|---|---|
| items.ticker_id | string | yes | |
| items.base_currency | string | yes | |
| items.target_currency | string | yes | |
| items.last_price | number | yes | |
| items.base_volume | number | yes | |
| items.target_volume | number | yes | |
| items.pool_id | string | yes | |
| items.liquidity_in_usd | number | yes |
400 —
Content type: application/json
Schema: CoinGeckoBadRequestResponseDto
| Field | Type | Required | Description |
|---|---|---|---|
| status | number | yes | |
| error | boolean | yes | |
| message | string | yes |
default — An error response using the shared backend error envelope.
Content type: application/json
Schema: ApiErrorEnvelope
| Field | Type | Required | Description |
|---|---|---|---|
| status | integer | yes | |
| error | boolean | yes | |
| message | string | yes | |
| errorKey | string | no |
Example response
[]
GET /coin-gecko/terminal/latest-block
TerminalController_getLatestBlock
Get the latest block
Get the latest block number from the Gala blockchain.
Security: []
Responses
200 —
Content type: application/json
Schema: LatestBlockResponseDto
| Field | Type | Required | Description |
|---|---|---|---|
| block | BlockDto | yes |
default — An error response using the shared backend error envelope.
Content type: application/json
Schema: ApiErrorEnvelope
| Field | Type | Required | Description |
|---|---|---|---|
| status | integer | yes | |
| error | boolean | yes | |
| message | string | yes | |
| errorKey | string | no |
Example response
[]
GET /coin-gecko/terminal/asset
TerminalController_getAsset
Get asset details
Get details of a specific asset.
Security: []
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | query | yes | string | The ID of the asset to retrieve (Base58-encoded TokenClassKey) |
Responses
200 —
Content type: application/json
Schema: GetAssetResponseDto
| Field | Type | Required | Description |
|---|---|---|---|
| asset | AssetDto | yes |
404 —
Content type: application/json
Schema: TerminalNotFoundResponseDto
| Field | Type | Required | Description |
|---|---|---|---|
| message | string | yes | |
| error | string | yes | |
| statusCode | number | yes |
default — An error response using the shared backend error envelope.
Content type: application/json
Schema: ApiErrorEnvelope
| Field | Type | Required | Description |
|---|---|---|---|
| status | integer | yes | |
| error | boolean | yes | |
| message | string | yes | |
| errorKey | string | no |
Example response
[]
GET /coin-gecko/terminal/pair
TerminalController_getPair
Get pair details
Get details of a specific trading pair. The pair ID can be obtained from GET /coin-gecko/terminal/events response.
Security: []
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | query | yes | string | The pair ID (legacy hexadecimal hash or v2:<TOKEN0>$<TOKEN1>$<FEE>) |
Responses
200 —
Content type: application/json
Schema: GetPairResponseDto
| Field | Type | Required | Description |
|---|---|---|---|
| pair | PairDto | yes |
404 —
Content type: application/json
Schema: TerminalNotFoundResponseDto
| Field | Type | Required | Description |
|---|---|---|---|
| message | string | yes | |
| error | string | yes | |
| statusCode | number | yes |
default — An error response using the shared backend error envelope.
Content type: application/json
Schema: ApiErrorEnvelope
| Field | Type | Required | Description |
|---|---|---|---|
| status | integer | yes | |
| error | boolean | yes | |
| message | string | yes | |
| errorKey | string | no |
Example response
[]
GET /coin-gecko/terminal/events
TerminalController_getEvents
Get events within a block range
Get events within a specified block range.
Security: []
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| fromBlock | query | yes | number | The starting block number (inclusive) |
| toBlock | query | yes | number | The ending block number (inclusive) |
Responses
200 —
Content type: application/json
Schema: GetEventsResponseDto
| Field | Type | Required | Description |
|---|---|---|---|
| events | array<oneOf: SwapEventDto | JoinExitEventDto> | yes |
default — An error response using the shared backend error envelope.
Content type: application/json
Schema: ApiErrorEnvelope
| Field | Type | Required | Description |
|---|---|---|---|
| status | integer | yes | |
| error | boolean | yes | |
| message | string | yes | |
| errorKey | string | no |
Example response
[]
GET /coin-gecko/terminal/liquidity-operations
TerminalController_getLiquidityOperations
Get liquidity operations for a position
Get liquidity operations for a specific position. Current-contract positions use <poolRef>|<lexLow>|<lexHigh>|<owner> and cover the most recent 300,000 blocks.
Security: []
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| positionId | query | yes | string | The legacy numeric position ID or current-contract <poolRef>|<lexLow>|<lexHigh>|<owner> composite key. |
Responses
200 —
Content type: application/json
Schema: array<LiquidityOperationEdgeResponseDto>
| Field | Type | Required | Description |
|---|---|---|---|
| items.node | LiquidityOperationDto | yes |
default — An error response using the shared backend error envelope.
Content type: application/json
Schema: ApiErrorEnvelope
| Field | Type | Required | Description |
|---|---|---|---|
| status | integer | yes | |
| error | boolean | yes | |
| message | string | yes | |
| errorKey | string | no |
Example response
[]
Previous group: chain · Next group: leaderboard