1.0.0 • Published 11 months ago

@okxweb3/marketplace-library v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

Installation

npm i @okxweb3/marketplace-library

Usage

Service

Used to quickly create axios instances, help developers make requests easier, support the get post method, and customize the request header, demo:

import { Service } from '@okxweb3/marketplace-library'
const apiClient = new Service('https://www.okx.com/')

const getSellersPsbt = (options)=> {
    const params = {
      orderIds: options.join()
    }
    const data = await apiClient.get(URL.ORDERS_PSBT, params)
    return data
}
1.0.0

11 months ago

1.0.0-beta.1

11 months ago

1.0.0-beta

11 months ago