Javascript SDKexpand_more
/* Initialize the Bitcapital Core SDK */
const bitcapital = Bitcapital.initialize({
  baseURL: "https://testnet.btcore.app",
  clientId: "root",
  clientSecret: "root",
})

/* Generate headers for request signing */
const headers = await bitcapital.sign({
  url: "/",
  method: "GET",
  timestamp: "1573689437539",
  body: "undefined",
});

/* Get raw signature from headers object */
const signature = headers['X-Request-Signature'];