Rebate

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

Get Rebate History Records

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#get-rebate-history-recordsarrow-up-right

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

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#get-rebate-records-detailarrow-up-right

Function Name:

Usage:

Get Self Rebate Records Detail

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#get-self-rebate-records-detailarrow-up-right

Function Name:

Usage:

Query ReferCode

circle-info

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

https://mxcdevelop.github.io/apidocs/spot_v3_en/#query-refercodearrow-up-right

Function Name:

Usage:

Last updated