# Javascript

### Overview

The **Circular Enterprise APIs** provide a powerful and efficient way to **certify data on the blockchain**, ensuring immutability, transparency, and security. These APIs facilitate **account management, network configuration, data signing, and transaction monitoring**, making it easier for enterprises to integrate blockchain-based certification into their workflows.

This library is designed for developers who need to verify, sign, and submit **data certificates** using the **Circular blockchain** while maintaining seamless integration with **Javascript applications**.

### Import

You can import the **Circular Enterprise APIs** via **npm**:

```html
<script src="https://circularlabs.io/CircularSDK/EnterpriseAPIs.js"></script>
```

### Usage Example

```javascript
const Address = 'your-wallet-address';
const PrivateKey = 'your-private-key';
const blockchain = '0x8a20baa40c45dc5055aeb26197c203e576ef389d9acb171bd62da11dc5ad72b2';
let account = new CEP_Account();

account.open(Address);
account.updateAccount();

const submitResult = account.submitCertificate("Enterprise API Test", PrivateKey);
if (submitResult.Result === 200) {
    console.log("Certificate submitted:", submitResult);
} else {
    console.log("Submission failed:", submitResult.message);
}

account.close();
```

### Useful Links

You can find more on the [official GitHub repository](https://github.com/circular-protocol/NodeJS-Enterprise-APIs) or on the [official NPM repository](https://www.npmjs.com/package/circular-enterprise-apis).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://circular-protocol.gitbook.io/circular-enterprise-apis/javascript.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
