Admin routes

Admin routes can be accessed by providing your api secret. They are reserved for admin operations that should never be performed by end users.

Your API secret key should never be shared. Do not use it in a public front-end without password protection.

Setting up the SDK for admin routes

const networkApiUrl = ''

const marketplaceSdk = new MarketplaceSdk({
  BASE: networkApiUrl,
    apisecret: 'YOUR_SECRET_KEY'

As with all other routes, admin routes are available on both the SDK and as public API routes. They include:

Last updated