Docs/API/CurbRecord

CurbRecord

interfaceTypes

One immutable line in the HCS audit trail (returned by writeRecord).

signature
interface CurbRecord { v: 1; type; agent; ts; … }

Properties

NameTypeDescription
vreq1Record schema version.
typereqRecordTypedecision | executed | approval_request | approved | rejected | config | allowlist.
agentreqstringThe agent account id.
tsreqnumberTimestamp (ms).
policyoptstringWhich policy made the decision.
methodoptstringThe tool involved.
amountoptnumberPayment amount.
currencyoptstringCurrency.
counterpartyoptstringRecipient account.
allowedoptbooleanWhether it was allowed.
reasonoptstringHuman-readable reason code.
requestIdoptstringApproval request id (if any).
txIdoptstringOn-chain transaction id (for settled payments).
VERIFIABLE SPEND-CONTROL   ·   ENFORCED ON-CHAIN   ·   AGENTS CAN PAY — NOW THEY CAN’T OVERSPEND   ·   CURB × HEDERA   ·   VERIFIABLE SPEND-CONTROL   ·   ENFORCED ON-CHAIN   ·   AGENTS CAN PAY — NOW THEY CAN’T OVERSPEND   ·   CURB × HEDERA   ·