Skip to content

Commit

Permalink
Merge branch 'main' into fix/pion-1-v4-handler
Browse files Browse the repository at this point in the history
  • Loading branch information
swelf19 committed Jun 25, 2024
2 parents cec7a87 + 9d205f0 commit e91bb9c
Showing 1 changed file with 87 additions and 0 deletions.
87 changes: 87 additions & 0 deletions docs/static/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20100,6 +20100,31 @@ definitions:
type: object
type: array
type: object
slinky.oracle.v1.GetCurrencyPairMappingResponse:
description: >-
GetCurrencyPairMappingResponse is the GetCurrencyPairMapping response
type.
properties:
currency_pair_mapping:
additionalProperties:
properties:
Base:
type: string
Quote:
type: string
title: >-
CurrencyPair is the standard representation of a pair of assets,
where one

(Base) is priced in terms of the other (Quote)
type: object
description: >-
currency_pair_mapping is a mapping of the id representing the currency
pair

to the currency pair itself.
type: object
type: object
slinky.oracle.v1.GetPriceResponse:
description: >-
GetPriceResponse is the response from the GetPrice grpc method exposed
Expand Down Expand Up @@ -44707,6 +44732,68 @@ paths:
for.
tags:
- Query
/slinky/oracle/v1/get_currency_pair_mapping:
get:
operationId: GetCurrencyPairMapping
responses:
'200':
description: A successful response.
schema:
description: >-
GetCurrencyPairMappingResponse is the GetCurrencyPairMapping
response type.
properties:
currency_pair_mapping:
additionalProperties:
properties:
Base:
type: string
Quote:
type: string
title: >-
CurrencyPair is the standard representation of a pair of
assets, where one

(Base) is priced in terms of the other (Quote)
type: object
description: >-
currency_pair_mapping is a mapping of the id representing the
currency pair

to the currency pair itself.
type: object
type: object
default:
description: An unexpected error response.
schema:
properties:
code:
format: int32
type: integer
details:
items:
properties:
type_url:
type: string
value:
format: byte
type: string
type: object
type: array
error:
type: string
message:
type: string
type: object
summary: >-
Get the mapping of currency pair ID -> currency pair. This is useful for

indexers that have access to the ID of a currency pair, but no way to
get

the underlying currency pair from it.
tags:
- Query
/slinky/oracle/v1/get_price:
get:
operationId: GetPrice
Expand Down

0 comments on commit e91bb9c

Please sign in to comment.