CEP_Account.open()

With this method you can set the account to use for next operations.

Function Signature

public function open(string $address): bool

Parameters

Parameter Name
Datatype

$address

String

Example

use Circularprotocol\Circularenterpriseapis\CEP_Account;

$account = new CEP_Account();
$account->open('your_wallet_address');

if($account){
    echo "Account opened successfully.\n";
} else {
    echo "Error on account opening";
}

Last updated