def submit_certificate(pdata, privateKey):
#...
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}")
#...
{
"Result":200,
"Response":{
"TxID":"your_tx_id",
"Timestamp":"your_timestamp_in_format_YYYY:MM:DD-HH:MM:SS_UTC"
},
"Node":"selected_node_address"
}