CEP_Account.submit_certificate()

With this method you can certify your data.

Function Signature

def submit_certificate(pdata, privateKey):

Parameters

Parameter Name
Datatype

pdata

String

privateKey

String

Example

#...
pdata = 'Your data to certify'
private_key = 'your_private_key_here'

try:
    response = account.submit_certificate(pdata, private_key)
    print(response)
except Exception as e:
    print(f"Error: {e}")
#...

Expected Result

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

Last updated