Skip to main content
GET
/
rate-oracle
/
config
Get Rate Oracle Config
curl --request GET \
  --url http://localhost:8000/rate-oracle/config \
  --header 'Authorization: Basic <encoded-value>'
{
  "rate_oracle_source": {
    "name": "binance"
  },
  "global_token": {
    "global_token_name": "USDT",
    "global_token_symbol": "$"
  },
  "available_sources": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

200 - application/json

Successful Response

Response for rate oracle configuration GET endpoint.

rate_oracle_source
RateOracleSourceConfig · object
required

Current rate oracle source configuration

global_token
GlobalTokenConfig · object
required

Current global token configuration

available_sources
string[]
required

List of available rate oracle sources