Synthetic USD

Get best price

GET/synthetic-usd/best-pricePublic

Get best price

Response Body

OK

application/json
  1. response
askPrice*number

Best ask price

bidPrice*number

Best bid price

import { createHttpClient } from '@ln-markets/sdk/rest/v3'const client = createHttpClient()const result = await client.syntheticUsd.getBestPrice()
{  "askPrice": 100000,  "bidPrice": 100000}