Skip to content

getBcodeContracts

Function that returns object with Bcode contracts addresses

Usage

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

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

  sdk.getBcodeContracts();
};

Returns

{
  "PABLOCK_TOKEN_ADDRESS": "contract_address",
  "PABLOCK_META_TRANSACTION": "contract_address",
  "PABLOCK_NOTARIZATION": "contract_address",
  "PABLOCK_NFT": "contract_address",
  "PABLOCK_MULTISIGN_FACTORY": "contract_address"
}