Docs/API/Curb

Curb

interfaceTypes

What createCurb returns.

signature
interface Curb { hooks; config; store; auditTopicId; policyTopicId? }

Properties

NameTypeDescription
hooksreq(AbstractPolicy | AbstractHook)[]Drop into `configuration.context.hooks`.
configreqCurbConfigThe resolved policy config.
storereqCurbStoreThe state backend in use.
auditTopicIdreqstringThe HCS audit topic.
policyTopicIdoptstringThe HCS-2 registry (undefined if versioning was skipped).
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   ·