Skip to content

init

Initialize SDK profile.

Params

No params required.

Usage

import { BcodeSDK } from "@bcode-tech/bcode-sdk";

type ReturnParam = "leaves" | "merkleRoot" | "merkleProof" | "inclusion";

(async () => {
  const sdk = new BcodeSDK({
    apiKey: "your-api-key",
    config: { env: "MUMBAI" },
  });

  await sdk.init();
})();

Returns

No data returned.