Pre-release — The API surface may change. Unaudited.
Callcium LogoCallcium
API

Types

Core TypeScript types exported by the SDK.

Types

Hex

Hex-encoded byte string, 0x-prefixed.

Git Source

Prop

Type

Address

Ethereum address, 0x-prefixed.

Git Source

Prop

Type

Span

Byte range in a source blob.

Git Source

Prop

Type

Field

A decoded value with its byte position in the source blob.

Git Source

Prop

Type

PolicyData

Canonical structured representation of a policy.

Git Source

Prop

Type

Constraint

A collection of operators targeting a specific value.

Git Source

Prop

Type

DecodedPolicy

Structural representation of a decoded policy with full byte-level spans.

Git Source

Prop

Type

DecodedGroup

Structural representation of a decoded group with metadata spans.

Git Source

Prop

Type

DecodedRule

Structural representation of a decoded rule with per-field spans.

Git Source

Prop

Type

DecodedParam

Structural representation of a decoded parameter within the descriptor.

Git Source

Prop

Type

Issue

A single validation issue found during policy analysis.

Git Source

Prop

Type

IssueSeverity

Severity of a validation issue.

Git Source

Prop

Type

IssueCategory

Category of a validation issue.

Git Source

Prop

Type

Context

Execution context for context-scoped rules. Each property maps to a well-known EVM execution environment value. Only the properties referenced by the policy need to be supplied.

Git Source

Prop

Type

EnforceResult

Result of enforcing a policy: pass with matched group index, or fail with one violation per failed group.

Git Source

Prop

Type

Violation

Details of a single rule failure during enforcement.

Git Source

Prop

Type

ViolationCode

Machine-readable reason code for an enforcement violation.

Git Source

Prop

Type

On this page