---
description: With this method you can certify your data.
---

# CEP\_Account.submitCertificate()

### Function Signature

```python
def submit_certificate(pdata, privateKey):
```

### Parameters

| Parameter Name | Datatype |
| -------------- | -------- |
| `pdata`        | String   |
| `privateKey`   | String   |

### Example

```java
// Create and submit a certificate
String certificateData = String.format(
    "{\"message\": \"%s\" }",
    message,
);

account.submitCertificate(certificateData, PRIVATE_KEY);
```

### Expected Result

```json
{
   "Result":200,
   "Response":{
      "TxID":"your_tx_id",
      "Timestamp":"your_timestamp_in_format_YYYY:MM:DD-HH:MM:SS_UTC"
   },
   "Node":"selected_node_address"
}
```



