User

GET API Key Info

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

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

Function Name:

getApiKeyInfo()

Usage:

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

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

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

let result = await getApiKeyInfo(myBlofinExchange, 
});

Last updated