Reference

Token Prices

get

Get the computed price of the whitelisted tokens, the native token BERA is represented as the zero address

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
currencyany ofRequiredDefault: USDExample: USD
const: USDOptional
or
const: NATIVEOptional
Responses
200Success
get
/v1/prices
GET /v1/prices?currency=USD HTTP/1.1
Host: mainnet.api.oogabooga.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "address": "0x6969696969696969696969696969696969696969",
    "price": 1
  }
]

Token List

get

Get the list of tokens for trading on the Ooga Booga's Smart Order Routing

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200Success
get
/v1/tokens
GET /v1/tokens HTTP/1.1
Host: mainnet.api.oogabooga.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "address": "0x6969696969696969696969696969696969696969",
    "name": "Honey",
    "symbol": "HONEY",
    "decimals": 18,
    "tokenURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/honey.png"
  }
]

Last updated