GET
/
api
/
currency
/
partners
/
{chain}

Overview

Endpoint used for the retro app for fetching all partner tokens that can be swapped on the platform

Using the sdk

import api, { IConnection } from "codemelt-retro-api-sdk"
const connection: IConnection = {
  host: '<enter you host url here>',
  headers: {
    'x-api-key': '<enter your api key here>'
  }
}
const chain = '<enter your blockchain of usage>' //example polygon
const respTokens = await api.functional.api.currency.partners.getPartners(
  apiConnection,
  chain
);

Path Parameters

chain
string
required

Response

200 - application/json
message
string
required
data
null
required
status
any
required