Affiliate

GET Affiliate Info

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

https://docs.blofin.com/index.html#get-affiliate-info

Function Name:

getAffiliateInfo()

Usage:

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

   let myBlofinExchange  = createExchange({
      exchange: "blofin",
      authenticate: "true",
      key: "myKey",
      secret: "mySecret",
      passphrase: "myPassphrase",
      label: "blofin"
  });

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

let result = await getAffiliateInfo(myBlofinExchange, 
});

GET Referral Code

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

https://docs.blofin.com/index.html#get-referral-code

Function Name:

Usage:

GET Direct Invitees

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

https://docs.blofin.com/index.html#get-direct-invitees

Function Name:

Usage:

GET Sub Invitees

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

https://docs.blofin.com/index.html#get-sub-invitees

Function Name:

Usage:

GET Sub Affiliates

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

https://docs.blofin.com/index.html#get-sub-affiliates

Function Name:

Usage:

Last updated