> For the complete documentation index, see [llms.txt](https://circular-protocol.gitbook.io/circular-protocol-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://circular-protocol.gitbook.io/circular-protocol-documentation/developer-tools/enterprise-apis/php/cep_account.setnetwork.md).

# CEP\_Account.setNetwork()

### Function Signature

```php
public function setNetwork(string $network): bool
```

### Parameters

| Parameter Name | Datatype |
| -------------- | -------- |
| `$network`     | String   |

### Example

```php
use Circularprotocol\Circularenterpriseapis\CEP_Account;

//...
$account->setNetwork("mainnet"); //Chose between mainnet, testnet and devenet
//...
```
