Rebate

Documentation on interacting with Mexc's Rebate API functions through the PENDAX Javascript SDK.

Get Rebate History Records

Please refer to the official Mexc API Docs for the Required parameters.

https://mxcdevelop.github.io/apidocs/spot_v3_en/#get-rebate-history-records

Function Name:

getRebateHistoryRecords()

Usage:

import { createExchange } from "./exchanges/exchange.js";

   let myMexcExchanges  = createExchange({
      exchange: "mexc",
      authenticate: "true",
      key: "myKey",
      secret: "mySecret",
      label: "mexc"
  });

async function getRebateHistoryRecords(exchange, options) {
    try {
        let result = await exchange.getRebateHistoryRecords(options);
        console.log(result);
    } catch (error) {
        console.log(error.message);
    }
}

let result = await getRebateHistoryRecords(myMexcExchanges);

Get Rebate Records Detail

Please refer to the official Mexc API Docs for the Required parameters.

https://mxcdevelop.github.io/apidocs/spot_v3_en/#get-rebate-records-detail

Function Name:

Usage:

Get Self Rebate Records Detail

Please refer to the official Mexc API Docs for the Required parameters.

https://mxcdevelop.github.io/apidocs/spot_v3_en/#get-self-rebate-records-detail

Function Name:

Usage:

Query ReferCode

Please refer to the official Mexc API Docs for the Required parameters.

https://mxcdevelop.github.io/apidocs/spot_v3_en/#query-refercode

Function Name:

Usage:

Last updated