Affiliate
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
Function Name:
Usage:
GET Direct Invitees
Function Name:
Usage:
GET Sub Invitees
Function Name:
Usage:
GET Sub Affiliates
Function Name:
Usage:
Last updated