Skip to content

getWalletAddress

Returns address for used wallet.

Usage

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

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

  // Returns address for used wallet
  await sdk.getWalletAddress();
})();

Returns