Docs/API/PolicyVersion

PolicyVersion

interfaceTypes

A single on-chain policy version (returned by readPolicyVersions / currentPolicy).

signature
interface PolicyVersion extends PolicySnapshot { version; reason; ts; sequenceNumber; consensusTimestamp }

Properties

NameTypeDescription
versionreqnumber1-based version number, in consensus order.
reasonreqstringWhy the policy changed.
tsreqnumberPublisher wall-clock at publish time (ms).
sequenceNumberreqnumberHCS message sequence number.
consensusTimestampreqstringHedera consensus timestamp.
…PolicySnapshotoptPlus all PolicySnapshot fields (currency, perTask, perDay, autoUnder, approveUnder).
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   ·