CEP_Account.close()

With this method you can clear the variables of the class.

Function Signature

close()

Parameters

Parameter Name
Datatype

Example (CommonJS)

const { CEP_Account } = require('circular-enterprise-apis');

const Address = 'your-wallet-address';

let account = new CEP_Account();

async function run() {
    //...
    account.close();
    //...
}

run();

Example (ES Modules)

import { CEP_Account } from 'circular-enterprise-apis';

const Address = 'your-wallet-address';

let account = new CEP_Account();

async function run() {
    //...
    account.close();
    //...        
}

run();

Last updated