hcs_write_record
Write tamper-evident compliance records to the Hedera blockchain for transactions, approvals, or audit events, providing record IDs and transaction proofs.
Instructions
Write a tamper-evident compliance record to the Hedera blockchain. Returns a record ID and transaction proof. If no topic_id is provided, writes to the shared HederaIntel platform topic. Costs 2 HBAR.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your HederaIntel API key | |
| record_type | Yes | Type of compliance record (e.g. transaction, approval, audit_event) | |
| entity_id | Yes | ID of the entity this record relates to | |
| data | Yes | The compliance data to record (any JSON object) | |
| topic_id | No | HCS topic ID to write the record to. Defaults to the HederaIntel platform topic. |