# Totem Edge SDK — Page Index # Generated by TotemEdgeSDKDocs/scripts/generate.mjs # Last updated: 2026-09-19T11:36:25.488Z # # Format: title | url | description Agent Policy Overview | https://docs.totem.ing/concepts/agent-policy-overview | How the QVAC → agent-policy → Totem → Minima execution model works, and why it makes the SDK AI-ready without giving up key control. WOTS Key Management | https://docs.totem.ing/concepts/wots-key-management | How the Totem SDK manages quantum-resistant one-time signing keys across addresses. Omnia Payment Channels | https://docs.totem.ing/concepts/omnia-channels | How Omnia Layer 2 eltoo channels work in the Totem SDK. Omnia VTXO — Virtual UTXO Claim Layer | https://docs.totem.ing/concepts/omnia-vtxo | How the @totemsdk/omnia-vtxo package provides cash-like off-chain balances backed by Merkle commitment trees. Relay Modes | https://docs.totem.ing/concepts/relay-modes | Choose between native Hyperswarm P2P, Axia-hosted relay, and self-hosted relay in @totemsdk/omnia-hyperswarm. Totem Connect (dApp Provider) | https://docs.totem.ing/concepts/totem-connect | How dApps connect to the Totem wallet extension using @totemsdk/connect. TESSA Pay | https://docs.totem.ing/guides/tessa-pay | Edge-native merchant POS with policy-controlled payments and auto-approve rules on Minima. Totem Personal Node | https://docs.totem.ing/guides/totem-personal-node | Always-on personal node for multi-device coordination with shared WOTS lease strategy. KISSVM Studio | https://docs.totem.ing/guides/kissvm-studio | Local developer IDE for writing and simulating KISSVM scripts with a policy safety linter. Statechain Pass | https://docs.totem.ing/guides/statechain-pass | Transferable off-chain ownership of tickets, vouchers, and access rights with policy-enforced provenance. Omnia Pocket | https://docs.totem.ing/guides/omnia-pocket | Mobile/Pear off-chain payment-channel wallet with policy guards on channel size, auto-pay limits, and settlement triggers. Channel Factory Wallet | https://docs.totem.ing/guides/channel-factory-wallet | Group N-of-N factory channels with policy-defined roles, virtual channel limits, and emergency-close rules. Omnia Router Node | https://docs.totem.ing/guides/omnia-router-node | Liquidity and payment-routing node with policy-controlled accepted routes, fee floors, and cross-token swap rules. Totem Community Node | https://docs.totem.ing/guides/totem-community-node | Finance infrastructure for cooperatives, schools, and markets with policy templates for merchant limits, relay permissions, and child-account rules. MachinePay Edge | https://docs.totem.ing/guides/machinepay-edge | Pay-per-use device gateway for Wi-Fi, solar, compute, and bandwidth with policy-enforced min price and auto-shutdown. API Reference | https://docs.totem.ing/api/index | Auto-generated API reference for all @totemsdk/* packages. index | https://docs.totem.ing/api/totemsdk-agent-policy/index | Maturity: rc** # @totemsdk/agent-policy ## Enumerations - [IntentType](enumerations/IntentType. index | https://docs.totem.ing/api/totemsdk-authority/index | Maturity: v1** # @totemsdk/authority ## Interfaces - [ActionIntent](interfaces/ActionIntent. index | https://docs.totem.ing/api/totemsdk-chain-provider/index | Maturity: rc** # @totemsdk/chain-provider ## Classes - [CompositeProvider](classes/CompositeProvider. index | https://docs.totem.ing/api/totemsdk-connect/index | Maturity: v1** # @totemsdk/connect ## Classes - [TotemConnectionError](classes/TotemConnectionError. index | https://docs.totem.ing/api/totemsdk-core/index | Maturity: v1** # @totemsdk/core ## Classes - [ConsoleLogger](classes/ConsoleLogger. @totemsdk/core-wasm | https://docs.totem.ing/api/totemsdk-core-wasm/index | WOTS+ cryptographic engine compiled from Rust to WASM index | https://docs.totem.ing/api/totemsdk-edge/index | Maturity: v1** # @totemsdk/edge ## Classes - [EdgeBuyer](classes/EdgeBuyer. index | https://docs.totem.ing/api/totemsdk-edge-adapters/index | Maturity: rc** # @totemsdk/edge-adapters ## Classes - [SQLiteCommerceStore](classes/SQLiteCommerceStore. index | https://docs.totem.ing/api/totemsdk-edge-bacnet/index | Maturity: rc** # @totemsdk/edge-bacnet ## Interfaces - [BacnetCovBinding](interfaces/BacnetCovBinding. index | https://docs.totem.ing/api/totemsdk-edge-ble/index | Maturity: rc** # @totemsdk/edge-ble ## Interfaces - [BleCharacteristic](interfaces/BleCharacteristic. index | https://docs.totem.ing/api/totemsdk-edge-can/index | Maturity: rc** # @totemsdk/edge-can ## Classes - [NativeCanTransport](classes/NativeCanTransport. index | https://docs.totem.ing/api/totemsdk-edge-coap/index | Maturity: rc** # @totemsdk/edge-coap ## Classes - [NativeCoapTransport](classes/NativeCoapTransport. index | https://docs.totem.ing/api/totemsdk-edge-grpc/index | Maturity: rc** # @totemsdk/edge-grpc ## Classes - [NativeGrpcTransport](classes/NativeGrpcTransport. index | https://docs.totem.ing/api/totemsdk-edge-lorawan/index | Maturity: rc** # @totemsdk/edge-lorawan ## Interfaces - [LorawanGateway](interfaces/LorawanGateway. index | https://docs.totem.ing/api/totemsdk-edge-matter/index | Maturity: rc** # @totemsdk/edge-matter ## Interfaces - [MatterAttribute](interfaces/MatterAttribute. index | https://docs.totem.ing/api/totemsdk-edge-modbus/index | Maturity: rc** # @totemsdk/edge-modbus ## Classes - [NativeModbusTransport](classes/NativeModbusTransport. index | https://docs.totem.ing/api/totemsdk-edge-mqtt/index | Maturity: rc** # @totemsdk/edge-mqtt ## Classes - [MqttClientUnavailableError](classes/MqttClientUnavailableError. index | https://docs.totem.ing/api/totemsdk-edge-nfc/index | Maturity: alpha** # @totemsdk/edge-nfc ## Interfaces - [NdefRecord](interfaces/NdefRecord. index | https://docs.totem.ing/api/totemsdk-edge-opcua/index | Maturity: rc** # @totemsdk/edge-opcua ## Classes - [NativeOpcuaTransport](classes/NativeOpcuaTransport. index | https://docs.totem.ing/api/totemsdk-edge-ros2/index | Maturity: rc** # @totemsdk/edge-ros2 ## Interfaces - [Ros2Client](interfaces/Ros2Client. index | https://docs.totem.ing/api/totemsdk-governance/index | Maturity: rc** # @totemsdk/governance ## Classes - [UsageStore](classes/UsageStore. index | https://docs.totem.ing/api/totemsdk-identity/index | Maturity: v1** # @totemsdk/identity ## Interfaces - [DelegationClaim](interfaces/DelegationClaim. index | https://docs.totem.ing/api/totemsdk-kissvm/index | Maturity: v1** # @totemsdk/kissvm ## Classes - [KissvmLimitError](classes/KissvmLimitError. index | https://docs.totem.ing/api/totemsdk-liquidity-bond/index | Maturity: rc** # @totemsdk/liquidity-bond ## Classes - [LiquidityAllocationError](classes/LiquidityAllocationError. index | https://docs.totem.ing/api/totemsdk-lookup-client/index | Maturity: rc** # @totemsdk/lookup-client ## Classes - [FrameParser](classes/FrameParser. index | https://docs.totem.ing/api/totemsdk-lookup-node/index | Maturity: rc** # @totemsdk/lookup-node ## Classes - [AgentRegistry](classes/AgentRegistry. index | https://docs.totem.ing/api/totemsdk-lookup-protocol/index | Maturity: rc** # @totemsdk/lookup-protocol ## Classes - [FramingError](classes/FramingError. index | https://docs.totem.ing/api/totemsdk-manifest/index | Maturity: v1** # @totemsdk/manifest ## Interfaces - [AppManifest](interfaces/AppManifest. index | https://docs.totem.ing/api/totemsdk-omnia/index | Maturity: v1** # @totemsdk/omnia ## Classes - [BalanceConservationError](classes/BalanceConservationError. index | https://docs.totem.ing/api/totemsdk-omnia-factory/index | Maturity: rc** # @totemsdk/omnia-factory ## Interfaces - [ChannelFactory](interfaces/ChannelFactory. index | https://docs.totem.ing/api/totemsdk-omnia-router/index | Maturity: rc** # @totemsdk/omnia-router ## Interfaces - [ChannelGraph](interfaces/ChannelGraph. index | https://docs.totem.ing/api/totemsdk-omnia-splice/index | Maturity: rc** # @totemsdk/omnia-splice ## Classes - [PendingHTLCError](classes/PendingHTLCError. index | https://docs.totem.ing/api/totemsdk-omnia-vtxo/index | Maturity: rc** # @totemsdk/omnia-vtxo ## Classes - [MemoryOmniaVtxoStore](classes/MemoryOmniaVtxoStore. index | https://docs.totem.ing/api/totemsdk-pear/index | Maturity: rc** # @totemsdk/pear ## Classes - [BareFileStore](classes/BareFileStore. index | https://docs.totem.ing/api/totemsdk-proof/index | Maturity: v1** # @totemsdk/proof ## Interfaces - [AnchorRef](interfaces/AnchorRef. index | https://docs.totem.ing/api/totemsdk-proof-integritas/index | Maturity: v1** # @totemsdk/proof-integritas ## Interfaces - [IntegritasCheckResponse](interfaces/IntegritasCheckResponse. index | https://docs.totem.ing/api/totemsdk-proofgraph/index | Maturity: v1** # @totemsdk/proofgraph ## Interfaces - [AnchorInput](interfaces/AnchorInput. index | https://docs.totem.ing/api/totemsdk-provider-bond/index | Maturity: rc** # @totemsdk/provider-bond ## Classes - [BondProofError](classes/BondProofError. index | https://docs.totem.ing/api/totemsdk-pubsub-transport/index | Maturity: rc** # @totemsdk/pubsub-transport ## Classes - [EventEmitterTransport](classes/EventEmitterTransport. index | https://docs.totem.ing/api/totemsdk-minima-rpc/index | Maturity: rc** # @totemsdk/minima-rpc ## Classes - [MinimaRpcError](classes/MinimaRpcError. index | https://docs.totem.ing/api/totemsdk-realtime/index | Maturity: rc** # @totemsdk/realtime ## Classes - [LookupBackend](classes/LookupBackend. index | https://docs.totem.ing/api/totemsdk-recursive-mast/index | Maturity: rc** # @totemsdk/recursive-mast ## Classes - [HttpPolicyStore](classes/HttpPolicyStore. index | https://docs.totem.ing/api/totemsdk-root-identity/index | Maturity: v1** # @totemsdk/root-identity ## Classes - [UnifiedIdentityWallet](classes/UnifiedIdentityWallet. index | https://docs.totem.ing/api/totemsdk-se-server/index | Maturity: rc** # @totemsdk/se-server ## Interfaces - [SeServer](interfaces/SeServer. index | https://docs.totem.ing/api/totemsdk-server/index | Maturity: v1** # @totemsdk/server ## Classes - [ConsoleLogger](classes/ConsoleLogger. index | https://docs.totem.ing/api/totemsdk-statechain/index | Maturity: rc** # @totemsdk/statechain ## Classes - [HttpSEClient](classes/HttpSEClient. index | https://docs.totem.ing/api/totemsdk-stream-transport/index | Maturity: rc** # @totemsdk/stream-transport ## Classes - [ClosedTransportError](classes/ClosedTransportError. index | https://docs.totem.ing/api/totemsdk-tx-builder/index | Maturity: rc** # @totemsdk/tx-builder ## Classes - [CoinSelectionError](classes/CoinSelectionError. index | https://docs.totem.ing/api/totemsdk-txpow/index | Maturity: v1** # @totemsdk/txpow ## Interfaces - [MachineWorkAction](interfaces/MachineWorkAction. index | https://docs.totem.ing/api/totemsdk-wallet-adapter/index | Maturity: v1** # @totemsdk/wallet-adapter ## Classes - [TotemAdapterError](classes/TotemAdapterError. index | https://docs.totem.ing/api/totemsdk-wots-lease/index | Maturity: v1** # @totemsdk/wots-lease ## Classes - [AxiaLeaseProvider](classes/AxiaLeaseProvider. index | https://docs.totem.ing/api/totemsdk-edge-email/index | Maturity: rc** # @totemsdk/edge-email ## Interfaces - [EmailAttachment](interfaces/EmailAttachment. index | https://docs.totem.ing/api/totemsdk-industrial-action/index | Maturity: rc** # @totemsdk/industrial-action ## Classes - [ActionCommitmentError](classes/ActionCommitmentError. index | https://docs.totem.ing/api/totemsdk-mcp-server/index | Maturity: rc** # @totemsdk/mcp-server ## Variables - [sdkIndex](variables/sdkIndex. index | https://docs.totem.ing/api/totemsdk-omnia-host/index | Maturity: rc** # @totemsdk/omnia-host ## Classes - [DisabledAnalyticsStore](classes/DisabledAnalyticsStore. index | https://docs.totem.ing/api/totemsdk-location-proof/index | Maturity: v1** # @totemsdk/location-proof ## Interfaces - [CreateLocationProofParams](interfaces/CreateLocationProofParams. index | https://docs.totem.ing/api/totemsdk-spatial-proof/index | Maturity: v1** # @totemsdk/spatial-proof ## Interfaces - [BoundingBox](interfaces/BoundingBox. index | https://docs.totem.ing/api/totemsdk-raster-proof/index | Maturity: v1** # @totemsdk/raster-proof ## Interfaces - [CreateDerivedRasterManifestParams](interfaces/CreateDerivedRasterManifestParams. index | https://docs.totem.ing/api/totemsdk-omnia-pool/index | Maturity: rc** # @totemsdk/omnia-pool ## Interfaces - [AutonomousRebalanceOptions](interfaces/AutonomousRebalanceOptions. index | https://docs.totem.ing/api/totemsdk-intelligence/index | Maturity: beta** # @totemsdk/intelligence ## Classes - [IntelligenceError](classes/IntelligenceError. index | https://docs.totem.ing/api/totemsdk-qvac/index | Maturity: beta** # @totemsdk/qvac ## Interfaces - [AssessModelFitInput](interfaces/AssessModelFitInput. index | https://docs.totem.ing/api/totemsdk-storage/index | Maturity: alpha** # @totemsdk/storage ## Classes - [ArtifactStore](classes/ArtifactStore. @totemsdk/observability | https://docs.totem.ing/api/totem-observability/index | Drop-in observability for Totem-based dApps — trace propagation and batched telemetry index | https://docs.totem.ing/api/totem-extension-keyring/index | Totem Extension — Keyring API Public surface of the Totem wallet keyring exposed to dApp integrations and SDK consumers. computeManifestBlobHash | https://docs.totem.ing/api/totem-extension-keyring/functions/computeManifestBlobHash | ManifestBlobHash # Function: computeManifestBlobHash() > **computeManifestBlobHash**(`digestTx`, `inputs`): `string` ## Parameters ### digestTx `string` ### inputs [`SignDataManifestInput`](. normalizeAddrToHex | https://docs.totem.ing/api/totem-extension-keyring/functions/normalizeAddrToHex | normalizeAddrToHex SignDataManifest | https://docs.totem.ing/api/totem-extension-keyring/type-aliases/SignDataManifest | SignDataManifest # Type Alias: SignDataManifest > **SignDataManifest** = `object` ## Properties ### blobHash > **blobHash**: `string` *** ### digestTx > **digestTx**: `string` *** ### inputs > **inputs**: [`SignDataManifestInput`](SignDataManifestInput. SignDataManifestInput | https://docs.totem.ing/api/totem-extension-keyring/type-aliases/SignDataManifestInput | SignDataManifestInput SignDataValidationError | https://docs.totem.ing/api/totem-extension-keyring/type-aliases/SignDataValidationError | SignDataValidationError SignDataValidationOk | https://docs.totem.ing/api/totem-extension-keyring/type-aliases/SignDataValidationOk | SignDataValidationOk # Type Alias: SignDataValidationOk > **SignDataValidationOk** = `object` ## Properties ### digestHex > **digestHex**: `string` *** ### manifestInputs > **manifestInputs**: [`SignDataManifestInput`](SignDataManifestInput. SignDataValidationResult | https://docs.totem.ing/api/totem-extension-keyring/type-aliases/SignDataValidationResult | SignDataValidationResult # Type Alias: SignDataValidationResult > **SignDataValidationResult** = \{ `ok`: `false`; `result`: [`SignDataValidationError`](SignDataValidationError. AmountCapPolicy | https://docs.totem.ing/api/totemsdk-agent-policy/classes/AmountCapPolicy | AmountCapPolicy # Class: AmountCapPolicy A single composable middleware layer in the policy evaluation pipeline. AuthorityPolicy | https://docs.totem.ing/api/totemsdk-agent-policy/classes/AuthorityPolicy | AuthorityPolicy # Class: AuthorityPolicy AuthorityPolicy — bridges PolicyMiddleware evaluation with mandate-based authority verification. ComposablePolicy | https://docs.totem.ing/api/totemsdk-agent-policy/classes/ComposablePolicy | ComposablePolicy # Class: ComposablePolicy ComposablePolicy chains multiple PolicyMiddleware layers into a single evaluation pipeline. GrantBoundAutonomyPolicy | https://docs.totem.ing/api/totemsdk-agent-policy/classes/GrantBoundAutonomyPolicy | GrantBoundAutonomyPolicy # Class: GrantBoundAutonomyPolicy ## Constructors ### Constructor > **new GrantBoundAutonomyPolicy**(`options`): `GrantBoundAutonomyPolicy` #### Parameters ##### options [`GrantBoundAutonomyOptions`](. GrantBoundPolicy | https://docs.totem.ing/api/totemsdk-agent-policy/classes/GrantBoundPolicy | GrantBoundPolicy # Class: GrantBoundPolicy ## Constructors ### Constructor > **new GrantBoundPolicy**(`options`): `GrantBoundPolicy` #### Parameters ##### options [`GrantBoundPolicyOptions`](. MemoryGrantUsageStore | https://docs.totem.ing/api/totemsdk-agent-policy/classes/MemoryGrantUsageStore | MemoryGrantUsageStore # Class: MemoryGrantUsageStore In-memory `GrantUsageStore`. MemoryReceiptStore | https://docs.totem.ing/api/totemsdk-agent-policy/classes/MemoryReceiptStore | MemoryReceiptStore # Class: MemoryReceiptStore In-memory receipt store with optional JSON-file persistence. MemoryRunStateStore | https://docs.totem.ing/api/totemsdk-agent-policy/classes/MemoryRunStateStore | MemoryRunStateStore # Class: MemoryRunStateStore ## Implements - [`RunStateStore`](. RateLimitPolicy | https://docs.totem.ing/api/totemsdk-agent-policy/classes/RateLimitPolicy | RateLimitPolicy # Class: RateLimitPolicy A single composable middleware layer in the policy evaluation pipeline. RecipientAllowlistPolicy | https://docs.totem.ing/api/totemsdk-agent-policy/classes/RecipientAllowlistPolicy | RecipientAllowlistPolicy # Class: RecipientAllowlistPolicy RecipientAllowlistPolicy — only allows proposals whose recipient address appears in a predefined allowlist. RiskThresholdPolicy | https://docs.totem.ing/api/totemsdk-agent-policy/classes/RiskThresholdPolicy | RiskThresholdPolicy # Class: RiskThresholdPolicy A single composable middleware layer in the policy evaluation pipeline. SqliteRunStateStore | https://docs.totem.ing/api/totemsdk-agent-policy/classes/SqliteRunStateStore | SqliteRunStateStore # Class: SqliteRunStateStore ## Implements - [`RunStateStore`](. TimeWindowPolicy | https://docs.totem.ing/api/totemsdk-agent-policy/classes/TimeWindowPolicy | TimeWindowPolicy # Class: TimeWindowPolicy TimeWindowPolicy — only approves proposals during a configurable daily time window (e. IntentType | https://docs.totem.ing/api/totemsdk-agent-policy/enumerations/IntentType | IntentType # Enumeration: IntentType ## Generated from protobuf enum totem. ReceiptStatus | https://docs.totem.ing/api/totemsdk-agent-policy/enumerations/ReceiptStatus | ReceiptStatus # Enumeration: ReceiptStatus ## Generated from protobuf enum totem. RiskLevel | https://docs.totem.ing/api/totemsdk-agent-policy/enumerations/RiskLevel | RiskLevel # Enumeration: RiskLevel ## Generated from protobuf enum totem. accumulateAmount | https://docs.totem.ing/api/totemsdk-agent-policy/functions/accumulateAmount | accumulateAmount canonicalAgentActionDigest | https://docs.totem.ing/api/totemsdk-agent-policy/functions/canonicalAgentActionDigest | AgentActionDigest # Function: canonicalAgentActionDigest() > **canonicalAgentActionDigest**(`action`): `string` Canonical digest of a prepared operation's SECURITY FACTS: the action, the verified effects (spends/fees/channels/state), and the run+step binding. checkObligations | https://docs.totem.ing/api/totemsdk-agent-policy/functions/checkObligations | Obligations # Function: checkObligations() > **checkObligations**(`obligations`, `action`, `evidence`, `now`): `object` Validate obligations for a step (quoting freshness, simulation, execution, postconditions). checkRunLimits | https://docs.totem.ing/api/totemsdk-agent-policy/functions/checkRunLimits | RunLimits # Function: checkRunLimits() > **checkRunLimits**(`profile`, `action`, `state`): [`BoundaryFailure`](. checkTransition | https://docs.totem.ing/api/totemsdk-agent-policy/functions/checkTransition | Transition # Function: checkTransition() > **checkTransition**(`profile`, `fromAction`, `toAction`): `boolean` Validate a step transition against the profile's allowed DAG. createAutonomyPolicy | https://docs.totem.ing/api/totemsdk-agent-policy/functions/createAutonomyPolicy | AutonomyPolicy # Function: createAutonomyPolicy() > **createAutonomyPolicy**(`config`): [`AutonomyPolicy`](. defaultActionExtractor | https://docs.totem.ing/api/totemsdk-agent-policy/functions/defaultActionExtractor | ActionExtractor # Function: defaultActionExtractor() > **defaultActionExtractor**(`proposal`): [`AuthorityActionIntent`](. evaluateGrantRequirement | https://docs.totem.ing/api/totemsdk-agent-policy/functions/evaluateGrantRequirement | GrantRequirement # Function: evaluateGrantRequirement() > **evaluateGrantRequirement**(`requirement`, `authorizedGrantIds`): `boolean` Evaluate a grant requirement (allOf / anyOf) against the set of grant ids that authorized. intentAction | https://docs.totem.ing/api/totemsdk-agent-policy/functions/intentAction | Action # Function: intentAction() > **intentAction**(`type`): `string` Map an intent type to its real action namespace. isStartEligible | https://docs.totem.ing/api/totemsdk-agent-policy/functions/isStartEligible | StartEligible # Function: isStartEligible() > **isStartEligible**(`profile`, `action`): `boolean` First-step eligibility: a rule whose `from` is 'start' lists starting actions. reduceToCanonicalAction | https://docs.totem.ing/api/totemsdk-agent-policy/functions/reduceToCanonicalAction | ToCanonicalAction # Function: reduceToCanonicalAction() > **reduceToCanonicalAction**(`runId`, `principal`, `agentId`, `step`, `evidence`): [`CanonicalAgentAction`](. resolveStepField | https://docs.totem.ing/api/totemsdk-agent-policy/functions/resolveStepField | StepField # Function: resolveStepField() > **resolveStepField**(`step`, `field`): `unknown` Resolve a trusted step field for mandate matching. summarizeStepSpend | https://docs.totem.ing/api/totemsdk-agent-policy/functions/summarizeStepSpend | StepSpend # Function: summarizeStepSpend() > **summarizeStepSpend**(`effects`): `Record`\<`string`, `string`\> Compose a run-level spend ceiling from the prepared operations actually authorized/committed — used for the run receipt graph totals. AgentIdentity | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/AgentIdentity | AgentIdentity # Interface: AgentIdentity Minimal agent identity for lookup-node registration and capability advertisement. AgentPolicy | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/AgentPolicy | AgentPolicy # Interface: AgentPolicy Policy evaluated by the Totem wallet layer — NEVER by the agent. AgentPolicyConfig | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/AgentPolicyConfig | AgentPolicyConfig # Interface: AgentPolicyConfig ## Generated from protobuf message totem. AgentProposal | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/AgentProposal | AgentProposal # Interface: AgentProposal A concrete proposal from an agent, wrapping a PaymentIntent. AgentReceipt | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/AgentReceipt | AgentReceipt # Interface: AgentReceipt Result returned to the agent after Totem has processed the intent. AgentStep | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/AgentStep | AgentStep # Interface: AgentStep ## Properties ### action > **action**: [`RunActionIntent`](RunActionIntent. AmountCapConfig | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/AmountCapConfig | AmountCapConfig # Interface: AmountCapConfig AmountCapPolicy — caps the total amount of MIN or tokens an agent can spend per transaction and/or per day. AuthorityActionIntent | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/AuthorityActionIntent | AuthorityActionIntent # Interface: AuthorityActionIntent Action intent extracted from an AgentProposal for authority evaluation. AuthorityDecisionResult | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/AuthorityDecisionResult | AuthorityDecisionResult # Interface: AuthorityDecisionResult Full authority evaluation result — the complete `AuthorityDecision` plus the usage delta it implies. AuthorityEvaluator | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/AuthorityEvaluator | AuthorityEvaluator # Interface: AuthorityEvaluator Authority evaluation interface — the caller injects their authority engine (e. AuthorityPolicyOptions | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/AuthorityPolicyOptions | AuthorityPolicyOptions # Interface: AuthorityPolicyOptions ## Properties ### now? AuthorizeAndReserveParams | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/AuthorizeAndReserveParams | AuthorizeAndReserveParams # Interface: AuthorizeAndReserveParams ## Properties ### action > **action**: [`CanonicalAgentAction`](CanonicalAgentAction. AuthorizeStepResult | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/AuthorizeStepResult | AuthorizeStepResult # Interface: AuthorizeStepResult ## Properties ### allowed > **allowed**: `boolean` *** ### decision? AutonomousRun | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/AutonomousRun | AutonomousRun # Interface: AutonomousRun ## Properties ### agentId > **agentId**: `string` *** ### grantProofIds > **grantProofIds**: `string`[] Signed mandate proof ids this run may draw from. AutonomyPolicy | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/AutonomyPolicy | AutonomyPolicy # Interface: AutonomyPolicy ## Properties ### profiles > **profiles**: `Record`\<`string`, [`AutonomyProfile`](AutonomyProfile. AutonomyProfile | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/AutonomyProfile | AutonomyProfile # Interface: AutonomyProfile ## Properties ### boundaryFailure? BoundaryEscalation | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/BoundaryEscalation | BoundaryEscalation # Interface: BoundaryEscalation A boundary escalation that asks for a narrow, expiring, run-bound grant. BoundaryFailure | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/BoundaryFailure | BoundaryFailure # Interface: BoundaryFailure Structured boundary failure — never a bare boolean. CanonicalAgentAction | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/CanonicalAgentAction | CanonicalAgentAction # Interface: CanonicalAgentAction Canonical action produced by the wallet from a prepared operation. ChannelEffect | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/ChannelEffect | ChannelEffect CommitParams | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/CommitParams | CommitParams # Interface: CommitParams ## Properties ### effects? GrantBoundAutonomyOptions | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/GrantBoundAutonomyOptions | GrantBoundAutonomyOptions # Interface: GrantBoundAutonomyOptions ## Properties ### autonomyProfiles > **autonomyProfiles**: `Record`\<`string`, [`AutonomyProfile`](AutonomyProfile. GrantBoundPolicyOptions | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/GrantBoundPolicyOptions | GrantBoundPolicyOptions # Interface: GrantBoundPolicyOptions ## Properties ### identityResolver > **identityResolver**: `AuthorityIdentityResolver` *** ### localBounds? GrantRequirement | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/GrantRequirement | GrantRequirement # Interface: GrantRequirement ## Properties ### allOf? GrantUsageStore | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/GrantUsageStore | GrantUsageStore # Interface: GrantUsageStore ## Methods ### abort() > **abort**(`reservationId`, `reason`): `Promise`\<`void`\> Abort a reservation after execution fails or is cancelled. LocalBounds | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/LocalBounds | LocalBounds # Interface: LocalBounds ## Properties ### maxFailures? MemoryGrantUsageStoreOptions | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/MemoryGrantUsageStoreOptions | MemoryGrantUsageStoreOptions # Interface: MemoryGrantUsageStoreOptions ## Properties ### now? OpenRunParams | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/OpenRunParams | OpenRunParams # Interface: OpenRunParams ## Properties ### agentId > **agentId**: `string` *** ### deadlineAt? PaymentIntent | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/PaymentIntent | PaymentIntent # Interface: PaymentIntent The action an agent wants the wallet to take. PolicyEvalResult | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/PolicyEvalResult | PolicyEvalResult # Interface: PolicyEvalResult Result of evaluating a proposal against a single policy middleware layer. PolicyMiddleware | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/PolicyMiddleware | PolicyMiddleware # Interface: PolicyMiddleware A single composable middleware layer in the policy evaluation pipeline. PreparedRebalanceOperation | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/PreparedRebalanceOperation | PreparedRebalanceOperation # Interface: PreparedRebalanceOperation ## Properties ### channelOps > **channelOps**: `object`[] The channel operation the rebalance performs. PreparedStep | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/PreparedStep | PreparedStep # Interface: PreparedStep ## Properties ### action > **action**: `string` *** ### nonce > **nonce**: `string` *** ### operation > **operation**: [`PreparedRebalanceOperation`](PreparedRebalanceOperation. ProtoAgentIdentity | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/ProtoAgentIdentity | ProtoAgentIdentity # Interface: ProtoAgentIdentity ## Generated from protobuf message totem. ProtoAgentProposal | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/ProtoAgentProposal | ProtoAgentProposal # Interface: ProtoAgentProposal ## Generated from protobuf message totem. ProtoAgentReceipt | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/ProtoAgentReceipt | ProtoAgentReceipt # Interface: ProtoAgentReceipt ## Generated from protobuf message totem. ProtoPaymentIntent | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/ProtoPaymentIntent | ProtoPaymentIntent # Interface: ProtoPaymentIntent ## Generated from protobuf message totem. ReceiptStore | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/ReceiptStore | ReceiptStore # Interface: ReceiptStore ReceiptStore — persists AgentReceipt objects for audit trail. RunActionIntent | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/RunActionIntent | RunActionIntent # Interface: RunActionIntent ## Extended by - [`CanonicalAgentAction`](CanonicalAgentAction. RunAuthorization | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/RunAuthorization | RunAuthorization # Interface: RunAuthorization ## Properties ### actionDigest > **actionDigest**: `string` *** ### decisionIds > **decisionIds**: `string`[] *** ### expiresAt > **expiresAt**: `number` *** ### mandateIds > **mandateIds**: `string`[] *** ### outcome > **outcome**: `"approved"` *** ### reservationId > **reservationId**: `string` *** ### reservedAt > **reservedAt**: `number` *** ### usageDeltas > **usageDeltas**: `object`[] #### delta > **delta**: `object` ##### delta. RunAuthorizationRejected | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/RunAuthorizationRejected | RunAuthorizationRejected # Interface: RunAuthorizationRejected ## Properties ### boundaryError? RunLimits | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/RunLimits | RunLimits # Interface: RunLimits ## Properties ### maxDurationMs? RunObligations | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/RunObligations | RunObligations # Interface: RunObligations ## Properties ### quoteMaxAgeMs? RunReceiptGraph | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/RunReceiptGraph | RunReceiptGraph # Interface: RunReceiptGraph ## Properties ### agentId > **agentId**: `string` *** ### principal > **principal**: `string` *** ### profileId > **profileId**: `string` *** ### runId > **runId**: `string` *** ### startedAt > **startedAt**: `number` *** ### stepReceipts > **stepReceipts**: [`RunStepReceipt`](RunStepReceipt. RunReservation | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/RunReservation | RunReservation # Interface: RunReservation ## Properties ### abortReason? RunSessionTotals | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/RunSessionTotals | RunSessionTotals RunStateSnapshot | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/RunStateSnapshot | RunStateSnapshot # Interface: RunStateSnapshot ## Properties ### agentId > **agentId**: `string` *** ### deadlineAt? RunStateStore | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/RunStateStore | RunStateStore # Interface: RunStateStore ## Methods ### abortStep() > **abortStep**(`reservationId`, `reason`): `Promise`\<`void`\> #### Parameters ##### reservationId `string` ##### reason `string` #### Returns `Promise`\<`void`\> *** ### checkNonce() > **checkNonce**(`runId`, `nonce`): `Promise`\<`boolean`\> #### Parameters ##### runId `string` ##### nonce `string` #### Returns `Promise`\<`boolean`\> *** ### commitStep() > **commitStep**(`reservationId`, `receipt`): `Promise`\<`void`\> #### Parameters ##### reservationId `string` ##### receipt [`RunStepReceipt`](RunStepReceipt. RunStepReceipt | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/RunStepReceipt | RunStepReceipt # Interface: RunStepReceipt ## Properties ### actionDigest > **actionDigest**: `string` *** ### committedAt > **committedAt**: `number` *** ### decisionIds > **decisionIds**: `string`[] Authority decision ids that authorized this step. SqliteRunStateStoreOptions | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/SqliteRunStateStoreOptions | SqliteRunStateStoreOptions # Interface: SqliteRunStateStoreOptions ## Properties ### now? StepAuthorization | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/StepAuthorization | StepAuthorization # Interface: StepAuthorization ## Properties ### actionDigest > **actionDigest**: `string` *** ### decision > **decision**: `AuthorityDecision` *** ### expiresAt > **expiresAt**: `number` *** ### mandateId > **mandateId**: `string` *** ### reservationId > **reservationId**: `string` *** ### reservedAt > **reservedAt**: `number` *** ### runId > **runId**: `string` *** ### stepId > **stepId**: `string` *** ### usageDelta > **usageDelta**: `object` #### amount? StepAuthorizationInput | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/StepAuthorizationInput | StepAuthorizationInput # Interface: StepAuthorizationInput ## Properties ### grantProofIds? StepEffect | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/StepEffect | StepEffect # Interface: StepEffect The security facts of an operation — derived from a PREPARED transaction or simulation, never from agent-supplied hints. StepEffects | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/StepEffects | StepEffects # Interface: StepEffects ## Properties ### channels? StepReceipt | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/StepReceipt | StepReceipt # Interface: StepReceipt ## Properties ### actionDigest > **actionDigest**: `string` *** ### committedAt > **committedAt**: `number` *** ### executionProof? StepTransitionRule | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/StepTransitionRule | StepTransitionRule # Interface: StepTransitionRule ## Properties ### from > **from**: `string` A step's action string. SuggestedGrantAmendment | https://docs.totem.ing/api/totemsdk-agent-policy/interfaces/SuggestedGrantAmendment | SuggestedGrantAmendment # Interface: SuggestedGrantAmendment ## Properties ### bindToRunId > **bindToRunId**: `string` *** ### expiresInMs > **expiresInMs**: `number` *** ### maxCount? AgentPolicyConfig | https://docs.totem.ing/api/totemsdk-agent-policy/type-aliases/AgentPolicyConfig | AgentPolicyConfig # Type Alias: AgentPolicyConfig > **AgentPolicyConfig** = `AgentPolicyConfig$Type` ## Generated MessageType for protobuf message totem. AutonomyMode | https://docs.totem.ing/api/totemsdk-agent-policy/type-aliases/AutonomyMode | AutonomyMode # Type Alias: AutonomyMode > **AutonomyMode** = `"dynamic"` \| `"declared_plan"` \| `"locked_plan"` \| `"single_step"` Autonomy profile modes: - `dynamic`: any step allowed by remaining grant authority. InferenceDomain | https://docs.totem.ing/api/totemsdk-agent-policy/type-aliases/InferenceDomain | InferenceDomain # Type Alias: InferenceDomain > **InferenceDomain** = `"llm"` \| `"embed"` \| `"rag"` \| `"asr"` \| `"translate"` \| `"tts"` \| `"diffusion"` \| `"ocr"` \| `"classify"` \| `"audiogen"` \| `"video"` \| `"vla"` \| `"world"` Domains eligible for inference intents — mirrors the provider-neutral capability set shipped by @totemsdk/intelligence. InferenceReceiptLike | https://docs.totem.ing/api/totemsdk-agent-policy/type-aliases/InferenceReceiptLike | InferenceReceiptLike # Type Alias: InferenceReceiptLike > **InferenceReceiptLike** = `IntelligenceReceipt` Structural receipt produced by an IntelligenceProvider / EdgeIntelligencePort attestation path, with no hard compile-time dependency on @totemsdk/intelligence at the consumer boundary. ProtoAgentIdentity | https://docs.totem.ing/api/totemsdk-agent-policy/type-aliases/ProtoAgentIdentity | ProtoAgentIdentity # Type Alias: ProtoAgentIdentity > **ProtoAgentIdentity** = `AgentIdentity$Type` ## Generated MessageType for protobuf message totem. ProtoAgentProposal | https://docs.totem.ing/api/totemsdk-agent-policy/type-aliases/ProtoAgentProposal | ProtoAgentProposal # Type Alias: ProtoAgentProposal > **ProtoAgentProposal** = `AgentProposal$Type` ## Generated MessageType for protobuf message totem. ProtoAgentReceipt | https://docs.totem.ing/api/totemsdk-agent-policy/type-aliases/ProtoAgentReceipt | ProtoAgentReceipt # Type Alias: ProtoAgentReceipt > **ProtoAgentReceipt** = `AgentReceipt$Type` ## Generated MessageType for protobuf message totem. ProtoPaymentIntent | https://docs.totem.ing/api/totemsdk-agent-policy/type-aliases/ProtoPaymentIntent | ProtoPaymentIntent # Type Alias: ProtoPaymentIntent > **ProtoPaymentIntent** = `PaymentIntent$Type` ## Generated MessageType for protobuf message totem. RunMode | https://docs.totem.ing/api/totemsdk-agent-policy/type-aliases/RunMode | RunMode calculateUsageDelta | https://docs.totem.ing/api/totemsdk-authority/functions/calculateUsageDelta | UsageDelta # Function: calculateUsageDelta() > **calculateUsageDelta**(`action`): `object` ## Parameters ### action [`ActionIntent`](. checkUsageLimit | https://docs.totem.ing/api/totemsdk-authority/functions/checkUsageLimit | UsageLimit # Function: checkUsageLimit() > **checkUsageLimit**(`snapshot`, `limit`, `now`, `proposed? computeActionIntentId | https://docs.totem.ing/api/totemsdk-authority/functions/computeActionIntentId | ActionIntentId # Function: computeActionIntentId() > **computeActionIntentId**(`intent`): `string` ## Parameters ### intent [`ActionIntent`](. computeAuthorityDecisionId | https://docs.totem.ing/api/totemsdk-authority/functions/computeAuthorityDecisionId | AuthorityDecisionId # Function: computeAuthorityDecisionId() > **computeAuthorityDecisionId**(`decision`): `string` ## Parameters ### decision #### evaluatedAt `number` #### evidenceIds readonly `string`[] #### failedRules readonly `string`[] #### finalStatus `string` #### intentId `string` #### mandateId `string` #### mandateVerification \{ `valid`: `boolean`; \} #### mandateVerification. computeMandateId | https://docs.totem.ing/api/totemsdk-authority/functions/computeMandateId | MandateId # Function: computeMandateId() > **computeMandateId**(`mandate`): `string` ## Parameters ### mandate [`MandateBody`](. computeUsageRoot | https://docs.totem.ing/api/totemsdk-authority/functions/computeUsageRoot | UsageRoot # Function: computeUsageRoot() > **computeUsageRoot**(`receipts`): `string` ## Parameters ### receipts [`AuthorityUsage`](. computeUsageSnapshotHash | https://docs.totem.ing/api/totemsdk-authority/functions/computeUsageSnapshotHash | UsageSnapshotHash # Function: computeUsageSnapshotHash() > **computeUsageSnapshotHash**(`snapshot`): `string` ## Parameters ### snapshot [`AuthorityUsageSnapshot`](. createAgentMandate | https://docs.totem.ing/api/totemsdk-authority/functions/createAgentMandate | AgentMandate # Function: createAgentMandate() > **createAgentMandate**(`params`): [`MandateBody`](. createMandateProofDraft | https://docs.totem.ing/api/totemsdk-authority/functions/createMandateProofDraft | MandateProofDraft # Function: createMandateProofDraft() > **createMandateProofDraft**(`mandate`): `UnsignedProof` ## Parameters ### mandate [`MandateBody`](. evaluateAuthority | https://docs.totem.ing/api/totemsdk-authority/functions/evaluateAuthority | Authority # Function: evaluateAuthority() > **evaluateAuthority**(`params`): [`EvaluateAuthorityResult`](. matchConstraints | https://docs.totem.ing/api/totemsdk-authority/functions/matchConstraints | Constraints # Function: matchConstraints() > **matchConstraints**(`action`, `constraints`): `boolean` ## Parameters ### action [`ActionIntent`](. matchScope | https://docs.totem.ing/api/totemsdk-authority/functions/matchScope | matchScope resolveActionField | https://docs.totem.ing/api/totemsdk-authority/functions/resolveActionField | ActionField # Function: resolveActionField() > **resolveActionField**(`action`, `field`): `unknown` Resolve a constraint field against an action intent. signMandateWithLease | https://docs.totem.ing/api/totemsdk-authority/functions/signMandateWithLease | MandateWithLease # Function: signMandateWithLease() > **signMandateWithLease**(`unsignedMandate`, `seed`, `leaseProvider`, `options? snapshotFromUsage | https://docs.totem.ing/api/totemsdk-authority/functions/snapshotFromUsage | FromUsage # Function: snapshotFromUsage() > **snapshotFromUsage**(`usages`, `now`, `limit? verifyMandate | https://docs.totem.ing/api/totemsdk-authority/functions/verifyMandate | Mandate # Function: verifyMandate() > **verifyMandate**(`mandate`, `identityResolver`, `now`, `graceMs? ActionIntent | https://docs.totem.ing/api/totemsdk-authority/interfaces/ActionIntent | ActionIntent # Interface: ActionIntent ## Properties ### action > **action**: `string` *** ### agent > **agent**: `string` *** ### constraints? AuthorityDecision | https://docs.totem.ing/api/totemsdk-authority/interfaces/AuthorityDecision | AuthorityDecision # Interface: AuthorityDecision ## Properties ### allowed > **allowed**: `boolean` *** ### decisionId > **decisionId**: `string` *** ### evaluatedAt > **evaluatedAt**: `number` *** ### evidenceIds > **evidenceIds**: readonly `string`[] *** ### failedRules > **failedRules**: `string`[] *** ### intentId > **intentId**: `string` *** ### mandateId > **mandateId**: `string` *** ### mandateVerification > **mandateVerification**: [`MandateVerificationResult`](MandateVerificationResult. AuthorityIdentityResolver | https://docs.totem.ing/api/totemsdk-authority/interfaces/AuthorityIdentityResolver | AuthorityIdentityResolver AuthorityUsage | https://docs.totem.ing/api/totemsdk-authority/interfaces/AuthorityUsage | AuthorityUsage # Interface: AuthorityUsage ## Properties ### countsToward? AuthorityUsageSnapshot | https://docs.totem.ing/api/totemsdk-authority/interfaces/AuthorityUsageSnapshot | AuthorityUsageSnapshot # Interface: AuthorityUsageSnapshot ## Properties ### mandateProofId > **mandateProofId**: `string` *** ### totalAmount? CreateAgentMandateParams | https://docs.totem.ing/api/totemsdk-authority/interfaces/CreateAgentMandateParams | CreateAgentMandateParams # Interface: CreateAgentMandateParams ## Properties ### constraints? EvaluateAuthorityParams | https://docs.totem.ing/api/totemsdk-authority/interfaces/EvaluateAuthorityParams | EvaluateAuthorityParams # Interface: EvaluateAuthorityParams ## Properties ### action > **action**: [`ActionIntent`](ActionIntent. EvaluateAuthorityResult | https://docs.totem.ing/api/totemsdk-authority/interfaces/EvaluateAuthorityResult | EvaluateAuthorityResult # Interface: EvaluateAuthorityResult ## Properties ### decision > **decision**: [`AuthorityDecision`](AuthorityDecision. MandateBody | https://docs.totem.ing/api/totemsdk-authority/interfaces/MandateBody | MandateBody # Interface: MandateBody ## Properties ### constraints? MandateConstraint | https://docs.totem.ing/api/totemsdk-authority/interfaces/MandateConstraint | MandateConstraint MandateStatusSnapshot | https://docs.totem.ing/api/totemsdk-authority/interfaces/MandateStatusSnapshot | MandateStatusSnapshot # Interface: MandateStatusSnapshot ## Properties ### checkedAt > **checkedAt**: `number` *** ### currentEpoch? MandateVerificationResult | https://docs.totem.ing/api/totemsdk-authority/interfaces/MandateVerificationResult | MandateVerificationResult # Interface: MandateVerificationResult ## Properties ### expired > **expired**: `boolean` *** ### granteeAddress? UsageLimit | https://docs.totem.ing/api/totemsdk-authority/interfaces/UsageLimit | UsageLimit # Interface: UsageLimit ## Properties ### maxCount? CompositeProvider | https://docs.totem.ing/api/totemsdk-chain-provider/classes/CompositeProvider | CompositeProvider # Class: CompositeProvider ## Implements - [`ChainStateProvider`](. HostedProvider | https://docs.totem.ing/api/totemsdk-chain-provider/classes/HostedProvider | HostedProvider # Class: HostedProvider ## Implements - [`ChainStateProvider`](. LookupClientProvider | https://docs.totem.ing/api/totemsdk-chain-provider/classes/LookupClientProvider | LookupClientProvider # Class: LookupClientProvider ## Implements - [`ChainStateProvider`](. MinimaRpcProvider | https://docs.totem.ing/api/totemsdk-chain-provider/classes/MinimaRpcProvider | MinimaRpcProvider # Class: MinimaRpcProvider Optional funding-truth extension port. depositAddressFor | https://docs.totem.ing/api/totemsdk-chain-provider/functions/depositAddressFor | AddressFor # Function: depositAddressFor() > **depositAddressFor**(`lp`, `opts? verifyDeposit | https://docs.totem.ing/api/totemsdk-chain-provider/functions/verifyDeposit | Deposit # Function: verifyDeposit() > **verifyDeposit**(`provider`, `params`): `Promise`\<[`DepositVerification`](. verifyDepositMmrProof | https://docs.totem.ing/api/totemsdk-chain-provider/functions/verifyDepositMmrProof | DepositMmrProof # Function: verifyDepositMmrProof() > **verifyDepositMmrProof**(`leafPubkey`, `proof`, `expectedRoot`): `boolean` Offline verification of a legacy chunk MMR proof against an expected root. withDepositVerifier | https://docs.totem.ing/api/totemsdk-chain-provider/functions/withDepositVerifier | DepositVerifier # Function: withDepositVerifier() > **withDepositVerifier**(`provider`): [`ChainStateProvider`](. BroadcastResult | https://docs.totem.ing/api/totemsdk-chain-provider/interfaces/BroadcastResult | BroadcastResult # Interface: BroadcastResult ## Properties ### message? ChainStateProvider | https://docs.totem.ing/api/totemsdk-chain-provider/interfaces/ChainStateProvider | ChainStateProvider # Interface: ChainStateProvider ## Methods ### broadcastTxPoW() > **broadcastTxPoW**(`txpowHex`): `Promise`\<[`BroadcastResult`](BroadcastResult. ChainTip | https://docs.totem.ing/api/totemsdk-chain-provider/interfaces/ChainTip | ChainTip # Interface: ChainTip ## Properties ### block > **block**: `number` *** ### hash > **hash**: `string` *** ### time? Coin | https://docs.totem.ing/api/totemsdk-chain-provider/interfaces/Coin | Coin # Interface: Coin ## Properties ### address > **address**: `string` *** ### amount > **amount**: `string` *** ### coinid > **coinid**: `string` *** ### created? CoinsQuery | https://docs.totem.ing/api/totemsdk-chain-provider/interfaces/CoinsQuery | CoinsQuery # Interface: CoinsQuery @totemsdk/chain-provider — shared types and ChainStateProvider interface ## Properties ### address? DepositAddressOptions | https://docs.totem.ing/api/totemsdk-chain-provider/interfaces/DepositAddressOptions | DepositAddressOptions # Interface: DepositAddressOptions Address-derivation policy for LP funding deposits. DepositVerification | https://docs.totem.ing/api/totemsdk-chain-provider/interfaces/DepositVerification | DepositVerification # Interface: DepositVerification Granular result of a deposit-funding check. DepositVerifier | https://docs.totem.ing/api/totemsdk-chain-provider/interfaces/DepositVerifier | DepositVerifier # Interface: DepositVerifier Optional funding-truth extension port. HostedProviderConfig | https://docs.totem.ing/api/totemsdk-chain-provider/interfaces/HostedProviderConfig | HostedProviderConfig # Interface: HostedProviderConfig ## Properties ### apiKey > **apiKey**: `string` *** ### baseUrl > **baseUrl**: `string` *** ### timeoutMs? LookupClientLike | https://docs.totem.ing/api/totemsdk-chain-provider/interfaces/LookupClientLike | LookupClientLike # Interface: LookupClientLike Structural interface describing the subset of LookupClient methods that LookupClientProvider requires. MMRProof | https://docs.totem.ing/api/totemsdk-chain-provider/interfaces/MMRProof | MMRProof MmrChunkProof | https://docs.totem.ing/api/totemsdk-chain-provider/interfaces/MmrChunkProof | MmrChunkProof # Interface: MmrChunkProof A chunk-based MMR proof (legacy Minima shape), i. TokenInfo | https://docs.totem.ing/api/totemsdk-chain-provider/interfaces/TokenInfo | TokenInfo # Interface: TokenInfo ## Properties ### coins? TokenSearchQuery | https://docs.totem.ing/api/totemsdk-chain-provider/interfaces/TokenSearchQuery | TokenSearchQuery # Interface: TokenSearchQuery ## Properties ### category? VerifyDepositParams | https://docs.totem.ing/api/totemsdk-chain-provider/interfaces/VerifyDepositParams | VerifyDepositParams # Interface: VerifyDepositParams Inputs for a live deposit-funding check. DEPOSIT_ADDRESS_DOMAIN | https://docs.totem.ing/api/totemsdk-chain-provider/variables/DEPOSIT_ADDRESS_DOMAIN | DEPOSIT_ADDRESS_DOMAIN TotemConnectionError | https://docs.totem.ing/api/totemsdk-connect/classes/TotemConnectionError | TotemConnectionError # Class: TotemConnectionError ## Extends - `Error` ## Constructors ### Constructor > **new TotemConnectionError**(`message`): `TotemConnectionError` #### Parameters ##### message `string` #### Returns `TotemConnectionError` #### Overrides `Error. TotemNotInstalledError | https://docs.totem.ing/api/totemsdk-connect/classes/TotemNotInstalledError | TotemNotInstalledError # Class: TotemNotInstalledError ## Extends - `Error` ## Constructors ### Constructor > **new TotemNotInstalledError**(): `TotemNotInstalledError` #### Returns `TotemNotInstalledError` #### Overrides `Error. WalletDiscovery | https://docs.totem.ing/api/totemsdk-connect/classes/WalletDiscovery | WalletDiscovery # Class: WalletDiscovery WalletDiscovery — listens for wallet announcements via the 'totem:announce' CustomEvent and maintains a live list of available wallets. agentCreateReceipt | https://docs.totem.ing/api/totemsdk-connect/functions/agentCreateReceipt | CreateReceipt # Function: agentCreateReceipt() > **agentCreateReceipt**(`origin`, `params`): `Promise`\<[`TotemAgentCreateReceiptResponse`](. agentExplainTransaction | https://docs.totem.ing/api/totemsdk-connect/functions/agentExplainTransaction | ExplainTransaction # Function: agentExplainTransaction() > **agentExplainTransaction**(`origin`, `params`): `Promise`\<[`TotemAgentExplainTransactionResponse`](. agentProposePayment | https://docs.totem.ing/api/totemsdk-connect/functions/agentProposePayment | ProposePayment # Function: agentProposePayment() > **agentProposePayment**(`origin`, `params`): `Promise`\<[`TotemAgentProposePaymentResponse`](. broadcastHex | https://docs.totem.ing/api/totemsdk-connect/functions/broadcastHex | Hex # Function: broadcastHex() > **broadcastHex**(`origin`, `params`): `Promise`\<[`TotemBroadcastHexResponse`](. broadcastTxPoW | https://docs.totem.ing/api/totemsdk-connect/functions/broadcastTxPoW | TxPoW # Function: broadcastTxPoW() > **broadcastTxPoW**(`origin`, `params`): `Promise`\<[`TotemBroadcastTxPoWResponse`](. clearActiveProvider | https://docs.totem.ing/api/totemsdk-connect/functions/clearActiveProvider | clearActiveProvider clearAgentPolicy | https://docs.totem.ing/api/totemsdk-connect/functions/clearAgentPolicy | clearAgentPolicy connect | https://docs.totem.ing/api/totemsdk-connect/functions/connect | Function: connect() > **connect**(`origin`): `Promise`\<[`TotemConnectResponse`](. createPaymentRequest | https://docs.totem.ing/api/totemsdk-connect/functions/createPaymentRequest | PaymentRequest # Function: createPaymentRequest() > **createPaymentRequest**(`origin`, `params`): `Promise`\<[`TotemCreatePaymentRequestResponse`](. getAccounts | https://docs.totem.ing/api/totemsdk-connect/functions/getAccounts | Accounts # Function: getAccounts() > **getAccounts**(`origin`): `Promise`\<[`TotemGetAccountsResponse`](. getCapabilities | https://docs.totem.ing/api/totemsdk-connect/functions/getCapabilities | Capabilities # Function: getCapabilities() > **getCapabilities**(): `Promise`\<[`TotemCapabilities`](. getCoins | https://docs.totem.ing/api/totemsdk-connect/functions/getCoins | Coins # Function: getCoins() > **getCoins**(`origin`, `params? getProvider | https://docs.totem.ing/api/totemsdk-connect/functions/getProvider | Provider # Function: getProvider() > **getProvider**(): [`TotemProvider`](. getProviderStatus | https://docs.totem.ing/api/totemsdk-connect/functions/getProviderStatus | ProviderStatus # Function: getProviderStatus() > **getProviderStatus**(): `Promise`\<[`TotemProviderStatus`](. getReceipt | https://docs.totem.ing/api/totemsdk-connect/functions/getReceipt | Receipt # Function: getReceipt() > **getReceipt**(`txpowId`): `Promise`\<[`TotemGetReceiptResponse`](. getTransactionStatus | https://docs.totem.ing/api/totemsdk-connect/functions/getTransactionStatus | TransactionStatus # Function: getTransactionStatus() > **getTransactionStatus**(`txpowId`): `Promise`\<[`TotemGetTransactionStatusResponse`](. getTxPermissions | https://docs.totem.ing/api/totemsdk-connect/functions/getTxPermissions | TxPermissions # Function: getTxPermissions() > **getTxPermissions**(): `Promise`\<[`TotemGetTxPermissionsResponse`](. getWotsStatus | https://docs.totem.ing/api/totemsdk-connect/functions/getWotsStatus | WotsStatus # Function: getWotsStatus() > **getWotsStatus**(`params? grantTxPermission | https://docs.totem.ing/api/totemsdk-connect/functions/grantTxPermission | TxPermission # Function: grantTxPermission() > **grantTxPermission**(`origin`, `config`): `Promise`\<[`TotemGrantTxPermissionResponse`](. isTotemInstalled | https://docs.totem.ing/api/totemsdk-connect/functions/isTotemInstalled | isTotemInstalled kissvmSimulate | https://docs.totem.ing/api/totemsdk-connect/functions/kissvmSimulate | Simulate # Function: kissvmSimulate() > **kissvmSimulate**(`params`): `Promise`\<[`TotemKissvmSimulateResponse`](. kissvmValidate | https://docs.totem.ing/api/totemsdk-connect/functions/kissvmValidate | Validate # Function: kissvmValidate() > **kissvmValidate**(`script`): `Promise`\<[`TotemKissvmValidateResponse`](. mineTxPoW | https://docs.totem.ing/api/totemsdk-connect/functions/mineTxPoW | TxPoW # Function: mineTxPoW() > **mineTxPoW**(`origin`, `params`): `Promise`\<[`TotemMineTxPoWResponse`](. omniaCloseChannel | https://docs.totem.ing/api/totemsdk-connect/functions/omniaCloseChannel | CloseChannel # Function: omniaCloseChannel() > **omniaCloseChannel**(`origin`, `params`): `Promise`\<[`TotemOmniaCloseChannelResponse`](. omniaCloseFactory | https://docs.totem.ing/api/totemsdk-connect/functions/omniaCloseFactory | CloseFactory # Function: omniaCloseFactory() > **omniaCloseFactory**(`origin`, `factoryId`): `Promise`\<[`TotemOmniaCloseFactoryResponse`](. omniaCreateFactory | https://docs.totem.ing/api/totemsdk-connect/functions/omniaCreateFactory | CreateFactory # Function: omniaCreateFactory() > **omniaCreateFactory**(`origin`, `params`): `Promise`\<[`TotemOmniaCreateFactoryResponse`](. omniaGetChannels | https://docs.totem.ing/api/totemsdk-connect/functions/omniaGetChannels | GetChannels # Function: omniaGetChannels() > **omniaGetChannels**(`origin`, `params? omniaGetRoute | https://docs.totem.ing/api/totemsdk-connect/functions/omniaGetRoute | GetRoute # Function: omniaGetRoute() > **omniaGetRoute**(`origin`, `params`): `Promise`\<[`TotemOmniaGetRouteResponse`](. omniaGetSwapRate | https://docs.totem.ing/api/totemsdk-connect/functions/omniaGetSwapRate | GetSwapRate # Function: omniaGetSwapRate() > **omniaGetSwapRate**(`origin`, `params`): `Promise`\<[`TotemOmniaGetSwapRateResponse`](. omniaOpenChannel | https://docs.totem.ing/api/totemsdk-connect/functions/omniaOpenChannel | OpenChannel # Function: omniaOpenChannel() > **omniaOpenChannel**(`origin`, `params`): `Promise`\<[`TotemOmniaOpenChannelResponse`](. omniaOpenVirtualChannel | https://docs.totem.ing/api/totemsdk-connect/functions/omniaOpenVirtualChannel | OpenVirtualChannel # Function: omniaOpenVirtualChannel() > **omniaOpenVirtualChannel**(`origin`, `params`): `Promise`\<[`TotemOmniaOpenVirtualChannelResponse`](. omniaPay | https://docs.totem.ing/api/totemsdk-connect/functions/omniaPay | Pay # Function: omniaPay() > **omniaPay**(`origin`, `params`): `Promise`\<[`TotemOmniaPayResponse`](. omniaPayMultiHop | https://docs.totem.ing/api/totemsdk-connect/functions/omniaPayMultiHop | PayMultiHop # Function: omniaPayMultiHop() > **omniaPayMultiHop**(`origin`, `params`): `Promise`\<[`TotemOmniaPayMultiHopResponse`](. omniaSettle | https://docs.totem.ing/api/totemsdk-connect/functions/omniaSettle | Settle # Function: omniaSettle() > **omniaSettle**(`origin`, `channelId`): `Promise`\<[`TotemOmniaSettleResponse`](. omniaSpliceIn | https://docs.totem.ing/api/totemsdk-connect/functions/omniaSpliceIn | SpliceIn # Function: omniaSpliceIn() > **omniaSpliceIn**(`origin`, `params`): `Promise`\<[`TotemOmniaSpliceInResponse`](. omniaSpliceOut | https://docs.totem.ing/api/totemsdk-connect/functions/omniaSpliceOut | SpliceOut # Function: omniaSpliceOut() > **omniaSpliceOut**(`origin`, `params`): `Promise`\<[`TotemOmniaSpliceOutResponse`](. onEvent | https://docs.totem.ing/api/totemsdk-connect/functions/onEvent | Event # Function: onEvent() > **onEvent**(`event`, `handler`): () => `void` ## Parameters ### event `string` ### handler (. payPaymentRequest | https://docs.totem.ing/api/totemsdk-connect/functions/payPaymentRequest | PaymentRequest # Function: payPaymentRequest() > **payPaymentRequest**(`origin`, `params`): `Promise`\<[`TotemPayPaymentRequestResponse`](. releaseWotsLease | https://docs.totem.ing/api/totemsdk-connect/functions/releaseWotsLease | WotsLease # Function: releaseWotsLease() > **releaseWotsLease**(`params`): `Promise`\<[`TotemReleaseWotsLeaseResponse`](. reserveWotsLease | https://docs.totem.ing/api/totemsdk-connect/functions/reserveWotsLease | WotsLease # Function: reserveWotsLease() > **reserveWotsLease**(`params? revokeTxPermission | https://docs.totem.ing/api/totemsdk-connect/functions/revokeTxPermission | TxPermission # Function: revokeTxPermission() > **revokeTxPermission**(`origin`): `Promise`\<[`TotemRevokeTxPermissionResponse`](. sendComplex | https://docs.totem.ing/api/totemsdk-connect/functions/sendComplex | Complex # Function: sendComplex() ## Call Signature > **sendComplex**(`origin`, `buildParams`, `mode? sendTransaction | https://docs.totem.ing/api/totemsdk-connect/functions/sendTransaction | Transaction # Function: sendTransaction() > **sendTransaction**(`origin`, `request`): `Promise`\<[`TotemSendTransactionResponse`](. setActiveProvider | https://docs.totem.ing/api/totemsdk-connect/functions/setActiveProvider | ActiveProvider # Function: setActiveProvider() > **setActiveProvider**(`provider`): `void` ## Parameters ### provider [`TotemProvider`](. setAgentPolicy | https://docs.totem.ing/api/totemsdk-connect/functions/setAgentPolicy | setAgentPolicy setChainProvider | https://docs.totem.ing/api/totemsdk-connect/functions/setChainProvider | ChainProvider # Function: setChainProvider() > **setChainProvider**(`params`): `Promise`\<[`TotemSetChainProviderResponse`](. signData | https://docs.totem.ing/api/totemsdk-connect/functions/signData | Data # Function: signData() > **signData**(`origin`, `params`): `Promise`\<[`TotemSignDataResponse`](. signTransaction | https://docs.totem.ing/api/totemsdk-connect/functions/signTransaction | Transaction # Function: signTransaction() > **signTransaction**(`origin`, `params`): `Promise`\<[`TotemSignTransactionResponse`](. statechainClaim | https://docs.totem.ing/api/totemsdk-connect/functions/statechainClaim | Claim # Function: statechainClaim() > **statechainClaim**(`origin`, `params`): `Promise`\<[`TotemStatechainClaimResponse`](. statechainCreate | https://docs.totem.ing/api/totemsdk-connect/functions/statechainCreate | Create # Function: statechainCreate() > **statechainCreate**(`origin`, `params`): `Promise`\<[`TotemStatechainCreateResponse`](. statechainTransfer | https://docs.totem.ing/api/totemsdk-connect/functions/statechainTransfer | Transfer # Function: statechainTransfer() > **statechainTransfer**(`origin`, `params`): `Promise`\<[`TotemStatechainTransferResponse`](. statechainVerify | https://docs.totem.ing/api/totemsdk-connect/functions/statechainVerify | Verify # Function: statechainVerify() > **statechainVerify**(`origin`, `params`): `Promise`\<[`TotemStatechainVerifyResponse`](. verify | https://docs.totem.ing/api/totemsdk-connect/functions/verify | Function: verify() > **verify**(`origin`, `challenge? DiscoveredWallet | https://docs.totem.ing/api/totemsdk-connect/interfaces/DiscoveredWallet | DiscoveredWallet # Interface: DiscoveredWallet ## Properties ### info > **info**: [`TotemWalletInfo`](TotemWalletInfo. EnhancedBuildParams | https://docs.totem.ing/api/totemsdk-connect/interfaces/EnhancedBuildParams | EnhancedBuildParams # Interface: EnhancedBuildParams ## Properties ### inputs > **inputs**: `object`[] #### address > **address**: `string` #### amount > **amount**: `string` #### coinId > **coinId**: `string` #### scriptDescriptor > **scriptDescriptor**: [`InputScriptDescriptor`](InputScriptDescriptor. InputCoinProof | https://docs.totem.ing/api/totemsdk-connect/interfaces/InputCoinProof | InputCoinProof InputScriptDescriptor | https://docs.totem.ing/api/totemsdk-connect/interfaces/InputScriptDescriptor | InputScriptDescriptor # Interface: InputScriptDescriptor ## Properties ### externalSignatures? KissvmCoinData | https://docs.totem.ing/api/totemsdk-connect/interfaces/KissvmCoinData | KissvmCoinData # Interface: KissvmCoinData ## Properties ### address > **address**: `string` *** ### amount > **amount**: `number` *** ### coinCreatedBlock? KissvmOutputData | https://docs.totem.ing/api/totemsdk-connect/interfaces/KissvmOutputData | KissvmOutputData KissvmTxContext | https://docs.totem.ing/api/totemsdk-connect/interfaces/KissvmTxContext | KissvmTxContext # Interface: KissvmTxContext ## Properties ### block > **block**: `number` *** ### inputIndex > **inputIndex**: `number` *** ### inputs > **inputs**: [`KissvmCoinData`](KissvmCoinData. KissvmWitness | https://docs.totem.ing/api/totemsdk-connect/interfaces/KissvmWitness | KissvmWitness # Interface: KissvmWitness ## Properties ### preimages? OmniaChannelSummary | https://docs.totem.ing/api/totemsdk-connect/interfaces/OmniaChannelSummary | OmniaChannelSummary ResponseScriptDescriptor | https://docs.totem.ing/api/totemsdk-connect/interfaces/ResponseScriptDescriptor | ResponseScriptDescriptor # Interface: ResponseScriptDescriptor ## Properties ### branchScript? Route | https://docs.totem.ing/api/totemsdk-connect/interfaces/Route | Route # Interface: Route ## Properties ### estimatedBlocks > **estimatedBlocks**: `number` *** ### hops > **hops**: ([`RoutingHop`](RoutingHop. RoutingHop | https://docs.totem.ing/api/totemsdk-connect/interfaces/RoutingHop | RoutingHop # Interface: RoutingHop ## Extended by - [`SwapHop`](SwapHop. SitePermissionEntry | https://docs.totem.ing/api/totemsdk-connect/interfaces/SitePermissionEntry | SitePermissionEntry # Interface: SitePermissionEntry ## Properties ### address > **address**: `string` *** ### origin > **origin**: `string` *** ### permissions > **permissions**: `object` #### allowedIntents > **allowedIntents**: [`DAppTransactionIntent`](. StateVariable | https://docs.totem.ing/api/totemsdk-connect/interfaces/StateVariable | StateVariable # Interface: StateVariable ## Properties ### port > **port**: `number` *** ### type? StatechainTransferEntry | https://docs.totem.ing/api/totemsdk-connect/interfaces/StatechainTransferEntry | StatechainTransferEntry SwapAnnouncement | https://docs.totem.ing/api/totemsdk-connect/interfaces/SwapAnnouncement | SwapAnnouncement SwapHop | https://docs.totem.ing/api/totemsdk-connect/interfaces/SwapHop | SwapHop # Interface: SwapHop ## Extends - [`RoutingHop`](RoutingHop. TokenSpendingLimit | https://docs.totem.ing/api/totemsdk-connect/interfaces/TokenSpendingLimit | TokenSpendingLimit TotemAgentCreateReceiptRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemAgentCreateReceiptRequest | TotemAgentCreateReceiptRequest # Interface: TotemAgentCreateReceiptRequest ## Properties ### method > **method**: `"totem_agentCreateReceipt"` *** ### params > **params**: `object` #### channelState? TotemAgentCreateReceiptResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemAgentCreateReceiptResponse | TotemAgentCreateReceiptResponse # Interface: TotemAgentCreateReceiptResponse ## Properties ### error? TotemAgentExplainTransactionRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemAgentExplainTransactionRequest | TotemAgentExplainTransactionRequest # Interface: TotemAgentExplainTransactionRequest ## Properties ### method > **method**: `"totem_agentExplainTransaction"` *** ### params > **params**: `object` #### context? TotemAgentExplainTransactionResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemAgentExplainTransactionResponse | TotemAgentExplainTransactionResponse # Interface: TotemAgentExplainTransactionResponse ## Properties ### error? TotemAgentProposePaymentRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemAgentProposePaymentRequest | TotemAgentProposePaymentRequest # Interface: TotemAgentProposePaymentRequest ## Properties ### method > **method**: `"totem_agentProposePayment"` *** ### params > **params**: `object` #### agentId > **agentId**: `string` Agent identifier — opaque string chosen by the agent. TotemAgentProposePaymentResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemAgentProposePaymentResponse | TotemAgentProposePaymentResponse # Interface: TotemAgentProposePaymentResponse ## Properties ### error? TotemAnnounceDetail | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemAnnounceDetail | TotemAnnounceDetail # Interface: TotemAnnounceDetail ## Properties ### info > **info**: [`TotemWalletInfo`](TotemWalletInfo. TotemBroadcastHexErrorResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemBroadcastHexErrorResponse | TotemBroadcastHexErrorResponse # Interface: TotemBroadcastHexErrorResponse ## Properties ### error > **error**: `string` *** ### errorCode > **errorCode**: `string` *** ### requiredIntent? TotemBroadcastHexRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemBroadcastHexRequest | TotemBroadcastHexRequest # Interface: TotemBroadcastHexRequest ## Properties ### method > **method**: `"TOTEM_BROADCAST_HEX"` *** ### params > **params**: `object` #### expectedDigestTx? TotemBroadcastHexSuccessResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemBroadcastHexSuccessResponse | TotemBroadcastHexSuccessResponse TotemBroadcastTxPoWRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemBroadcastTxPoWRequest | TotemBroadcastTxPoWRequest # Interface: TotemBroadcastTxPoWRequest ## Properties ### method > **method**: `"totem_broadcastTxPoW"` *** ### params > **params**: `object` #### expectedTxpowId? TotemBroadcastTxPoWResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemBroadcastTxPoWResponse | TotemBroadcastTxPoWResponse # Interface: TotemBroadcastTxPoWResponse ## Properties ### error? TotemCapabilities | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemCapabilities | TotemCapabilities TotemConnectRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemConnectRequest | TotemConnectRequest TotemConnectResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemConnectResponse | TotemConnectResponse # Interface: TotemConnectResponse ## Properties ### address > **address**: `string` *** ### addressIndex > **addressIndex**: `number` *** ### connected > **connected**: `true` *** ### isReconnect? TotemCreatePaymentRequestRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemCreatePaymentRequestRequest | TotemCreatePaymentRequestRequest # Interface: TotemCreatePaymentRequestRequest ## Properties ### method > **method**: `"totem_createPaymentRequest"` *** ### params > **params**: `object` #### amount > **amount**: `string` #### description? TotemCreatePaymentRequestResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemCreatePaymentRequestResponse | TotemCreatePaymentRequestResponse # Interface: TotemCreatePaymentRequestResponse ## Properties ### error? TotemGetAccountsRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemGetAccountsRequest | TotemGetAccountsRequest TotemGetAccountsResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemGetAccountsResponse | TotemGetAccountsResponse TotemGetCapabilitiesRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemGetCapabilitiesRequest | TotemGetCapabilitiesRequest # Interface: TotemGetCapabilitiesRequest ## Properties ### method > **method**: `"totem_getCapabilities"` *** ### params? TotemGetCoinsErrorResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemGetCoinsErrorResponse | TotemGetCoinsErrorResponse # Interface: TotemGetCoinsErrorResponse ## Properties ### error > **error**: `string` *** ### errorCode > **errorCode**: `string` *** ### requiredIntent? TotemGetCoinsRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemGetCoinsRequest | TotemGetCoinsRequest # Interface: TotemGetCoinsRequest ## Properties ### method > **method**: `"TOTEM_GET_COINS"` *** ### params > **params**: `object` #### address? TotemGetCoinsSuccessResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemGetCoinsSuccessResponse | TotemGetCoinsSuccessResponse TotemGetProviderStatusRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemGetProviderStatusRequest | TotemGetProviderStatusRequest # Interface: TotemGetProviderStatusRequest ## Properties ### method > **method**: `"totem_getProviderStatus"` *** ### params? TotemGetReceiptRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemGetReceiptRequest | TotemGetReceiptRequest TotemGetReceiptResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemGetReceiptResponse | TotemGetReceiptResponse # Interface: TotemGetReceiptResponse ## Properties ### amount > **amount**: `string` *** ### blockNumber? TotemGetTransactionStatusRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemGetTransactionStatusRequest | TotemGetTransactionStatusRequest TotemGetTransactionStatusResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemGetTransactionStatusResponse | TotemGetTransactionStatusResponse # Interface: TotemGetTransactionStatusResponse ## Properties ### blockNumber? TotemGetTxPermissionsRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemGetTxPermissionsRequest | TotemGetTxPermissionsRequest TotemGetWotsStatusRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemGetWotsStatusRequest | TotemGetWotsStatusRequest # Interface: TotemGetWotsStatusRequest ## Properties ### method > **method**: `"totem_getWotsStatus"` *** ### params > **params**: `object` #### address? TotemGetWotsStatusResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemGetWotsStatusResponse | TotemGetWotsStatusResponse TotemGrantTxPermissionRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemGrantTxPermissionRequest | TotemGrantTxPermissionRequest # Interface: TotemGrantTxPermissionRequest ## Properties ### method > **method**: `"TOTEM_GRANT_TX_PERMISSION"` *** ### params > **params**: `object` #### config > **config**: `object` ##### config. TotemGrantTxPermissionResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemGrantTxPermissionResponse | TotemGrantTxPermissionResponse TotemKissvmSimulateRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemKissvmSimulateRequest | TotemKissvmSimulateRequest # Interface: TotemKissvmSimulateRequest ## Properties ### method > **method**: `"totem_kissvmSimulate"` *** ### params > **params**: `object` #### script > **script**: `string` #### txContext > **txContext**: [`KissvmTxContext`](KissvmTxContext. TotemKissvmSimulateResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemKissvmSimulateResponse | TotemKissvmSimulateResponse # Interface: TotemKissvmSimulateResponse ## Properties ### error? TotemKissvmValidateRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemKissvmValidateRequest | TotemKissvmValidateRequest TotemKissvmValidateResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemKissvmValidateResponse | TotemKissvmValidateResponse # Interface: TotemKissvmValidateResponse ## Properties ### errors > **errors**: `object`[] #### column? TotemMineTxPoWRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemMineTxPoWRequest | TotemMineTxPoWRequest # Interface: TotemMineTxPoWRequest ## Properties ### method > **method**: `"totem_mineTxPoW"` *** ### params > **params**: `object` #### difficulty? TotemMineTxPoWResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemMineTxPoWResponse | TotemMineTxPoWResponse # Interface: TotemMineTxPoWResponse ## Properties ### error? TotemOmniaCloseChannelRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaCloseChannelRequest | TotemOmniaCloseChannelRequest # Interface: TotemOmniaCloseChannelRequest ## Properties ### method > **method**: `"totem_omniaCloseChannel"` *** ### params > **params**: `object` #### channelId > **channelId**: `string` #### force? TotemOmniaCloseChannelResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaCloseChannelResponse | TotemOmniaCloseChannelResponse # Interface: TotemOmniaCloseChannelResponse ## Properties ### channelId? TotemOmniaCloseFactoryRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaCloseFactoryRequest | TotemOmniaCloseFactoryRequest TotemOmniaCloseFactoryResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaCloseFactoryResponse | TotemOmniaCloseFactoryResponse # Interface: TotemOmniaCloseFactoryResponse ## Properties ### error? TotemOmniaCreateFactoryRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaCreateFactoryRequest | TotemOmniaCreateFactoryRequest # Interface: TotemOmniaCreateFactoryRequest ## Properties ### method > **method**: `"totem_omniaCreateFactory"` *** ### params > **params**: `object` #### amounts > **amounts**: `string`[] #### fundingCoinIds? TotemOmniaCreateFactoryResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaCreateFactoryResponse | TotemOmniaCreateFactoryResponse # Interface: TotemOmniaCreateFactoryResponse ## Properties ### error? TotemOmniaGetChannelsRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaGetChannelsRequest | TotemOmniaGetChannelsRequest # Interface: TotemOmniaGetChannelsRequest ## Properties ### method > **method**: `"totem_omniaGetChannels"` *** ### params > **params**: `object` #### origin > **origin**: `string` #### status? TotemOmniaGetChannelsResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaGetChannelsResponse | TotemOmniaGetChannelsResponse # Interface: TotemOmniaGetChannelsResponse ## Properties ### channels > **channels**: [`OmniaChannelSummary`](OmniaChannelSummary. TotemOmniaGetRouteRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaGetRouteRequest | TotemOmniaGetRouteRequest # Interface: TotemOmniaGetRouteRequest ## Properties ### method > **method**: `"totem_omniaGetRoute"` *** ### params > **params**: `object` #### amount > **amount**: `string` #### fromPartyId > **fromPartyId**: `string` #### maxHops? TotemOmniaGetRouteResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaGetRouteResponse | TotemOmniaGetRouteResponse # Interface: TotemOmniaGetRouteResponse ## Properties ### error? TotemOmniaGetSwapRateRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaGetSwapRateRequest | TotemOmniaGetSwapRateRequest TotemOmniaGetSwapRateResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaGetSwapRateResponse | TotemOmniaGetSwapRateResponse # Interface: TotemOmniaGetSwapRateResponse ## Properties ### announcements? TotemOmniaOpenChannelRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaOpenChannelRequest | TotemOmniaOpenChannelRequest # Interface: TotemOmniaOpenChannelRequest ## Properties ### method > **method**: `"totem_omniaOpenChannel"` *** ### params > **params**: `object` #### fundingCoinId > **fundingCoinId**: `string` #### localAmount > **localAmount**: `string` #### origin > **origin**: `string` #### remoteAmount > **remoteAmount**: `string` #### remotePartyId > **remotePartyId**: `string` #### tokenId? TotemOmniaOpenChannelResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaOpenChannelResponse | TotemOmniaOpenChannelResponse # Interface: TotemOmniaOpenChannelResponse ## Properties ### channelId? TotemOmniaOpenVirtualChannelRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaOpenVirtualChannelRequest | TotemOmniaOpenVirtualChannelRequest # Interface: TotemOmniaOpenVirtualChannelRequest ## Properties ### method > **method**: `"totem_omniaOpenVirtualChannel"` *** ### params > **params**: `object` #### factoryId > **factoryId**: `string` #### localAmount > **localAmount**: `string` #### origin > **origin**: `string` #### remoteAmount > **remoteAmount**: `string` #### remotePartyId > **remotePartyId**: `string` #### tokenId? TotemOmniaOpenVirtualChannelResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaOpenVirtualChannelResponse | TotemOmniaOpenVirtualChannelResponse # Interface: TotemOmniaOpenVirtualChannelResponse ## Properties ### channelId? TotemOmniaPayMultiHopRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaPayMultiHopRequest | TotemOmniaPayMultiHopRequest # Interface: TotemOmniaPayMultiHopRequest ## Properties ### method > **method**: `"totem_omniaPayMultiHop"` *** ### params > **params**: `object` #### hashlock > **hashlock**: `string` #### origin > **origin**: `string` #### route > **route**: [`Route`](Route. TotemOmniaPayMultiHopResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaPayMultiHopResponse | TotemOmniaPayMultiHopResponse # Interface: TotemOmniaPayMultiHopResponse ## Properties ### error? TotemOmniaPayRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaPayRequest | TotemOmniaPayRequest # Interface: TotemOmniaPayRequest ## Properties ### method > **method**: `"totem_omniaPay"` *** ### params > **params**: `object` #### amount > **amount**: `string` #### channelId > **channelId**: `string` #### memo? TotemOmniaPayResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaPayResponse | TotemOmniaPayResponse # Interface: TotemOmniaPayResponse ## Properties ### channelId? TotemOmniaSettleRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaSettleRequest | TotemOmniaSettleRequest TotemOmniaSettleResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaSettleResponse | TotemOmniaSettleResponse # Interface: TotemOmniaSettleResponse ## Properties ### channelId? TotemOmniaSpliceInRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaSpliceInRequest | TotemOmniaSpliceInRequest TotemOmniaSpliceInResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaSpliceInResponse | TotemOmniaSpliceInResponse # Interface: TotemOmniaSpliceInResponse ## Properties ### channelId? TotemOmniaSpliceOutRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaSpliceOutRequest | TotemOmniaSpliceOutRequest TotemOmniaSpliceOutResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemOmniaSpliceOutResponse | TotemOmniaSpliceOutResponse # Interface: TotemOmniaSpliceOutResponse ## Properties ### channelId? TotemPayPaymentRequestRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemPayPaymentRequestRequest | TotemPayPaymentRequestRequest # Interface: TotemPayPaymentRequestRequest ## Properties ### method > **method**: `"totem_payPaymentRequest"` *** ### params > **params**: `object` #### maxFeePercent? TotemPayPaymentRequestResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemPayPaymentRequestResponse | TotemPayPaymentRequestResponse # Interface: TotemPayPaymentRequestResponse ## Properties ### error? TotemProvider | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemProvider | TotemProvider # Interface: TotemProvider ## Properties ### isTotem > **isTotem**: `true` ## Methods ### broadcastHex() > **broadcastHex**(`params`): `Promise`\<`unknown`\> #### Parameters ##### params ###### expectedDigestTx? TotemProviderStatus | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemProviderStatus | TotemProviderStatus TotemReleaseWotsLeaseRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemReleaseWotsLeaseRequest | TotemReleaseWotsLeaseRequest # Interface: TotemReleaseWotsLeaseRequest ## Properties ### method > **method**: `"totem_releaseWotsLease"` *** ### params > **params**: `object` #### reason? TotemReleaseWotsLeaseResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemReleaseWotsLeaseResponse | TotemReleaseWotsLeaseResponse TotemRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemRequest | TotemRequest # Interface: TotemRequest ## Properties ### method > **method**: `string` *** ### params? TotemReserveWotsLeaseRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemReserveWotsLeaseRequest | TotemReserveWotsLeaseRequest # Interface: TotemReserveWotsLeaseRequest ## Properties ### method > **method**: `"totem_reserveWotsLease"` *** ### params > **params**: `object` #### address? TotemReserveWotsLeaseResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemReserveWotsLeaseResponse | TotemReserveWotsLeaseResponse TotemRevokeTxPermissionRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemRevokeTxPermissionRequest | TotemRevokeTxPermissionRequest TotemRevokeTxPermissionResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemRevokeTxPermissionResponse | TotemRevokeTxPermissionResponse TotemSendComplexBuildResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemSendComplexBuildResponse | TotemSendComplexBuildResponse # Interface: TotemSendComplexBuildResponse ## Properties ### blobHash > **blobHash**: `string` *** ### chainId > **chainId**: `string` *** ### detectedIntent > **detectedIntent**: `string` *** ### digestTx > **digestTx**: `string` *** ### inputCoinProofs > **inputCoinProofs**: [`InputCoinProof`](InputCoinProof. TotemSendComplexErrorResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemSendComplexErrorResponse | TotemSendComplexErrorResponse # Interface: TotemSendComplexErrorResponse ## Properties ### detectedIntent? TotemSendComplexRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemSendComplexRequest | TotemSendComplexRequest # Interface: TotemSendComplexRequest ## Properties ### method > **method**: `"TOTEM_SEND_COMPLEX"` *** ### params > **params**: `object` #### buildParams > **buildParams**: [`EnhancedBuildParams`](EnhancedBuildParams. TotemSendComplexSubmitResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemSendComplexSubmitResponse | TotemSendComplexSubmitResponse TotemSendTransactionErrorResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemSendTransactionErrorResponse | TotemSendTransactionErrorResponse # Interface: TotemSendTransactionErrorResponse ## Properties ### error > **error**: `string` *** ### errorCode > **errorCode**: `string` *** ### requestedAmount? TotemSendTransactionRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemSendTransactionRequest | TotemSendTransactionRequest # Interface: TotemSendTransactionRequest ## Properties ### method > **method**: `"TOTEM_SEND_TRANSACTION"` *** ### params > **params**: `object` #### origin > **origin**: `string` #### request > **request**: `object` ##### request. TotemSendTransactionSuccessResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemSendTransactionSuccessResponse | TotemSendTransactionSuccessResponse TotemSetChainProviderRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemSetChainProviderRequest | TotemSetChainProviderRequest # Interface: TotemSetChainProviderRequest ## Properties ### method > **method**: `"totem_setChainProvider"` *** ### params > **params**: `object` #### providerType > **providerType**: `"hosted"` \| `"pure_rpc"` \| `"hybrid"` #### rpcEndpoint? TotemSetChainProviderResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemSetChainProviderResponse | TotemSetChainProviderResponse TotemSignDataErrorResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemSignDataErrorResponse | TotemSignDataErrorResponse # Interface: TotemSignDataErrorResponse ## Properties ### error > **error**: `string` *** ### errorCode > **errorCode**: `string` *** ### requiredIntent? TotemSignDataRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemSignDataRequest | TotemSignDataRequest # Interface: TotemSignDataRequest ## Properties ### method > **method**: `"TOTEM_SIGN_DATA"` *** ### params > **params**: `object` #### inputAddresses > **inputAddresses**: `string`[] #### inputIndices? TotemSignDataSuccessResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemSignDataSuccessResponse | TotemSignDataSuccessResponse TotemSignTransactionRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemSignTransactionRequest | TotemSignTransactionRequest # Interface: TotemSignTransactionRequest ## Properties ### method > **method**: `"totem_signTransaction"` *** ### params > **params**: `object` #### inputAddresses > **inputAddresses**: `string`[] #### inputIndices? TotemSignTransactionResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemSignTransactionResponse | TotemSignTransactionResponse # Interface: TotemSignTransactionResponse ## Properties ### error? TotemStatechainClaimRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemStatechainClaimRequest | TotemStatechainClaimRequest # Interface: TotemStatechainClaimRequest ## Properties ### method > **method**: `"totem_statechainClaim"` *** ### params > **params**: `object` #### chainId > **chainId**: `string` #### claimAddress > **claimAddress**: `string` #### cooperative? TotemStatechainClaimResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemStatechainClaimResponse | TotemStatechainClaimResponse # Interface: TotemStatechainClaimResponse ## Properties ### chainId? TotemStatechainCreateRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemStatechainCreateRequest | TotemStatechainCreateRequest # Interface: TotemStatechainCreateRequest ## Properties ### method > **method**: `"totem_statechainCreate"` *** ### params > **params**: `object` #### coinId > **coinId**: `string` #### origin > **origin**: `string` #### ownerPublicKeyDigest > **ownerPublicKeyDigest**: `string` #### reclaimTimelock? TotemStatechainCreateResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemStatechainCreateResponse | TotemStatechainCreateResponse # Interface: TotemStatechainCreateResponse ## Properties ### chainId? TotemStatechainTransferRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemStatechainTransferRequest | TotemStatechainTransferRequest TotemStatechainTransferResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemStatechainTransferResponse | TotemStatechainTransferResponse # Interface: TotemStatechainTransferResponse ## Properties ### chainId? TotemStatechainVerifyRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemStatechainVerifyRequest | TotemStatechainVerifyRequest # Interface: TotemStatechainVerifyRequest ## Properties ### method > **method**: `"totem_statechainVerify"` *** ### params > **params**: `object` #### chainId > **chainId**: `string` #### origin > **origin**: `string` #### transferHistory > **transferHistory**: [`StatechainTransferEntry`](StatechainTransferEntry. TotemStatechainVerifyResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemStatechainVerifyResponse | TotemStatechainVerifyResponse # Interface: TotemStatechainVerifyResponse ## Properties ### chainId > **chainId**: `string` *** ### error? TotemVerifyRequest | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemVerifyRequest | TotemVerifyRequest # Interface: TotemVerifyRequest ## Properties ### method > **method**: `"TOTEM_VERIFY"` *** ### params > **params**: `object` #### challenge? TotemVerifyResponse | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemVerifyResponse | TotemVerifyResponse # Interface: TotemVerifyResponse ## Properties ### address > **address**: `string` *** ### expiresAt > **expiresAt**: `number` *** ### message > **message**: `string` *** ### publicKey > **publicKey**: `string` *** ### sessionExpiresAt? TotemWalletInfo | https://docs.totem.ing/api/totemsdk-connect/interfaces/TotemWalletInfo | TotemWalletInfo # Interface: TotemWalletInfo ## Properties ### icon? TransactionPlan | https://docs.totem.ing/api/totemsdk-connect/interfaces/TransactionPlan | TransactionPlan DAppTransactionIntent | https://docs.totem.ing/api/totemsdk-connect/type-aliases/DAppTransactionIntent | DAppTransactionIntent ScriptType | https://docs.totem.ing/api/totemsdk-connect/type-aliases/ScriptType | ScriptType StateVariableType | https://docs.totem.ing/api/totemsdk-connect/type-aliases/StateVariableType | StateVariableType TotemBroadcastHexResponse | https://docs.totem.ing/api/totemsdk-connect/type-aliases/TotemBroadcastHexResponse | TotemBroadcastHexResponse # Type Alias: TotemBroadcastHexResponse > **TotemBroadcastHexResponse** = [`TotemBroadcastHexSuccessResponse`](. TotemGetCapabilitiesResponse | https://docs.totem.ing/api/totemsdk-connect/type-aliases/TotemGetCapabilitiesResponse | TotemGetCapabilitiesResponse # Type Alias: TotemGetCapabilitiesResponse > **TotemGetCapabilitiesResponse** = [`TotemCapabilities`](. TotemGetCoinsResponse | https://docs.totem.ing/api/totemsdk-connect/type-aliases/TotemGetCoinsResponse | TotemGetCoinsResponse # Type Alias: TotemGetCoinsResponse > **TotemGetCoinsResponse** = [`TotemGetCoinsSuccessResponse`](. TotemGetProviderStatusResponse | https://docs.totem.ing/api/totemsdk-connect/type-aliases/TotemGetProviderStatusResponse | TotemGetProviderStatusResponse # Type Alias: TotemGetProviderStatusResponse > **TotemGetProviderStatusResponse** = [`TotemProviderStatus`](. TotemGetTxPermissionsResponse | https://docs.totem.ing/api/totemsdk-connect/type-aliases/TotemGetTxPermissionsResponse | TotemGetTxPermissionsResponse # Type Alias: TotemGetTxPermissionsResponse > **TotemGetTxPermissionsResponse** = [`SitePermissionEntry`](. TotemSendComplexResponse | https://docs.totem.ing/api/totemsdk-connect/type-aliases/TotemSendComplexResponse | TotemSendComplexResponse # Type Alias: TotemSendComplexResponse > **TotemSendComplexResponse** = [`TotemSendComplexBuildResponse`](. TotemSendTransactionResponse | https://docs.totem.ing/api/totemsdk-connect/type-aliases/TotemSendTransactionResponse | TotemSendTransactionResponse # Type Alias: TotemSendTransactionResponse > **TotemSendTransactionResponse** = [`TotemSendTransactionSuccessResponse`](. TotemSignDataResponse | https://docs.totem.ing/api/totemsdk-connect/type-aliases/TotemSignDataResponse | TotemSignDataResponse # Type Alias: TotemSignDataResponse > **TotemSignDataResponse** = [`TotemSignDataSuccessResponse`](. TOTEM_ANNOUNCE | https://docs.totem.ing/api/totemsdk-connect/variables/TOTEM_ANNOUNCE | TOTEM_ANNOUNCE TOTEM_REQUEST_ANNOUNCE | https://docs.totem.ing/api/totemsdk-connect/variables/TOTEM_REQUEST_ANNOUNCE | TOTEM_REQUEST_ANNOUNCE requestSignature | https://docs.totem.ing/api/totemsdk-connect/variables/requestSignature | Signature # ~~Variable: requestSignature~~ > `const` **requestSignature**: (`origin`, `challenge? ConsoleLogger | https://docs.totem.ing/api/totemsdk-core/classes/ConsoleLogger | ConsoleLogger # Class: ConsoleLogger ## Implements - [`LoggerAdapter`](. DefaultTimerAdapter | https://docs.totem.ing/api/totemsdk-core/classes/DefaultTimerAdapter | DefaultTimerAdapter # Class: DefaultTimerAdapter ## Implements - [`TimerAdapter`](. ExchangeHelper | https://docs.totem.ing/api/totemsdk-core/classes/ExchangeHelper | ExchangeHelper # Class: ExchangeHelper Exchange Contract Helper Creates DEX-style exchange contracts using VERIFYOUT. FlashCashHelper | https://docs.totem.ing/api/totemsdk-core/classes/FlashCashHelper | FlashCashHelper # Class: FlashCashHelper Flash Cash Helper Creates flash loan contracts for single-transaction borrowing. HTLCHelper | https://docs.totem.ing/api/totemsdk-core/classes/HTLCHelper | HTLCHelper # Class: HTLCHelper HTLC Helper Creates Hashed Timelock Contracts for atomic swaps and lightning-style payments. LeaseMonitor | https://docs.totem.ing/api/totemsdk-core/classes/LeaseMonitor | LeaseMonitor # Class: LeaseMonitor ## Constructors ### Constructor > **new LeaseMonitor**(`leaseStore`, `timer? LeaseStore | https://docs.totem.ing/api/totemsdk-core/classes/LeaseStore | LeaseStore # Class: LeaseStore ## Constructors ### Constructor > **new LeaseStore**(`storage`, `logger? MASTHelper | https://docs.totem.ing/api/totemsdk-core/classes/MASTHelper | MASTHelper # Class: MASTHelper MAST Helper Creates Merkelized Abstract Syntax Tree contracts for privacy and scalability. MMRTree | https://docs.totem.ing/api/totemsdk-core/classes/MMRTree | MMRTree # Class: MMRTree Simple MMR Tree for TreeKeyNode Builds a perfect binary tree from N entries (N must be power of 2 for simplicity) This matches TreeKeyNode. MiniNumber | https://docs.totem.ing/api/totemsdk-core/classes/MiniNumber | MiniNumber NoopLifecycleAdapter | https://docs.totem.ing/api/totemsdk-core/classes/NoopLifecycleAdapter | NoopLifecycleAdapter # Class: NoopLifecycleAdapter ## Implements - [`LifecycleAdapter`](. NoopLogger | https://docs.totem.ing/api/totemsdk-core/classes/NoopLogger | NoopLogger # Class: NoopLogger ## Implements - [`LoggerAdapter`](. NoopMetrics | https://docs.totem.ing/api/totemsdk-core/classes/NoopMetrics | NoopMetrics # Class: NoopMetrics ## Implements - [`MetricsAdapter`](. SlowCashHelper | https://docs.totem.ing/api/totemsdk-core/classes/SlowCashHelper | SlowCashHelper # Class: SlowCashHelper Slow Cash Helper Creates rate-limited withdrawal contracts. StatefulGameHelper | https://docs.totem.ing/api/totemsdk-core/classes/StatefulGameHelper | StatefulGameHelper # Class: StatefulGameHelper Stateful Game Helper Creates multi-round stateful contracts (like coin flip). TimelockHelper | https://docs.totem.ing/api/totemsdk-core/classes/TimelockHelper | TimelockHelper # Class: TimelockHelper Timelock Helper Creates timelocked scripts that can only be spent after a certain block. TransactionLifecycle | https://docs.totem.ing/api/totemsdk-core/classes/TransactionLifecycle | TransactionLifecycle # Class: TransactionLifecycle ## Constructors ### Constructor > **new TransactionLifecycle**(`txService`, `leaseStore`, `watermarkStore`, `receiptStore`, `logger? TransactionLifecycleError | https://docs.totem.ing/api/totemsdk-core/classes/TransactionLifecycleError | TransactionLifecycleError # Class: TransactionLifecycleError ## Extends - `Error` ## Constructors ### Constructor > **new TransactionLifecycleError**(`message`, `code`, `userMessage`): `TransactionLifecycleError` #### Parameters ##### message `string` ##### code `number` ##### userMessage `string` #### Returns `TransactionLifecycleError` #### Overrides `Error. TransactionReceiptStore | https://docs.totem.ing/api/totemsdk-core/classes/TransactionReceiptStore | TransactionReceiptStore # Class: TransactionReceiptStore ## Constructors ### Constructor > **new TransactionReceiptStore**(`storage`, `logger? TransactionService | https://docs.totem.ing/api/totemsdk-core/classes/TransactionService | TransactionService # Class: TransactionService ## Constructors ### Constructor > **new TransactionService**(`http`, `config`, `logger? TreeKey | https://docs.totem.ing/api/totemsdk-core/classes/TreeKey | TreeKey # Class: TreeKey TreeKey - Full hierarchical key tree with multiple levels Matches TreeKey. TreeKeyNode | https://docs.totem.ing/api/totemsdk-core/classes/TreeKeyNode | TreeKeyNode # Class: TreeKeyNode TreeKeyNode - One node in the key tree containing 64 Winternitz keys Matches TreeKeyNode. VaultHelper | https://docs.totem.ing/api/totemsdk-core/classes/VaultHelper | VaultHelper # Class: VaultHelper Vault Helper Creates vault/covenant contracts with safe house enforcement. WatermarkExhaustedError | https://docs.totem.ing/api/totemsdk-core/classes/WatermarkExhaustedError | WatermarkExhaustedError # Class: WatermarkExhaustedError ## Extends - `Error` ## Constructors ### Constructor > **new WatermarkExhaustedError**(): `WatermarkExhaustedError` #### Returns `WatermarkExhaustedError` #### Overrides `Error. WatermarkStore | https://docs.totem.ing/api/totemsdk-core/classes/WatermarkStore | WatermarkStore # Class: WatermarkStore ## Constructors ### Constructor > **new WatermarkStore**(`storage`, `logger? F | https://docs.totem.ing/api/totemsdk-core/functions/F | F addressToRoot | https://docs.totem.ing/api/totemsdk-core/functions/addressToRoot | addressToRoot aggregateSignatures | https://docs.totem.ing/api/totemsdk-core/functions/aggregateSignatures | Signatures # Function: aggregateSignatures() > **aggregateSignatures**(`totemSignature`, `externalSignatures`): `Uint8Array`\<`ArrayBufferLike`\>[] ## Parameters ### totemSignature #### publicKey `Uint8Array` #### signature `Uint8Array` ### externalSignatures [`ExternalSignature`](. assert32 | https://docs.totem.ing/api/totemsdk-core/functions/assert32 | Function: assert32() > **assert32**(`u`, `label? baseWWithChecksum | https://docs.totem.ing/api/totemsdk-core/functions/baseWWithChecksum | WWithChecksum # Function: baseWWithChecksum() > **baseWWithChecksum**(`msgHash`, `paramSet? bigIntToByteArray | https://docs.totem.ing/api/totemsdk-core/functions/bigIntToByteArray | IntToByteArray # Function: bigIntToByteArray() > **bigIntToByteArray**(`value`): `Uint8Array` Convert a BigInt to Java BigInteger. buildMinimaCoin | https://docs.totem.ing/api/totemsdk-core/functions/buildMinimaCoin | MinimaCoin # Function: buildMinimaCoin() > **buildMinimaCoin**(`opts`): [`MinimaCoin`](. buildScriptProofFromDescriptor | https://docs.totem.ing/api/totemsdk-core/functions/buildScriptProofFromDescriptor | ScriptProofFromDescriptor # Function: buildScriptProofFromDescriptor() > **buildScriptProofFromDescriptor**(`descriptor`): [`ScriptProofResult`](. bytesToUtf8 | https://docs.totem.ing/api/totemsdk-core/functions/bytesToUtf8 | bytesToUtf8 calculateProofRoot | https://docs.totem.ing/api/totemsdk-core/functions/calculateProofRoot | ProofRoot # Function: calculateProofRoot() > **calculateProofRoot**(`leafData`, `proof`): `Bytes` Calculate root from leaf data and proof Matches SignatureProof. canonicalJson | https://docs.totem.ing/api/totemsdk-core/functions/canonicalJson | canonicalJson cleanSeedPhrase | https://docs.totem.ing/api/totemsdk-core/functions/cleanSeedPhrase | SeedPhrase # Function: cleanSeedPhrase() > **cleanSeedPhrase**(`seedPhrase`): `string` Clean and normalize a seed phrase matching Minima's BIP39. computeScriptAddress | https://docs.totem.ing/api/totemsdk-core/functions/computeScriptAddress | computeScriptAddress concat | https://docs.totem.ing/api/totemsdk-core/functions/concat | Function: concat() > **concat**(. convertFlatChunkToSDK | https://docs.totem.ing/api/totemsdk-core/functions/convertFlatChunkToSDK | FlatChunkToSDK # Function: convertFlatChunkToSDK() > **convertFlatChunkToSDK**(`chunk`): [`MMRProofChunk`](. convertLegacyProofToSDK | https://docs.totem.ing/api/totemsdk-core/functions/convertLegacyProofToSDK | LegacyProofToSDK # Function: convertLegacyProofToSDK() > **convertLegacyProofToSDK**(`legacy`): `object` ## Parameters ### legacy [`LegacyMMRProof`](. convertStringToSeed | https://docs.totem.ing/api/totemsdk-core/functions/convertStringToSeed | StringToSeed # Function: convertStringToSeed() > **convertStringToSeed**(`phrase`): `Uint8Array` Convert a seed phrase to a 32-byte seed matching Minima's BIP39. convertWordListToSeed | https://docs.totem.ing/api/totemsdk-core/functions/convertWordListToSeed | WordListToSeed # Function: convertWordListToSeed() > **convertWordListToSeed**(`words`): `Uint8Array` Convert word array to seed matching Minima's BIP39. createAdapterRegistry | https://docs.totem.ing/api/totemsdk-core/functions/createAdapterRegistry | AdapterRegistry # Function: createAdapterRegistry() > **createAdapterRegistry**(`adapters`): [`AdapterRegistry`](. createCancellationToken | https://docs.totem.ing/api/totemsdk-core/functions/createCancellationToken | CancellationToken # Function: createCancellationToken() > **createCancellationToken**(): [`CancellationTokenSource`](. createDefaultTransaction | https://docs.totem.ing/api/totemsdk-core/functions/createDefaultTransaction | DefaultTransaction # Function: createDefaultTransaction() > **createDefaultTransaction**(): [`MinimaTransaction`](. createEmptyMMRProof | https://docs.totem.ing/api/totemsdk-core/functions/createEmptyMMRProof | EmptyMMRProof # Function: createEmptyMMRProof() > **createEmptyMMRProof**(): [`MMRProof`](. createExchangeDescriptor | https://docs.totem.ing/api/totemsdk-core/functions/createExchangeDescriptor | ExchangeDescriptor # Function: createExchangeDescriptor() > **createExchangeDescriptor**(`address`, `ownerPublicKey`, `desiredAddress`, `desiredAmount`, `desiredTokenId`): [`ScriptDescriptor`](. createFlashCashDescriptor | https://docs.totem.ing/api/totemsdk-core/functions/createFlashCashDescriptor | FlashCashDescriptor # Function: createFlashCashDescriptor() > **createFlashCashDescriptor**(`address`, `ownerPublicKey`, `interestMultiplier? createHTLCDescriptor | https://docs.totem.ing/api/totemsdk-core/functions/createHTLCDescriptor | HTLCDescriptor # Function: createHTLCDescriptor() > **createHTLCDescriptor**(`address`, `ownerPublicKey`, `recipientPublicKey`, `hashLock`, `timeoutBlock`, `isOwner`, `preimage? createMASTDescriptor | https://docs.totem.ing/api/totemsdk-core/functions/createMASTDescriptor | MASTDescriptor # Function: createMASTDescriptor() > **createMASTDescriptor**(`address`, `rootHash`, `branchScript`, `branchProof`, `wotsPublicKey? createMMRDataLeafNode | https://docs.totem.ing/api/totemsdk-core/functions/createMMRDataLeafNode | MMRDataLeafNode # Function: createMMRDataLeafNode() > **createMMRDataLeafNode**(`pubkey`, `sumValue? createMMRDataParentNode | https://docs.totem.ing/api/totemsdk-core/functions/createMMRDataParentNode | MMRDataParentNode # Function: createMMRDataParentNode() > **createMMRDataParentNode**(`left`, `right`): [`MMRData`](. createMMREntryNumber | https://docs.totem.ing/api/totemsdk-core/functions/createMMREntryNumber | MMREntryNumber # Function: createMMREntryNumber() > **createMMREntryNumber**(`value`): [`JavaMMREntryNumber`](. createMofNMultisigDescriptor | https://docs.totem.ing/api/totemsdk-core/functions/createMofNMultisigDescriptor | MofNMultisigDescriptor # Function: createMofNMultisigDescriptor() > **createMofNMultisigDescriptor**(`address`, `threshold`, `publicKeys`, `ownPublicKey`): [`ScriptDescriptor`](. createMultisigDescriptor | https://docs.totem.ing/api/totemsdk-core/functions/createMultisigDescriptor | MultisigDescriptor # Function: createMultisigDescriptor() > **createMultisigDescriptor**(`address`, `publicKey1`, `publicKey2`, `ownPublicKey`): [`ScriptDescriptor`](. createPerAddressTreeKey | https://docs.totem.ing/api/totemsdk-core/functions/createPerAddressTreeKey | PerAddressTreeKey # ~~Function: createPerAddressTreeKey()~~ > **createPerAddressTreeKey**(`baseSeed`, `addressIndex`): [`TreeKey`](. createPerAddressTreeKeyAsync | https://docs.totem.ing/api/totemsdk-core/functions/createPerAddressTreeKeyAsync | PerAddressTreeKeyAsync # ~~Function: createPerAddressTreeKeyAsync()~~ > **createPerAddressTreeKeyAsync**(`baseSeed`, `addressIndex`, `onProgress? createSignedByDescriptor | https://docs.totem.ing/api/totemsdk-core/functions/createSignedByDescriptor | SignedByDescriptor # Function: createSignedByDescriptor() > **createSignedByDescriptor**(`address`, `wotsRootPublicKey`): [`ScriptDescriptor`](. createSlowCashDescriptor | https://docs.totem.ing/api/totemsdk-core/functions/createSlowCashDescriptor | SlowCashDescriptor # Function: createSlowCashDescriptor() > **createSlowCashDescriptor**(`address`, `ownerPublicKey`, `withdrawalPercent? createTimelockDescriptor | https://docs.totem.ing/api/totemsdk-core/functions/createTimelockDescriptor | TimelockDescriptor # Function: createTimelockDescriptor() > **createTimelockDescriptor**(`address`, `publicKey`, `unlockBlock`): [`ScriptDescriptor`](. createUnifiedChildTreeKey | https://docs.totem.ing/api/totemsdk-core/functions/createUnifiedChildTreeKey | UnifiedChildTreeKey # Function: createUnifiedChildTreeKey() > **createUnifiedChildTreeKey**(`baseSeed`, `index`): [`TreeKey`](. createUnifiedChildTreeKeyAsync | https://docs.totem.ing/api/totemsdk-core/functions/createUnifiedChildTreeKeyAsync | UnifiedChildTreeKeyAsync # Function: createUnifiedChildTreeKeyAsync() > **createUnifiedChildTreeKeyAsync**(`baseSeed`, `index`, `onProgress? createUnifiedRootTreeKey | https://docs.totem.ing/api/totemsdk-core/functions/createUnifiedRootTreeKey | UnifiedRootTreeKey # Function: createUnifiedRootTreeKey() > **createUnifiedRootTreeKey**(`baseSeed`): [`TreeKey`](. deduplicateScriptDescriptors | https://docs.totem.ing/api/totemsdk-core/functions/deduplicateScriptDescriptors | ScriptDescriptors # Function: deduplicateScriptDescriptors() > **deduplicateScriptDescriptors**(`descriptors`): `Map`\<`string`, [`ScriptDescriptor`](. deriveAddressFromPublicKey | https://docs.totem.ing/api/totemsdk-core/functions/deriveAddressFromPublicKey | deriveAddressFromPublicKey deriveChildTreeSeedJava | https://docs.totem.ing/api/totemsdk-core/functions/deriveChildTreeSeedJava | ChildTreeSeedJava # Function: deriveChildTreeSeedJava() > **deriveChildTreeSeedJava**(`childSeed`, `childIndex`): `Uint8Array` Derive child tree seed matching Java TreeKeyNode. deriveUnifiedAddressPublicKey | https://docs.totem.ing/api/totemsdk-core/functions/deriveUnifiedAddressPublicKey | UnifiedAddressPublicKey # Function: deriveUnifiedAddressPublicKey() > **deriveUnifiedAddressPublicKey**(`baseSeed`, `index`): `Bytes` Fast path for deriving a child address public key without constructing the full TreeKey. deriveUnifiedChildSeed | https://docs.totem.ing/api/totemsdk-core/functions/deriveUnifiedChildSeed | UnifiedChildSeed # Function: deriveUnifiedChildSeed() > **deriveUnifiedChildSeed**(`baseSeed`, `index`): `Uint8Array` Derive a unified child seed for the address at `index`. deserializeTreeSignature | https://docs.totem.ing/api/totemsdk-core/functions/deserializeTreeSignature | TreeSignature # Function: deserializeTreeSignature() > **deserializeTreeSignature**(`data`): [`TreeSignature`](. encodeMiniData | https://docs.totem.ing/api/totemsdk-core/functions/encodeMiniData | encodeMiniData encodeMiniNumber | https://docs.totem.ing/api/totemsdk-core/functions/encodeMiniNumber | MiniNumber # Function: encodeMiniNumber() > **encodeMiniNumber**(`value`, `scale? encodeMiniString | https://docs.totem.ing/api/totemsdk-core/functions/encodeMiniString | encodeMiniString encodeStateValue | https://docs.totem.ing/api/totemsdk-core/functions/encodeStateValue | StateValue # Function: encodeStateValue() > **encodeStateValue**(`stateValue`): `Uint8Array` ## Parameters ### stateValue [`StateValue`](. finalizeLease | https://docs.totem.ing/api/totemsdk-core/functions/finalizeLease | finalizeLease flatIndexFromLanes | https://docs.totem.ing/api/totemsdk-core/functions/flatIndexFromLanes | flatIndexFromLanes fromHex | https://docs.totem.ing/api/totemsdk-core/functions/fromHex | fromHex generateSeedPhrase | https://docs.totem.ing/api/totemsdk-core/functions/generateSeedPhrase | generateSeedPhrase generateWordList | https://docs.totem.ing/api/totemsdk-core/functions/generateWordList | WordList # Function: generateWordList() > **generateWordList**(): `string`[] Generate a new random 24-word seed phrase Uses crypto. getParamSet | https://docs.totem.ing/api/totemsdk-core/functions/getParamSet | ParamSet # Function: getParamSet() > **getParamSet**(`_env? getRootPublicKey | https://docs.totem.ing/api/totemsdk-core/functions/getRootPublicKey | RootPublicKey # Function: getRootPublicKey() > **getRootPublicKey**(`proof`): `Bytes` Compute root public key from a Winternitz signature proof Matches SignatureProof. hashAllObjects | https://docs.totem.ing/api/totemsdk-core/functions/hashAllObjects | AllObjects # Function: hashAllObjects() > **hashAllObjects**(. hashCanonical | https://docs.totem.ing/api/totemsdk-core/functions/hashCanonical | hashCanonical hashObject | https://docs.totem.ing/api/totemsdk-core/functions/hashObject | Object # Function: hashObject() > **hashObject**(`data`): `Uint8Array` Hash a single object matching Java's Crypto. hex | https://docs.totem.ing/api/totemsdk-core/functions/hex | hex indexToMiniDataBytes | https://docs.totem.ing/api/totemsdk-core/functions/indexToMiniDataBytes | ToMiniDataBytes # Function: indexToMiniDataBytes() > **indexToMiniDataBytes**(`index`): `Uint8Array` Convert index to MiniData bytes matching Java's: new MiniData(new BigInteger(Integer. javaHashAllObjects | https://docs.totem.ing/api/totemsdk-core/functions/javaHashAllObjects | HashAllObjects # Function: javaHashAllObjects() > **javaHashAllObjects**(. mmrLeafExact | https://docs.totem.ing/api/totemsdk-core/functions/mmrLeafExact | LeafExact # Function: mmrLeafExact() > **mmrLeafExact**(`script`): `Bytes` Byte-exact one-leaf MMR leaf used by Minima Address. mmrRootFromSingleLeaf | https://docs.totem.ing/api/totemsdk-core/functions/mmrRootFromSingleLeaf | RootFromSingleLeaf # Function: mmrRootFromSingleLeaf() > **mmrRootFromSingleLeaf**(`script`): `Bytes` In a single-leaf MMR the root equals the leaf commitment. mxToHex | https://docs.totem.ing/api/totemsdk-core/functions/mxToHex | ToHex # Function: mxToHex() > **mxToHex**(`address`): `string` Convert an Mx (radix-32) or hex Minima address to lowercase hex. normalizeHex | https://docs.totem.ing/api/totemsdk-core/functions/normalizeHex | normalizeHex parseDecimalToMiniNumber | https://docs.totem.ing/api/totemsdk-core/functions/parseDecimalToMiniNumber | DecimalToMiniNumber # Function: parseDecimalToMiniNumber() > **parseDecimalToMiniNumber**(`decimal`): [`ParsedMiniNumber`](. parseMMRProofFromHex | https://docs.totem.ing/api/totemsdk-core/functions/parseMMRProofFromHex | MMRProofFromHex # Function: parseMMRProofFromHex() > **parseMMRProofFromHex**(`data`): `object` Deserialize MMRProof from bytes matching Minima's MMRProof. phraseToSeed | https://docs.totem.ing/api/totemsdk-core/functions/phraseToSeed | ToSeed # Function: phraseToSeed() > **phraseToSeed**(`rawPhrase`): `Uint8Array` Full pipeline: raw user input → 32-byte seed 1. prepareLease | https://docs.totem.ing/api/totemsdk-core/functions/prepareLease | Lease # Function: prepareLease() > **prepareLease**(`apiUrl`, `apiKey`, `args`): `Promise`\<[`PrepareResp`](. prfChainSeed | https://docs.totem.ing/api/totemsdk-core/functions/prfChainSeed | ChainSeed # ~~Function: prfChainSeed()~~ > **prfChainSeed**(`seed`, `i`, `j`, `_paramSet`): `Uint8Array` ## Parameters ### seed `Uint8Array` ### i `number` ### j `number` ### \_paramSet [`ParamSet`](. scriptFromWotsPk | https://docs.totem.ing/api/totemsdk-core/functions/scriptFromWotsPk | FromWotsPk # Function: scriptFromWotsPk() > **scriptFromWotsPk**(`pkDigest32`): `string` Produce KISSVM script that authorizes with a WOTS PK digest (32 bytes). scriptToAddress | https://docs.totem.ing/api/totemsdk-core/functions/scriptToAddress | scriptToAddress serializeCoin | https://docs.totem.ing/api/totemsdk-core/functions/serializeCoin | Coin # Function: serializeCoin() > **serializeCoin**(`coin`): `Uint8Array` ## Parameters ### coin [`MinimaCoin`](. serializeExtraScripts | https://docs.totem.ing/api/totemsdk-core/functions/serializeExtraScripts | serializeExtraScripts serializeMMRData | https://docs.totem.ing/api/totemsdk-core/functions/serializeMMRData | MMRData # Function: serializeMMRData() > **serializeMMRData**(`mmrData`): `Uint8Array` Serialize MMRData matching Java MMRData. serializeMMREntry | https://docs.totem.ing/api/totemsdk-core/functions/serializeMMREntry | MMREntry # Function: serializeMMREntry() > **serializeMMREntry**(`entry`): `Uint8Array` Serialize MMREntry matching Java MMREntry. serializeMMREntryNumber | https://docs.totem.ing/api/totemsdk-core/functions/serializeMMREntryNumber | MMREntryNumber # Function: serializeMMREntryNumber() > **serializeMMREntryNumber**(`entry`): `Uint8Array` Serialize MMREntryNumber matching Java MMREntryNumber. serializeMMRProof | https://docs.totem.ing/api/totemsdk-core/functions/serializeMMRProof | MMRProof # Function: serializeMMRProof() > **serializeMMRProof**(`proof`, `blockTime? serializeMMRProofChunk | https://docs.totem.ing/api/totemsdk-core/functions/serializeMMRProofChunk | MMRProofChunk # Function: serializeMMRProofChunk() > **serializeMMRProofChunk**(`chunk`): `Uint8Array` ## Parameters ### chunk [`MMRProofChunk`](. serializeMiniData | https://docs.totem.ing/api/totemsdk-core/functions/serializeMiniData | MiniData # Function: serializeMiniData() > **serializeMiniData**(`data`): `Uint8Array` Serialize bytes in MiniData format (Java compatible) Re-export of Streamable. serializeMiniNumber | https://docs.totem.ing/api/totemsdk-core/functions/serializeMiniNumber | MiniNumber # Function: serializeMiniNumber() > **serializeMiniNumber**(`n`): `Uint8Array` Serialize a number in MiniNumber format (Java compatible) Thin wrapper over Streamable. serializeMiniNumberONE | https://docs.totem.ing/api/totemsdk-core/functions/serializeMiniNumberONE | MiniNumberONE # Function: serializeMiniNumberONE() > **serializeMiniNumberONE**(): `Uint8Array` Serialize MiniNumber. serializeMiniNumberZERO | https://docs.totem.ing/api/totemsdk-core/functions/serializeMiniNumberZERO | MiniNumberZERO # Function: serializeMiniNumberZERO() > **serializeMiniNumberZERO**(): `Uint8Array` Serialize MiniNumber. serializeScriptProofWithProof | https://docs.totem.ing/api/totemsdk-core/functions/serializeScriptProofWithProof | ScriptProofWithProof # Function: serializeScriptProofWithProof() > **serializeScriptProofWithProof**(`script`, `proof`, `blockTime? serializeStateVariables | https://docs.totem.ing/api/totemsdk-core/functions/serializeStateVariables | StateVariables # Function: serializeStateVariables() > **serializeStateVariables**(`stateValues`): `Uint8Array` ## Parameters ### stateValues [`StateValue`](. serializeTreeSignature | https://docs.totem.ing/api/totemsdk-core/functions/serializeTreeSignature | TreeSignature # Function: serializeTreeSignature() > **serializeTreeSignature**(`sig`): `Bytes` Serialize a TreeSignature to bytes Uses Streamable. simpleTotemSendRequest | https://docs.totem.ing/api/totemsdk-core/functions/simpleTotemSendRequest | TotemSendRequest # Function: simpleTotemSendRequest() > **simpleTotemSendRequest**(`to`, `amount`, `tokenId? toHex | https://docs.totem.ing/api/totemsdk-core/functions/toHex | toHex toWinternitzDigits | https://docs.totem.ing/api/totemsdk-core/functions/toWinternitzDigits | WinternitzDigits # Function: toWinternitzDigits() > **toWinternitzDigits**(`hash32`, `ps? u16be | https://docs.totem.ing/api/totemsdk-core/functions/u16be | u16be u32be | https://docs.totem.ing/api/totemsdk-core/functions/u32be | u32be utf8ToBytes | https://docs.totem.ing/api/totemsdk-core/functions/utf8ToBytes | utf8ToBytes validateExternalSignature | https://docs.totem.ing/api/totemsdk-core/functions/validateExternalSignature | ExternalSignature # Function: validateExternalSignature() > **validateExternalSignature**(`signature`, `transactionDigest`): `boolean` ## Parameters ### signature [`ExternalSignature`](. validatePhrase | https://docs.totem.ing/api/totemsdk-core/functions/validatePhrase | validatePhrase validateSendTransactionRequest | https://docs.totem.ing/api/totemsdk-core/functions/validateSendTransactionRequest | validateSendTransactionRequest verifySignature | https://docs.totem.ing/api/totemsdk-core/functions/verifySignature | verifySignature verifySignatureDetailed | https://docs.totem.ing/api/totemsdk-core/functions/verifySignatureDetailed | SignatureDetailed # Function: verifySignatureDetailed() > **verifySignatureDetailed**(`address`, `message`, `signatureHex`, `publicKeyHex`): [`VerificationResult`](. verifyTreeSignature | https://docs.totem.ing/api/totemsdk-core/functions/verifyTreeSignature | TreeSignature # Function: verifyTreeSignature() > **verifyTreeSignature**(`expectedPubkey`, `data`, `signature`): `boolean` Verify a tree signature against expected public key and data Matches TreeKey. verifyTreeSignatureDetailed | https://docs.totem.ing/api/totemsdk-core/functions/verifyTreeSignatureDetailed | TreeSignatureDetailed # Function: verifyTreeSignatureDetailed() > **verifyTreeSignatureDetailed**(`expectedPubkey`, `data`, `signature`): [`VerificationResult`](. wotsAddressFromKeypair | https://docs.totem.ing/api/totemsdk-core/functions/wotsAddressFromKeypair | wotsAddressFromKeypair wotsKeypairFromSeed | https://docs.totem.ing/api/totemsdk-core/functions/wotsKeypairFromSeed | wotsKeypairFromSeed wotsSignLegacy | https://docs.totem.ing/api/totemsdk-core/functions/wotsSignLegacy | SignLegacy # Function: wotsSignLegacy() > **wotsSignLegacy**(`msgHash`, `seed`, `index`, `paramSet? writeHashToStream | https://docs.totem.ing/api/totemsdk-core/functions/writeHashToStream | HashToStream # Function: writeHashToStream() > **writeHashToStream**(`data`): `Uint8Array` Serialize hash in MiniData. writeMMREntryNumber | https://docs.totem.ing/api/totemsdk-core/functions/writeMMREntryNumber | MMREntryNumber # Function: writeMMREntryNumber() > **writeMMREntryNumber**(`value`, `scale? writeMiniByte | https://docs.totem.ing/api/totemsdk-core/functions/writeMiniByte | MiniByte # Function: writeMiniByte() > **writeMiniByte**(`value`): `Uint8Array` Encode a MiniByte per Java MiniByte. writeMiniNumber | https://docs.totem.ing/api/totemsdk-core/functions/writeMiniNumber | MiniNumber # Function: writeMiniNumber() > **writeMiniNumber**(`value`, `scale? AdapterRegistry | https://docs.totem.ing/api/totemsdk-core/interfaces/AdapterRegistry | AdapterRegistry # Interface: AdapterRegistry ## Properties ### auth > **auth**: [`AuthTokenProvider`](AuthTokenProvider. AuthTokenProvider | https://docs.totem.ing/api/totemsdk-core/interfaces/AuthTokenProvider | AuthTokenProvider CancellationToken | https://docs.totem.ing/api/totemsdk-core/interfaces/CancellationToken | CancellationToken CancellationTokenSource | https://docs.totem.ing/api/totemsdk-core/interfaces/CancellationTokenSource | CancellationTokenSource # Interface: CancellationTokenSource ## Properties ### token > `readonly` **token**: [`CancellationToken`](CancellationToken. CoinProofData | https://docs.totem.ing/api/totemsdk-core/interfaces/CoinProofData | CoinProofData # Interface: CoinProofData ## Properties ### address > **address**: `Uint8Array` *** ### blockCreated > **blockCreated**: `bigint` *** ### coinId > **coinId**: `Uint8Array` *** ### mmrEntryNumber > **mmrEntryNumber**: `bigint` *** ### rawAmountBytes > **rawAmountBytes**: `Uint8Array` *** ### rawBlockCreatedBytes > **rawBlockCreatedBytes**: `Uint8Array` *** ### rawMmrEntryBytes > **rawMmrEntryBytes**: `Uint8Array` *** ### rawTokenData? ConfigProvider | https://docs.totem.ing/api/totemsdk-core/interfaces/ConfigProvider | ConfigProvider # Interface: ConfigProvider ## Properties ### apiKey? CryptoAdapter | https://docs.totem.ing/api/totemsdk-core/interfaces/CryptoAdapter | CryptoAdapter DAppContractCallParams | https://docs.totem.ing/api/totemsdk-core/interfaces/DAppContractCallParams | DAppContractCallParams # Interface: DAppContractCallParams ## Properties ### args? DAppHtlcParams | https://docs.totem.ing/api/totemsdk-core/interfaces/DAppHtlcParams | DAppHtlcParams DAppLiquidityParams | https://docs.totem.ing/api/totemsdk-core/interfaces/DAppLiquidityParams | DAppLiquidityParams # Interface: DAppLiquidityParams ## Properties ### amountA? DAppMultisigParams | https://docs.totem.ing/api/totemsdk-core/interfaces/DAppMultisigParams | DAppMultisigParams # Interface: DAppMultisigParams ## Properties ### publicKeys > **publicKeys**: `string`[] *** ### requiredSignatures > **requiredSignatures**: `number` *** ### timeoutBlocks? DAppStateVariable | https://docs.totem.ing/api/totemsdk-core/interfaces/DAppStateVariable | DAppStateVariable # Interface: DAppStateVariable ## Properties ### port > **port**: `number` *** ### type? DAppSwapParams | https://docs.totem.ing/api/totemsdk-core/interfaces/DAppSwapParams | DAppSwapParams # Interface: DAppSwapParams ## Properties ### amountIn > **amountIn**: `string` *** ### fromTokenId > **fromTokenId**: `string` *** ### minAmountOut > **minAmountOut**: `string` *** ### poolAddress? DAppTimelockParams | https://docs.totem.ing/api/totemsdk-core/interfaces/DAppTimelockParams | DAppTimelockParams # Interface: DAppTimelockParams ## Properties ### fallbackAddress? DAppTransactionInput | https://docs.totem.ing/api/totemsdk-core/interfaces/DAppTransactionInput | DAppTransactionInput # Interface: DAppTransactionInput ## Properties ### address? DAppTransactionOutput | https://docs.totem.ing/api/totemsdk-core/interfaces/DAppTransactionOutput | DAppTransactionOutput # Interface: DAppTransactionOutput ## Properties ### address > **address**: `string` *** ### amount > **amount**: `string` *** ### script? ExternalSignature | https://docs.totem.ing/api/totemsdk-core/interfaces/ExternalSignature | ExternalSignature # Interface: ExternalSignature ## Properties ### proof? FinalizeRequest | https://docs.totem.ing/api/totemsdk-core/interfaces/FinalizeRequest | FinalizeRequest # Interface: FinalizeRequest ## Properties ### importId? FinalizeResponse | https://docs.totem.ing/api/totemsdk-core/interfaces/FinalizeResponse | FinalizeResponse FlatMMRProofChunk | https://docs.totem.ing/api/totemsdk-core/interfaces/FlatMMRProofChunk | FlatMMRProofChunk HierarchicalWitnessBundle | https://docs.totem.ing/api/totemsdk-core/interfaces/HierarchicalWitnessBundle | HierarchicalWitnessBundle # Interface: HierarchicalWitnessBundle Hierarchical witness bundle produced by per-address TreeKey signing. HttpClient | https://docs.totem.ing/api/totemsdk-core/interfaces/HttpClient | HttpClient # Interface: HttpClient ## Methods ### delete() > **delete**\<`T`\>(`url`, `options? HttpRequestOptions | https://docs.totem.ing/api/totemsdk-core/interfaces/HttpRequestOptions | HttpRequestOptions # Interface: HttpRequestOptions ## Properties ### cancellationToken? HttpResponse | https://docs.totem.ing/api/totemsdk-core/interfaces/HttpResponse | HttpResponse JavaMMRData | https://docs.totem.ing/api/totemsdk-core/interfaces/JavaMMRData | JavaMMRData # Interface: JavaMMRData MMRData interface for serialization purposes Matches Minima's MMRData. JavaMMREntry | https://docs.totem.ing/api/totemsdk-core/interfaces/JavaMMREntry | JavaMMREntry # Interface: JavaMMREntry MMREntry interface for serialization purposes Matches Minima's MMREntry. JavaMMREntryNumber | https://docs.totem.ing/api/totemsdk-core/interfaces/JavaMMREntryNumber | JavaMMREntryNumber # Interface: JavaMMREntryNumber MMREntryNumber interface matching Minima's MMREntryNumber. KeyGenProgress | https://docs.totem.ing/api/totemsdk-core/interfaces/KeyGenProgress | KeyGenProgress LeaseExpiryEvent | https://docs.totem.ing/api/totemsdk-core/interfaces/LeaseExpiryEvent | LeaseExpiryEvent # Interface: LeaseExpiryEvent ## Properties ### expiresAt > **expiresAt**: `number` *** ### lease > **lease**: [`StoredLease`](StoredLease. LeaseMonitorConfig | https://docs.totem.ing/api/totemsdk-core/interfaces/LeaseMonitorConfig | LeaseMonitorConfig # Interface: LeaseMonitorConfig ## Properties ### defaultIntervalMs? LeaseStoreConfig | https://docs.totem.ing/api/totemsdk-core/interfaces/LeaseStoreConfig | LeaseStoreConfig # Interface: LeaseStoreConfig ## Properties ### storageKey? LeaseWotsIndices | https://docs.totem.ing/api/totemsdk-core/interfaces/LeaseWotsIndices | LeaseWotsIndices LegacyMMRProof | https://docs.totem.ing/api/totemsdk-core/interfaces/LegacyMMRProof | LegacyMMRProof # Interface: LegacyMMRProof ## Properties ### blockTime > **blockTime**: `bigint` *** ### proofChain > **proofChain**: [`FlatMMRProofChunk`](FlatMMRProofChunk. LifecycleAdapter | https://docs.totem.ing/api/totemsdk-core/interfaces/LifecycleAdapter | LifecycleAdapter # Interface: LifecycleAdapter ## Methods ### onResume()? LoggerAdapter | https://docs.totem.ing/api/totemsdk-core/interfaces/LoggerAdapter | LoggerAdapter # Interface: LoggerAdapter ## Methods ### debug() > **debug**(`message`, . MMRData | https://docs.totem.ing/api/totemsdk-core/interfaces/MMRData | MMRData # Interface: MMRData MMRData structure matching Minima's MMRData. MMREntry | https://docs.totem.ing/api/totemsdk-core/interfaces/MMREntry | MMREntry # Interface: MMREntry MMREntry structure matching Minima's MMREntry. MMRProof | https://docs.totem.ing/api/totemsdk-core/interfaces/MMRProof | MMRProof # Interface: MMRProof MMRProof structure matching Minima's MMRProof. MMRProofChunk | https://docs.totem.ing/api/totemsdk-core/interfaces/MMRProofChunk | MMRProofChunk # Interface: MMRProofChunk MMRProofChunk - one step in the proof path Matches Minima's MMRProof structure ## Properties ### isLeft > **isLeft**: `boolean` *** ### mmrData > **mmrData**: [`MMRData`](MMRData. MetricsAdapter | https://docs.totem.ing/api/totemsdk-core/interfaces/MetricsAdapter | MetricsAdapter # Interface: MetricsAdapter ## Methods ### gauge() > **gauge**(`name`, `value`, `tags? MinimaCoin | https://docs.totem.ing/api/totemsdk-core/interfaces/MinimaCoin | MinimaCoin # Interface: MinimaCoin ## Properties ### address > **address**: `Uint8Array` *** ### amount > **amount**: `string` *** ### coinId > **coinId**: `Uint8Array` *** ### created > **created**: `bigint` *** ### mmrEntryNumber > **mmrEntryNumber**: `bigint` *** ### rawAmountBytes? MinimaToken | https://docs.totem.ing/api/totemsdk-core/interfaces/MinimaToken | MinimaToken # Interface: MinimaToken ## Properties ### coinId > **coinId**: `Uint8Array` *** ### created? MinimaTransaction | https://docs.totem.ing/api/totemsdk-core/interfaces/MinimaTransaction | MinimaTransaction # Interface: MinimaTransaction ## Properties ### inputs > **inputs**: [`MinimaCoin`](MinimaCoin. ParsedMiniNumber | https://docs.totem.ing/api/totemsdk-core/interfaces/ParsedMiniNumber | ParsedMiniNumber PrepareRequest | https://docs.totem.ing/api/totemsdk-core/interfaces/PrepareRequest | PrepareRequest # Interface: PrepareRequest ## Properties ### addressIndex? PrepareResponse | https://docs.totem.ing/api/totemsdk-core/interfaces/PrepareResponse | PrepareResponse # Interface: PrepareResponse ## Extended by - [`PrepareResult`](PrepareResult. PrepareResult | https://docs.totem.ing/api/totemsdk-core/interfaces/PrepareResult | PrepareResult # Interface: PrepareResult ## Extends - [`PrepareResponse`](PrepareResponse. RawStateVariable | https://docs.totem.ing/api/totemsdk-core/interfaces/RawStateVariable | RawStateVariable ScriptCatalogEntry | https://docs.totem.ing/api/totemsdk-core/interfaces/ScriptCatalogEntry | ScriptCatalogEntry # Interface: ScriptCatalogEntry ## Properties ### address > **address**: `string` *** ### createdAt > **createdAt**: `number` *** ### lastUsed > **lastUsed**: `number` *** ### script > **script**: `string` *** ### scriptType > **scriptType**: [`ScriptType`](. ScriptDescriptor | https://docs.totem.ing/api/totemsdk-core/interfaces/ScriptDescriptor | ScriptDescriptor # Interface: ScriptDescriptor ## Properties ### address > **address**: `string` *** ### externalSignatures? ScriptProofResult | https://docs.totem.ing/api/totemsdk-core/interfaces/ScriptProofResult | ScriptProofResult # Interface: ScriptProofResult ## Properties ### proof > **proof**: [`MMRProof`](MMRProof. SignRequest | https://docs.totem.ing/api/totemsdk-core/interfaces/SignRequest | SignRequest SignResult | https://docs.totem.ing/api/totemsdk-core/interfaces/SignResult | SignResult # Interface: SignResult ## Properties ### signedHex > **signedHex**: `string` *** ### witnessBundle > **witnessBundle**: [`HierarchicalWitnessBundle`](HierarchicalWitnessBundle. SignatureProof | https://docs.totem.ing/api/totemsdk-core/interfaces/SignatureProof | SignatureProof # Interface: SignatureProof SignatureProof structure matching Minima's SignatureProof. SiteTransactionPermission | https://docs.totem.ing/api/totemsdk-core/interfaces/SiteTransactionPermission | SiteTransactionPermission # Interface: SiteTransactionPermission ## Properties ### expiresAt > **expiresAt**: `number` *** ### grantedAt > **grantedAt**: `number` *** ### origin > **origin**: `string` *** ### scopes > **scopes**: [`TransactionScope`](TransactionScope. SpendableCoinInput | https://docs.totem.ing/api/totemsdk-core/interfaces/SpendableCoinInput | SpendableCoinInput # Interface: SpendableCoinInput ## Properties ### address > **address**: `string` *** ### amount > **amount**: `string` *** ### coinId > **coinId**: `string` *** ### coinProofData? StateValue | https://docs.totem.ing/api/totemsdk-core/interfaces/StateValue | StateValue StateVariable | https://docs.totem.ing/api/totemsdk-core/interfaces/StateVariable | StateVariable StorageAdapter | https://docs.totem.ing/api/totemsdk-core/interfaces/StorageAdapter | StorageAdapter StoredLease | https://docs.totem.ing/api/totemsdk-core/interfaces/StoredLease | StoredLease # Interface: StoredLease ## Properties ### createdAt > **createdAt**: `number` *** ### expiresAt > **expiresAt**: `number` *** ### indices > **indices**: [`LeaseWotsIndices`](LeaseWotsIndices. SyncResult | https://docs.totem.ing/api/totemsdk-core/interfaces/SyncResult | SyncResult TimerAdapter | https://docs.totem.ing/api/totemsdk-core/interfaces/TimerAdapter | TimerAdapter TotemSendTransactionRequest | https://docs.totem.ing/api/totemsdk-core/interfaces/TotemSendTransactionRequest | TotemSendTransactionRequest # Interface: TotemSendTransactionRequest ## Properties ### burn? TotemSendTransactionResponse | https://docs.totem.ing/api/totemsdk-core/interfaces/TotemSendTransactionResponse | TotemSendTransactionResponse # Interface: TotemSendTransactionResponse ## Properties ### artifactId? TransactionBuildResult | https://docs.totem.ing/api/totemsdk-core/interfaces/TransactionBuildResult | TransactionBuildResult # Interface: TransactionBuildResult ## Properties ### digestTx > **digestTx**: `Uint8Array` *** ### digestTxHex > **digestTxHex**: `string` *** ### serialized > **serialized**: `Uint8Array` *** ### serializedHex > **serializedHex**: `string` *** ### transaction > **transaction**: [`MinimaTransaction`](MinimaTransaction. TransactionError | https://docs.totem.ing/api/totemsdk-core/interfaces/TransactionError | TransactionError TransactionLifecycleConfig | https://docs.totem.ing/api/totemsdk-core/interfaces/TransactionLifecycleConfig | TransactionLifecycleConfig # Interface: TransactionLifecycleConfig ## Properties ### syncWatermarkBeforePrepare? TransactionMetadata | https://docs.totem.ing/api/totemsdk-core/interfaces/TransactionMetadata | TransactionMetadata TransactionReceipt | https://docs.totem.ing/api/totemsdk-core/interfaces/TransactionReceipt | TransactionReceipt # Interface: TransactionReceipt ## Properties ### amount > **amount**: `string` *** ### indices > **indices**: [`WotsIndices`](WotsIndices. TransactionReceiptStoreConfig | https://docs.totem.ing/api/totemsdk-core/interfaces/TransactionReceiptStoreConfig | TransactionReceiptStoreConfig # Interface: TransactionReceiptStoreConfig ## Properties ### maxReceipts? TransactionRoundState | https://docs.totem.ing/api/totemsdk-core/interfaces/TransactionRoundState | TransactionRoundState # Interface: TransactionRoundState ## Properties ### newStates > **newStates**: [`StateValue`](StateValue. TransactionScope | https://docs.totem.ing/api/totemsdk-core/interfaces/TransactionScope | TransactionScope # Interface: TransactionScope ## Properties ### allowedIntents > **allowedIntents**: [`DAppTransactionIntent`](. TransactionServiceConfig | https://docs.totem.ing/api/totemsdk-core/interfaces/TransactionServiceConfig | TransactionServiceConfig # Interface: TransactionServiceConfig ## Properties ### apiKey > **apiKey**: `string` *** ### baseUrl > **baseUrl**: `string` *** ### paramSet? TreeSignature | https://docs.totem.ing/api/totemsdk-core/interfaces/TreeSignature | TreeSignature # Interface: TreeSignature Full Signature structure matching Minima's Signature. VerificationResult | https://docs.totem.ing/api/totemsdk-core/interfaces/VerificationResult | VerificationResult # Interface: VerificationResult ## Properties ### error? VerifyOutExpectation | https://docs.totem.ing/api/totemsdk-core/interfaces/VerifyOutExpectation | VerifyOutExpectation WatermarkState | https://docs.totem.ing/api/totemsdk-core/interfaces/WatermarkState | WatermarkState # Interface: WatermarkState ## Properties ### lastSyncTimestamp? WatermarkStoreConfig | https://docs.totem.ing/api/totemsdk-core/interfaces/WatermarkStoreConfig | WatermarkStoreConfig # Interface: WatermarkStoreConfig ## Properties ### storageKey? WatermarkSyncFunction | https://docs.totem.ing/api/totemsdk-core/interfaces/WatermarkSyncFunction | WatermarkSyncFunction WebSocketClient | https://docs.totem.ing/api/totemsdk-core/interfaces/WebSocketClient | WebSocketClient # Interface: WebSocketClient ## Properties ### onclose > **onclose**: ((`ev`) => `void`) \| `null` *** ### onerror > **onerror**: ((`ev`) => `void`) \| `null` *** ### onmessage > **onmessage**: ((`ev`) => `void`) \| `null` *** ### onopen > **onopen**: ((`ev`) => `void`) \| `null` *** ### readyState > `readonly` **readyState**: `number` *** ### url > `readonly` **url**: `string` ## Methods ### addEventListener() > **addEventListener**\<`K`\>(`event`, `listener`): `void` #### Type Parameters ##### K `K` *extends* keyof [`WebSocketEventMap`](. WebSocketCloseEvent | https://docs.totem.ing/api/totemsdk-core/interfaces/WebSocketCloseEvent | WebSocketCloseEvent WebSocketErrorEvent | https://docs.totem.ing/api/totemsdk-core/interfaces/WebSocketErrorEvent | WebSocketErrorEvent # Interface: WebSocketErrorEvent ## Properties ### error? WebSocketFactory | https://docs.totem.ing/api/totemsdk-core/interfaces/WebSocketFactory | WebSocketFactory # Interface: WebSocketFactory ## Methods ### create() > **create**(`url`, `protocols? WebSocketFactoryOptions | https://docs.totem.ing/api/totemsdk-core/interfaces/WebSocketFactoryOptions | WebSocketFactoryOptions # Interface: WebSocketFactoryOptions ## Properties ### maxPayloadBytes? WebSocketMessageEvent | https://docs.totem.ing/api/totemsdk-core/interfaces/WebSocketMessageEvent | WebSocketMessageEvent # Interface: WebSocketMessageEvent ## Properties ### data > **data**: `string` \| [`BinaryData`](. WebSocketOpenEvent | https://docs.totem.ing/api/totemsdk-core/interfaces/WebSocketOpenEvent | WebSocketOpenEvent WitnessBundle | https://docs.totem.ing/api/totemsdk-core/interfaces/WitnessBundle | WitnessBundle # ~~Interface: WitnessBundle~~ ## Deprecated Use HierarchicalWitnessBundle. WotsIndices | https://docs.totem.ing/api/totemsdk-core/interfaces/WotsIndices | WotsIndices WotsSigningDependencies | https://docs.totem.ing/api/totemsdk-core/interfaces/WotsSigningDependencies | WotsSigningDependencies # ~~Interface: WotsSigningDependencies~~ ## Deprecated WotsSigningDependencies is no longer used by TransactionService. BinaryData | https://docs.totem.ing/api/totemsdk-core/type-aliases/BinaryData | BinaryData Bytes | https://docs.totem.ing/api/totemsdk-core/type-aliases/Bytes | Bytes # Type Alias: Bytes > **Bytes** = `Uint8Array` Streamable. DAppTransactionIntent | https://docs.totem.ing/api/totemsdk-core/type-aliases/DAppTransactionIntent | DAppTransactionIntent LeaseExpiryCallback | https://docs.totem.ing/api/totemsdk-core/type-aliases/LeaseExpiryCallback | LeaseExpiryCallback # Type Alias: LeaseExpiryCallback > **LeaseExpiryCallback** = (`event`) => `void` ## Parameters ### event [`LeaseExpiryEvent`](. LeaseStatus | https://docs.totem.ing/api/totemsdk-core/type-aliases/LeaseStatus | LeaseStatus ParamSet | https://docs.totem.ing/api/totemsdk-core/type-aliases/ParamSet | ParamSet # Type Alias: ParamSet > **ParamSet** = `object` WOTS Parameter Set - BouncyCastle Compatible (w=8) Matches Minima Java implementation which uses BouncyCastle: - Winternitz. PrepareArgs | https://docs.totem.ing/api/totemsdk-core/type-aliases/PrepareArgs | PrepareArgs # Type Alias: PrepareArgs > **PrepareArgs** = `object` Totem <-> Axia hardened WOTS helpers (no deps on server internals). PrepareResp | https://docs.totem.ing/api/totemsdk-core/type-aliases/PrepareResp | PrepareResp # Type Alias: PrepareResp > **PrepareResp** = `object` ## Properties ### digestTx? ProgressCallback | https://docs.totem.ing/api/totemsdk-core/type-aliases/ProgressCallback | ProgressCallback # Type Alias: ProgressCallback > **ProgressCallback** = (`progress`) => `void` ## Parameters ### progress [`KeyGenProgress`](. ScriptType | https://docs.totem.ing/api/totemsdk-core/type-aliases/ScriptType | ScriptType StateVariableType | https://docs.totem.ing/api/totemsdk-core/type-aliases/StateVariableType | StateVariableType TimerHandle | https://docs.totem.ing/api/totemsdk-core/type-aliases/TimerHandle | TimerHandle TotemTransactionErrorCode | https://docs.totem.ing/api/totemsdk-core/type-aliases/TotemTransactionErrorCode | TotemTransactionErrorCode WebSocketEventMap | https://docs.totem.ing/api/totemsdk-core/type-aliases/WebSocketEventMap | WebSocketEventMap # Type Alias: WebSocketEventMap > **WebSocketEventMap** = `object` ## Properties ### close > **close**: [`WebSocketCloseEvent`](. WotsKeypair | https://docs.totem.ing/api/totemsdk-core/type-aliases/WotsKeypair | WotsKeypair WotsSignature | https://docs.totem.ing/api/totemsdk-core/type-aliases/WotsSignature | WotsSignature CORE_BUILD_ID | https://docs.totem.ing/api/totemsdk-core/variables/CORE_BUILD_ID | CORE\_BUILD\_ID # Variable: CORE\_BUILD\_ID > `const` **CORE\_BUILD\_ID**: `"2026. CORE_VERSION | https://docs.totem.ing/api/totemsdk-core/variables/CORE_VERSION | CORE\_VERSION # Variable: CORE\_VERSION > `const` **CORE\_VERSION**: `"1. DEFAULT_KEYS_PER_LEVEL | https://docs.totem.ing/api/totemsdk-core/variables/DEFAULT_KEYS_PER_LEVEL | DEFAULT_KEYS_PER_LEVEL DEFAULT_LEVELS | https://docs.totem.ing/api/totemsdk-core/variables/DEFAULT_LEVELS | DEFAULT_LEVELS MINIMA_CONSTANTS | https://docs.totem.ing/api/totemsdk-core/variables/MINIMA_CONSTANTS | MINIMA_CONSTANTS STATETYPE_BOOL | https://docs.totem.ing/api/totemsdk-core/variables/STATETYPE_BOOL | STATETYPE_BOOL STATETYPE_HEX | https://docs.totem.ing/api/totemsdk-core/variables/STATETYPE_HEX | STATETYPE_HEX STATETYPE_NUMBER | https://docs.totem.ing/api/totemsdk-core/variables/STATETYPE_NUMBER | STATETYPE_NUMBER STATETYPE_STRING | https://docs.totem.ing/api/totemsdk-core/variables/STATETYPE_STRING | STATETYPE_STRING TOTEM_SEND_TRANSACTION_VERSION | https://docs.totem.ing/api/totemsdk-core/variables/TOTEM_SEND_TRANSACTION_VERSION | TOTEM_SEND_TRANSACTION_VERSION WORD_LIST | https://docs.totem.ing/api/totemsdk-core/variables/WORD_LIST | WORD\_LIST # Variable: WORD\_LIST > `const` **WORD\_LIST**: readonly `string`[] Official BIP39 English word list (2048 words) From https://github. WOTS_MINIMA | https://docs.totem.ing/api/totemsdk-core/variables/WOTS_MINIMA | WOTS\_MINIMA # Variable: WOTS\_MINIMA > `const` **WOTS\_MINIMA**: [`ParamSet`](. WOTS_V1_DEV | https://docs.totem.ing/api/totemsdk-core/variables/WOTS_V1_DEV | WOTS\_V1\_DEV # Variable: WOTS\_V1\_DEV > `const` **WOTS\_V1\_DEV**: [`ParamSet`](. WOTS_V2_SPEC | https://docs.totem.ing/api/totemsdk-core/variables/WOTS_V2_SPEC | WOTS\_V2\_SPEC # Variable: WOTS\_V2\_SPEC > `const` **WOTS\_V2\_SPEC**: [`ParamSet`](. WebSocketReadyState | https://docs.totem.ing/api/totemsdk-core/variables/WebSocketReadyState | WebSocketReadyState bytesToHex | https://docs.totem.ing/api/totemsdk-core/variables/bytesToHex | ToHex # Variable: bytesToHex > `const` **bytesToHex**: (`bytes`) => `string` = `bytes_to_hex_wasm` Convert bytes to uppercase hex string. computeTransactionDigest | https://docs.totem.ing/api/totemsdk-core/variables/computeTransactionDigest | TransactionDigest # Variable: computeTransactionDigest > `const` **computeTransactionDigest**: (`serialized_tx`) => `Uint8Array` = `compute_transaction_digest_wasm` Compute transaction digest (SHA3-256 of serialized tx). concatBytes | https://docs.totem.ing/api/totemsdk-core/variables/concatBytes | Bytes # Variable: concatBytes > `const` **concatBytes**: (`a`, `b`) => `Uint8Array` = `concat_bytes_wasm` Concatenate multiple byte arrays. createChallenge | https://docs.totem.ing/api/totemsdk-core/variables/createChallenge | Challenge # Variable: createChallenge > `const` **createChallenge**: (`domain`, `statement`) => `string` = `create_challenge_wasm` Create a Sign-In With Wallet challenge. deriveChainSeedJava | https://docs.totem.ing/api/totemsdk-core/variables/deriveChainSeedJava | ChainSeedJava # Variable: deriveChainSeedJava > `const` **deriveChainSeedJava**: (`seed`, `key_index`) => `Uint8Array` = `derive_chain_seed_wasm` Derive chain seed for a specific key index (Java-compatible). deriveFullPublicKey | https://docs.totem.ing/api/totemsdk-core/variables/deriveFullPublicKey | FullPublicKey # Variable: deriveFullPublicKey > `const` **deriveFullPublicKey**: (`seed`, `key_index`) => `Uint8Array` = `derive_full_public_key_wasm` Derive full WOTS public key (1088 bytes). derivePKdigest | https://docs.totem.ing/api/totemsdk-core/variables/derivePKdigest | PKdigest # Variable: derivePKdigest > `const` **derivePKdigest**: (`seed`, `key_index`) => `Uint8Array` = `derive_pk_digest_wasm` Derive WOTS public key digest (32 bytes). derivePerAddressSeed | https://docs.totem.ing/api/totemsdk-core/variables/derivePerAddressSeed | PerAddressSeed # Variable: derivePerAddressSeed > `const` **derivePerAddressSeed**: (`root_seed`, `address_index`) => `Uint8Array` = `derive_per_address_seed_wasm` Derive per-address seed from root seed. deriveRootPrivSeed | https://docs.totem.ing/api/totemsdk-core/variables/deriveRootPrivSeed | RootPrivSeed # Variable: deriveRootPrivSeed > `const` **deriveRootPrivSeed**: (`bip39_seed`) => `Uint8Array` = `derive_root_priv_seed_wasm` Derive root private seed from BIP39 seed. deserializeMMRProof | https://docs.totem.ing/api/totemsdk-core/variables/deserializeMMRProof | MMRProof # ~~Variable: deserializeMMRProof~~ > `const` **deserializeMMRProof**: (`data`) => `object` = `parseMMRProofFromHex` Deserialize MMRProof from bytes matching Minima's MMRProof. expandPrivateKey | https://docs.totem.ing/api/totemsdk-core/variables/expandPrivateKey | PrivateKey # Variable: expandPrivateKey > `const` **expandPrivateKey**: (`seed`) => `Uint8Array` = `expand_private_key_wasm` Expand master seed into L private key chains. h | https://docs.totem.ing/api/totemsdk-core/variables/h | h hashChain | https://docs.totem.ing/api/totemsdk-core/variables/hashChain | Chain # Variable: hashChain > `const` **hashChain**: (`x`, `rounds`) => `Uint8Array` = `hash_chain_wasm` Hash a value k times (hash chain). hexToBytes | https://docs.totem.ing/api/totemsdk-core/variables/hexToBytes | ToBytes # Variable: hexToBytes > `const` **hexToBytes**: (`hex_str`) => `Uint8Array` = `hex_to_bytes_wasm` Convert hex string to bytes. makeMxAddress | https://docs.totem.ing/api/totemsdk-core/variables/makeMxAddress | MxAddress # Variable: makeMxAddress > `const` **makeMxAddress**: (`root32`) => `string` = `make_mx_address_wasm` Encode bytes to Minima Mx address format. mmrRootFromPublicKeys | https://docs.totem.ing/api/totemsdk-core/variables/mmrRootFromPublicKeys | RootFromPublicKeys # Variable: mmrRootFromPublicKeys > `const` **mmrRootFromPublicKeys**: (`pubkeys_flat`, `count`) => `Uint8Array` = `mmr_root_from_public_keys_wasm` Build MMR tree from public key digests and return the root. parseMxAddress | https://docs.totem.ing/api/totemsdk-core/variables/parseMxAddress | MxAddress # Variable: parseMxAddress > `const` **parseMxAddress**: (`address`) => `Uint8Array` = `parse_mx_address_wasm` Decode a Minima Mx address to bytes. precomputeTransactionCoinID | https://docs.totem.ing/api/totemsdk-core/variables/precomputeTransactionCoinID | TransactionCoinID # Variable: precomputeTransactionCoinID > `const` **precomputeTransactionCoinID**: (`txid`, `output_index`) => `Uint8Array` = `precompute_transaction_coin_id_wasm` Precompute output coin IDs before transaction digest. serializeRealMMRProof | https://docs.totem.ing/api/totemsdk-core/variables/serializeRealMMRProof | RealMMRProof # Variable: serializeRealMMRProof > `const` **serializeRealMMRProof**: (`proof`, `blockTime`) => `Bytes` = `serializeMMRProof` ## Parameters ### proof #### chunks `object`[] ### blockTime? serializeTransaction | https://docs.totem.ing/api/totemsdk-core/variables/serializeTransaction | Transaction # Variable: serializeTransaction > `const` **serializeTransaction**: (`tx_json`) => `Uint8Array` = `serialize_transaction_wasm` Serialize a transaction for digest computation. sha3_256 | https://docs.totem.ing/api/totemsdk-core/variables/sha3_256 | Variable: sha3\_256 > `const` **sha3\_256**: (`data`) => `Uint8Array` = `sha3_256_wasm` SHA3-256 hash of data. timingSafeEqual | https://docs.totem.ing/api/totemsdk-core/variables/timingSafeEqual | SafeEqual # Variable: timingSafeEqual > `const` **timingSafeEqual**: (`a`, `b`) => `boolean` = `timing_safe_equal_wasm` Constant-time comparison of two byte arrays. validateChallenge | https://docs.totem.ing/api/totemsdk-core/variables/validateChallenge | Challenge # Variable: validateChallenge > `const` **validateChallenge**: (`challenge_json`, `domain`) => `boolean` = `validate_challenge_wasm` Validate a Sign-In With Wallet challenge. verifyMMRProof | https://docs.totem.ing/api/totemsdk-core/variables/verifyMMRProof | MMRProof # Variable: verifyMMRProof > `const` **verifyMMRProof**: (`leaf_pubkey`, `proof_json`, `expected_root`) => `boolean` = `verify_mmr_proof_wasm` Verify an MMR proof for a leaf public key. wotsPkFromSig | https://docs.totem.ing/api/totemsdk-core/variables/wotsPkFromSig | PkFromSig # Variable: wotsPkFromSig > `const` **wotsPkFromSig**: (`message`, `signature`) => `Uint8Array` = `wots_pk_from_sig_wasm` Recover public key digest from signature. wotsPublicKeyFromSeed | https://docs.totem.ing/api/totemsdk-core/variables/wotsPublicKeyFromSeed | PublicKeyFromSeed # Variable: wotsPublicKeyFromSeed > `const` **wotsPublicKeyFromSeed**: (`seed`, `key_index`) => `Uint8Array` = `derive_pk_digest_wasm` Derive WOTS public key digest (32 bytes). wotsSign | https://docs.totem.ing/api/totemsdk-core/variables/wotsSign | Sign # Variable: wotsSign > `const` **wotsSign**: (`seed`, `key_index`, `message`) => `Uint8Array` = `wots_sign_wasm` Sign a message using WOTS. wotsVerify | https://docs.totem.ing/api/totemsdk-core/variables/wotsVerify | Verify # Variable: wotsVerify > `const` **wotsVerify**: (`sig`, `message`, `pk_full`) => `boolean` = `wots_verify_wasm` Verify WOTS signature against full 1088-byte public key. wotsVerifyDigest | https://docs.totem.ing/api/totemsdk-core/variables/wotsVerifyDigest | VerifyDigest # Variable: wotsVerifyDigest > `const` **wotsVerifyDigest**: (`sig`, `message`, `pk_digest`) => `boolean` = `wots_verify_digest_wasm` Verify WOTS signature against 32-byte public key digest. writeMiniData | https://docs.totem.ing/api/totemsdk-core/variables/writeMiniData | MiniData # Variable: writeMiniData > `const` **writeMiniData**: (`data`) => `Uint8Array` = `write_mini_data_wasm` Write MiniData (Java-compatible serialization). writeMiniString | https://docs.totem.ing/api/totemsdk-core/variables/writeMiniString | MiniString # Variable: writeMiniString > `const` **writeMiniString**: (`s`) => `Uint8Array` = `write_mini_string_wasm` Write MiniString (Java-compatible serialization). EdgeBuyer | https://docs.totem.ing/api/totemsdk-edge/classes/EdgeBuyer | EdgeBuyer # Class: EdgeBuyer ## Constructors ### Constructor > **new EdgeBuyer**(`opts`): `EdgeBuyer` #### Parameters ##### opts [`BuyerOptions`](. EdgeCapabilityError | https://docs.totem.ing/api/totemsdk-edge/classes/EdgeCapabilityError | EdgeCapabilityError # Class: EdgeCapabilityError Typed errors for @totemsdk/edge. EdgeTxPowAdapter | https://docs.totem.ing/api/totemsdk-edge/classes/EdgeTxPowAdapter | EdgeTxPowAdapter # Class: EdgeTxPowAdapter TxPoW adapter — the only place Edge touches @totemsdk/txpow. EdgeWorkPolicy | https://docs.totem.ing/api/totemsdk-edge/classes/EdgeWorkPolicy | EdgeWorkPolicy # Class: EdgeWorkPolicy Edge work policy — answers "am I willing to perform this challenge? InMemoryNegotiationStore | https://docs.totem.ing/api/totemsdk-edge/classes/InMemoryNegotiationStore | InMemoryNegotiationStore # Class: InMemoryNegotiationStore In-memory negotiation store. InMemoryNegotiationTransport | https://docs.totem.ing/api/totemsdk-edge/classes/InMemoryNegotiationTransport | InMemoryNegotiationTransport # Class: InMemoryNegotiationTransport Deterministic in-memory transport for tests and local/programmatic negotiation. InMemoryOutboxStore | https://docs.totem.ing/api/totemsdk-edge/classes/InMemoryOutboxStore | InMemoryOutboxStore # Class: InMemoryOutboxStore In-memory outbox (dev/test). InMemoryPrincipalNegotiationStore | https://docs.totem.ing/api/totemsdk-edge/classes/InMemoryPrincipalNegotiationStore | InMemoryPrincipalNegotiationStore # Class: InMemoryPrincipalNegotiationStore In-memory principal anti-abuse store. InMemoryPurchaseStore | https://docs.totem.ing/api/totemsdk-edge/classes/InMemoryPurchaseStore | InMemoryPurchaseStore # Class: InMemoryPurchaseStore In-memory purchase store. InMemoryReplayLedger | https://docs.totem.ing/api/totemsdk-edge/classes/InMemoryReplayLedger | InMemoryReplayLedger # Class: InMemoryReplayLedger In-memory replay ledger (dev/test). NegotiationEngine | https://docs.totem.ing/api/totemsdk-edge/classes/NegotiationEngine | NegotiationEngine # Class: NegotiationEngine ## Constructors ### Constructor > **new NegotiationEngine**(`opts`): `NegotiationEngine` #### Parameters ##### opts [`NegotiationEngineOptions`](. NegotiationError | https://docs.totem.ing/api/totemsdk-edge/classes/NegotiationError | NegotiationError # Class: NegotiationError ## Extends - `Error` ## Constructors ### Constructor > **new NegotiationError**(`code`, `message`): `NegotiationError` #### Parameters ##### code `string` ##### message `string` #### Returns `NegotiationError` #### Overrides `Error. PurchaseError | https://docs.totem.ing/api/totemsdk-edge/classes/PurchaseError | PurchaseError # Class: PurchaseError purchasing/errors. assertCapability | https://docs.totem.ing/api/totemsdk-edge/functions/assertCapability | Capability # Function: assertCapability() > **assertCapability**(`set`, `cap`): `void` ## Parameters ### set [`EdgeCapabilitySet`](. bindEdgeServiceIdentity | https://docs.totem.ing/api/totemsdk-edge/functions/bindEdgeServiceIdentity | EdgeServiceIdentity # Function: bindEdgeServiceIdentity() > **bindEdgeServiceIdentity**(`signedManifest`, `identityGraph`, `options? createAccountedIntelligencePort | https://docs.totem.ing/api/totemsdk-edge/functions/createAccountedIntelligencePort | AccountedIntelligencePort # Function: createAccountedIntelligencePort() > **createAccountedIntelligencePort**(`options`): [`EdgeIntelligencePort`](. createAgentEdgeRuntime | https://docs.totem.ing/api/totemsdk-edge/functions/createAgentEdgeRuntime | AgentEdgeRuntime # Function: createAgentEdgeRuntime() > **createAgentEdgeRuntime**(`options`): [`AgentEdgeRuntime`](. createBuiltinActionDefinitions | https://docs.totem.ing/api/totemsdk-edge/functions/createBuiltinActionDefinitions | BuiltinActionDefinitions # Function: createBuiltinActionDefinitions() > **createBuiltinActionDefinitions**(`ports`, `trusted? createCapabilitySet | https://docs.totem.ing/api/totemsdk-edge/functions/createCapabilitySet | CapabilitySet # Function: createCapabilitySet() > **createCapabilitySet**(`caps`): [`EdgeCapabilitySet`](. createEdge | https://docs.totem.ing/api/totemsdk-edge/functions/createEdge | Edge # Function: createEdge() > **createEdge**(`opts`): [`EdgeCommerceRuntime`](. createEdgeActionRegistry | https://docs.totem.ing/api/totemsdk-edge/functions/createEdgeActionRegistry | EdgeActionRegistry # Function: createEdgeActionRegistry() > **createEdgeActionRegistry**(): [`EdgeActionRegistry`](. createEdgeDevice | https://docs.totem.ing/api/totemsdk-edge/functions/createEdgeDevice | EdgeDevice # Function: createEdgeDevice() > **createEdgeDevice**(`opts`): [`EdgeDevice`](. createEdgeIntelligencePort | https://docs.totem.ing/api/totemsdk-edge/functions/createEdgeIntelligencePort | EdgeIntelligencePort # Function: createEdgeIntelligencePort() > **createEdgeIntelligencePort**(`provider`): [`EdgeIntelligencePort`](. createEdgeProviderProfile | https://docs.totem.ing/api/totemsdk-edge/functions/createEdgeProviderProfile | EdgeProviderProfile # Function: createEdgeProviderProfile() > **createEdgeProviderProfile**(`opts`): [`EdgeProviderProfile`](. createEdgeReceipt | https://docs.totem.ing/api/totemsdk-edge/functions/createEdgeReceipt | EdgeReceipt # Function: createEdgeReceipt() > **createEdgeReceipt**(`opts`): [`EdgeReceipt`](. createEdgeRuntime | https://docs.totem.ing/api/totemsdk-edge/functions/createEdgeRuntime | EdgeRuntime # Function: createEdgeRuntime() > **createEdgeRuntime**(`opts`): [`EdgeRuntime`](. createEdgeSeller | https://docs.totem.ing/api/totemsdk-edge/functions/createEdgeSeller | EdgeSeller # Function: createEdgeSeller() > **createEdgeSeller**(`opts`): [`EdgeSeller`](. createEdgeServiceManifest | https://docs.totem.ing/api/totemsdk-edge/functions/createEdgeServiceManifest | createEdgeServiceManifest createEdgeServiceRegistration | https://docs.totem.ing/api/totemsdk-edge/functions/createEdgeServiceRegistration | EdgeServiceRegistration # Function: createEdgeServiceRegistration() > **createEdgeServiceRegistration**(`opts`): [`EdgeServiceRegistration`](. createNegotiationRecord | https://docs.totem.ing/api/totemsdk-edge/functions/createNegotiationRecord | NegotiationRecord # Function: createNegotiationRecord() > **createNegotiationRecord**(`opts`): [`NegotiationRecord`](. createOutboxDrainer | https://docs.totem.ing/api/totemsdk-edge/functions/createOutboxDrainer | OutboxDrainer # Function: createOutboxDrainer() > **createOutboxDrainer**(`opts`): `object` Create a bounded outbox drain worker. createPurchaseRecord | https://docs.totem.ing/api/totemsdk-edge/functions/createPurchaseRecord | PurchaseRecord # Function: createPurchaseRecord() > **createPurchaseRecord**(`opts`): [`PurchaseRecord`](. createPurchaseSession | https://docs.totem.ing/api/totemsdk-edge/functions/createPurchaseSession | PurchaseSession # Function: createPurchaseSession() > **createPurchaseSession**(`opts`): [`PurchaseSession`](. deliverOne | https://docs.totem.ing/api/totemsdk-edge/functions/deliverOne | One # Function: deliverOne() > **deliverOne**(`opts`, `entry`): `Promise`\<`boolean` \| `"held"`\> Deliver one outbox message and mark it delivered only on a durable receipt. deriveEffectsFromBuiltTx | https://docs.totem.ing/api/totemsdk-edge/functions/deriveEffectsFromBuiltTx | EffectsFromBuiltTx # Function: deriveEffectsFromBuiltTx() > **deriveEffectsFromBuiltTx**(`tx`): `StepEffects` Build a full StepEffects from a built transaction. deriveSpendsFromBuiltTx | https://docs.totem.ing/api/totemsdk-edge/functions/deriveSpendsFromBuiltTx | SpendsFromBuiltTx # Function: deriveSpendsFromBuiltTx() > **deriveSpendsFromBuiltTx**(`tx`): `object`[] Derive spends from a built transaction's outputs, excluding: - change back to the wallet's own addresses; - channel-internal outputs back to the channel script. edgeCapabilitiesFromTotemCapabilities | https://docs.totem.ing/api/totemsdk-edge/functions/edgeCapabilitiesFromTotemCapabilities | CapabilitiesFromTotemCapabilities # Function: edgeCapabilitiesFromTotemCapabilities() > **edgeCapabilitiesFromTotemCapabilities**(`caps`): [`EdgeCapabilitySet`](. foldCompletedDispatch | https://docs.totem.ing/api/totemsdk-edge/functions/foldCompletedDispatch | CompletedDispatch # Function: foldCompletedDispatch() > **foldCompletedDispatch**(`input`): `Promise`\<\{ `folded`: `boolean`; \}\> Fold a single completed dispatch (the live-completion path, used by the accounted port's `afterCompleted` hook). foldUsageStatements | https://docs.totem.ing/api/totemsdk-edge/functions/foldUsageStatements | UsageStatements # Function: foldUsageStatements() > **foldUsageStatements**(`input`): `Promise`\<[`FoldUsageStatementsReport`](. fromEnhancedBuildParams | https://docs.totem.ing/api/totemsdk-edge/functions/fromEnhancedBuildParams | EnhancedBuildParams # Function: fromEnhancedBuildParams() > **fromEnhancedBuildParams**(`params`, `ownAddresses`): [`BuiltTransaction`](. fromOmniaTxDraft | https://docs.totem.ing/api/totemsdk-edge/functions/fromOmniaTxDraft | OmniaTxDraft # Function: fromOmniaTxDraft() > **fromOmniaTxDraft**(`draft`, `channelScriptAddress`, `channelOps? hasCapability | https://docs.totem.ing/api/totemsdk-edge/functions/hasCapability | Capability # Function: hasCapability() > **hasCapability**(`set`, `cap`): `boolean` ## Parameters ### set [`EdgeCapabilitySet`](. hasIntelligenceCapability | https://docs.totem.ing/api/totemsdk-edge/functions/hasIntelligenceCapability | IntelligenceCapability # Function: hasIntelligenceCapability() > **hasIntelligenceCapability**(`set`, `domain`): `boolean` True if every intelligence domain capability is present. idempotencyKey | https://docs.totem.ing/api/totemsdk-edge/functions/idempotencyKey | Key # Function: idempotencyKey() > **idempotencyKey**(`purchaseId`, `agreementId`, `operation`): `string` Derive a stable idempotency key for a side-effecting operation. ingress | https://docs.totem.ing/api/totemsdk-edge/functions/ingress | Function: ingress() > **ingress**(`raw`, `context`, `opts`): `Promise`\<[`IngressResult`](. isIntelligenceCapability | https://docs.totem.ing/api/totemsdk-edge/functions/isIntelligenceCapability | IntelligenceCapability # Function: isIntelligenceCapability() > **isIntelligenceCapability**(`cap`): `boolean` Whether a capability string is an intelligence capability. isPurchaseBound | https://docs.totem.ing/api/totemsdk-edge/functions/isPurchaseBound | PurchaseBound # Function: isPurchaseBound() > **isPurchaseBound**(`context`): `boolean` True when the mirrored invocation context names a purchase agreement. isUngrantableAction | https://docs.totem.ing/api/totemsdk-edge/functions/isUngrantableAction | isUngrantableAction issueUsageStatement | https://docs.totem.ing/api/totemsdk-edge/functions/issueUsageStatement | UsageStatement # Function: issueUsageStatement() > **issueUsageStatement**(`opts`): `Promise`\<`UsageStatement`\> Build and sign a bounded usage statement for one completed dispatch. messageId | https://docs.totem.ing/api/totemsdk-edge/functions/messageId | Id # Function: messageId() > **messageId**(`msg`): `string` Compute the canonical message ID for a state-changing message. messageType | https://docs.totem.ing/api/totemsdk-edge/functions/messageType | Type # Function: messageType() > **messageType**(`msg`): `string` Canonical message type discriminator. proposalDigest | https://docs.totem.ing/api/totemsdk-edge/functions/proposalDigest | Digest # Function: proposalDigest() > **proposalDigest**(`proposal`): `string` Canonical digest of a TradeProposal (excluding the signature and the signer public key, which are not part of the signed content). reconcileInferenceAccounting | https://docs.totem.ing/api/totemsdk-edge/functions/reconcileInferenceAccounting | InferenceAccounting # Function: reconcileInferenceAccounting() > **reconcileInferenceAccounting**(`input`): `Promise`\<[`InferenceAccountingReconciliation`](. recoverInferenceJournal | https://docs.totem.ing/api/totemsdk-edge/functions/recoverInferenceJournal | InferenceJournal # Function: recoverInferenceJournal() > **recoverInferenceJournal**(`journal`): `Promise`\<[`InferenceRecoveryReport`](. termsHash | https://docs.totem.ing/api/totemsdk-edge/functions/termsHash | Hash # Function: termsHash() > **termsHash**(`terms`): `string` Canonical SHA3-256 hex hash of trade terms. usageStatementId | https://docs.totem.ing/api/totemsdk-edge/functions/usageStatementId | StatementId # Function: usageStatementId() > **usageStatementId**(`agreementId`, `requestId`): `string` Stable canonical statement identity for a completed dispatch. verifyEdgeReceipt | https://docs.totem.ing/api/totemsdk-edge/functions/verifyEdgeReceipt | EdgeReceipt # Function: verifyEdgeReceipt() > **verifyEdgeReceipt**(`receipt`): [`EdgeOperationResult`](. workRequiredDigest | https://docs.totem.ing/api/totemsdk-edge/functions/workRequiredDigest | RequiredDigest # Function: workRequiredDigest() > **workRequiredDigest**(`msg`): `string` Canonical digest of a WorkRequired message (excluding signature). AgentEdgeRuntime | https://docs.totem.ing/api/totemsdk-edge/interfaces/AgentEdgeRuntime | AgentEdgeRuntime # Interface: AgentEdgeRuntime ## Properties ### deviceId > `readonly` **deviceId**: `string` *** ### version > `readonly` **version**: `number` ## Methods ### executeAction() > **executeAction**(`input`): `Promise`\<`EdgeActionResult`\> Execute a single governed action. AgentEdgeRuntimeOptions | https://docs.totem.ing/api/totemsdk-edge/interfaces/AgentEdgeRuntimeOptions | AgentEdgeRuntimeOptions # Interface: AgentEdgeRuntimeOptions ## Properties ### agentId > **agentId**: `string` *** ### capabilities > **capabilities**: [`EdgeCapabilitySet`](. BuiltTransaction | https://docs.totem.ing/api/totemsdk-edge/interfaces/BuiltTransaction | BuiltTransaction # Interface: BuiltTransaction ## Properties ### channelOps? BuiltTxInput | https://docs.totem.ing/api/totemsdk-edge/interfaces/BuiltTxInput | BuiltTxInput # Interface: BuiltTxInput ## Properties ### address > **address**: `string` *** ### amount > **amount**: `string` *** ### tokenId? BuiltTxOutput | https://docs.totem.ing/api/totemsdk-edge/interfaces/BuiltTxOutput | BuiltTxOutput # Interface: BuiltTxOutput ## Properties ### address > **address**: `string` *** ### amount > **amount**: `string` *** ### tokenId? BuiltinActionRegistration | https://docs.totem.ing/api/totemsdk-edge/interfaces/BuiltinActionRegistration | BuiltinActionRegistration # Interface: BuiltinActionRegistration ## Properties ### action > **action**: `string` *** ### def > **def**: [`EdgeActionDefinition`](EdgeActionDefinition. BuyOptions | https://docs.totem.ing/api/totemsdk-edge/interfaces/BuyOptions | BuyOptions # Interface: BuyOptions ## Properties ### acquireBy? BuyerOptions | https://docs.totem.ing/api/totemsdk-edge/interfaces/BuyerOptions | BuyerOptions # Interface: BuyerOptions ## Properties ### adapters > **adapters**: [`ResourceAdapter`](ResourceAdapter. CreateAccountedIntelligencePortOptions | https://docs.totem.ing/api/totemsdk-edge/interfaces/CreateAccountedIntelligencePortOptions | CreateAccountedIntelligencePortOptions # Interface: CreateAccountedIntelligencePortOptions ## Properties ### afterCompleted? CreateEdgeOptions | https://docs.totem.ing/api/totemsdk-edge/interfaces/CreateEdgeOptions | CreateEdgeOptions # Interface: CreateEdgeOptions ## Properties ### adapters > **adapters**: [`ResourceAdapter`](ResourceAdapter. DeliveryReceipt | https://docs.totem.ing/api/totemsdk-edge/interfaces/DeliveryReceipt | DeliveryReceipt # Interface: DeliveryReceipt A durable delivery receipt. EdgeActionDefinition | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeActionDefinition | EdgeActionDefinition # Interface: EdgeActionDefinition ## Properties ### capability > **capability**: [`EdgeCapability`](. EdgeActionInput | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeActionInput | EdgeActionInput # Interface: EdgeActionInput ## Properties ### action > **action**: `string` *** ### context? EdgeActionRegistry | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeActionRegistry | EdgeActionRegistry # Interface: EdgeActionRegistry ## Methods ### isUngrantable() > **isUngrantable**(`action`): `boolean` #### Parameters ##### action `string` #### Returns `boolean` *** ### listActions() > **listActions**(): `string`[] #### Returns `string`[] *** ### register() > **register**(`def`, `action`): `void` #### Parameters ##### def [`EdgeActionDefinition`](EdgeActionDefinition. EdgeCommerceRuntime | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeCommerceRuntime | EdgeCommerceRuntime # Interface: EdgeCommerceRuntime ## Properties ### buyer > **buyer**: [`EdgeBuyer`](. EdgeDevice | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeDevice | EdgeDevice # Interface: EdgeDevice ## Properties ### address? EdgeIdentityPort | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeIdentityPort | EdgeIdentityPort # Interface: EdgeIdentityPort ## Methods ### resolve() > **resolve**(`identityId`): `Promise`\<[`EdgeOperationResult`](EdgeOperationResult. EdgeIntelligencePort | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeIntelligencePort | EdgeIntelligencePort # Interface: EdgeIntelligencePort Edge-compatible intelligence port contract. EdgeKeyLeasePort | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeKeyLeasePort | EdgeKeyLeasePort # Interface: EdgeKeyLeasePort Port for WOTS key-lease coordination. EdgeLiquidityPort | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeLiquidityPort | EdgeLiquidityPort # Interface: EdgeLiquidityPort ## Methods ### getBalance() > **getBalance**(`address`): `Promise`\<[`EdgeOperationResult`](EdgeOperationResult. EdgeLocationPort | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeLocationPort | EdgeLocationPort # Interface: EdgeLocationPort ## Methods ### createClaim() > **createClaim**(`params`): `Promise`\<[`EdgeOperationResult`](EdgeOperationResult. EdgeLookupPort | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeLookupPort | EdgeLookupPort # Interface: EdgeLookupPort ## Methods ### announce() > **announce**(`params`): `Promise`\<[`EdgeOperationResult`](EdgeOperationResult. EdgeManifestPort | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeManifestPort | EdgeManifestPort # Interface: EdgeManifestPort ## Methods ### sign() > **sign**(`manifest`, `seed`, `keyIndex`): `Promise`\<[`EdgeOperationResult`](EdgeOperationResult. EdgeOmniaPort | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeOmniaPort | EdgeOmniaPort # Interface: EdgeOmniaPort ## Methods ### closeChannel() > **closeChannel**(`params`): `Promise`\<[`EdgeOperationResult`](EdgeOperationResult. EdgeOperationResult | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeOperationResult | EdgeOperationResult # Interface: EdgeOperationResult\ ## Type Parameters ### T `T` = `unknown` ## Properties ### data? EdgePaymentPort | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgePaymentPort | EdgePaymentPort # Interface: EdgePaymentPort ## Methods ### pay() > **pay**(`params`): `Promise`\<[`EdgeOperationResult`](EdgeOperationResult. EdgePolicyPort | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgePolicyPort | EdgePolicyPort # Interface: EdgePolicyPort ## Methods ### check() > **check**(`params`): `Promise`\<[`EdgeOperationResult`](EdgeOperationResult. EdgeProofPort | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeProofPort | EdgeProofPort # Interface: EdgeProofPort ## Methods ### createProof() > **createProof**(`params`): `Promise`\<[`EdgeOperationResult`](EdgeOperationResult. EdgeProviderProfile | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeProviderProfile | EdgeProviderProfile # Interface: EdgeProviderProfile ## Properties ### createdAt > **createdAt**: `number` *** ### description? EdgePubSubPort | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgePubSubPort | EdgePubSubPort # Interface: EdgePubSubPort Publish-subscribe transport port. EdgeReceipt | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeReceipt | EdgeReceipt # Interface: EdgeReceipt ## Properties ### issuedAt > **issuedAt**: `number` *** ### kind > **kind**: `string` *** ### payload > **payload**: `Record`\<`string`, `unknown`\> *** ### receiptId > **receiptId**: `string` *** ### relatedIdentityId? EdgeRuntime | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeRuntime | EdgeRuntime # Interface: EdgeRuntime ## Properties ### capabilities > **capabilities**: [`EdgeCapabilitySet`](. EdgeRuntimePorts | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeRuntimePorts | EdgeRuntimePorts # Interface: EdgeRuntimePorts ## Properties ### identity? EdgeSeller | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeSeller | EdgeSeller # Interface: EdgeSeller ## Properties ### engine > **engine**: [`NegotiationEngine`](. EdgeServiceRegistration | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeServiceRegistration | EdgeServiceRegistration # Interface: EdgeServiceRegistration ## Properties ### expiresAt? EdgeStreamPort | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeStreamPort | EdgeStreamPort # Interface: EdgeStreamPort Bidirectional byte-stream transport port. EdgeTxBuilderContext | https://docs.totem.ing/api/totemsdk-edge/interfaces/EdgeTxBuilderContext | EdgeTxBuilderContext # Interface: EdgeTxBuilderContext Wallet-side tx building context. FoldCompletedDispatchInput | https://docs.totem.ing/api/totemsdk-edge/interfaces/FoldCompletedDispatchInput | FoldCompletedDispatchInput # Interface: FoldCompletedDispatchInput ## Properties ### context > **context**: `Record`\<`string`, `unknown`\> \| `undefined` *** ### now? FoldUsageStatementsInput | https://docs.totem.ing/api/totemsdk-edge/interfaces/FoldUsageStatementsInput | FoldUsageStatementsInput # Interface: FoldUsageStatementsInput ## Properties ### journal > **journal**: `Journal`\<[`InferenceAuditEvent`](. FoldUsageStatementsReport | https://docs.totem.ing/api/totemsdk-edge/interfaces/FoldUsageStatementsReport | FoldUsageStatementsReport # Interface: FoldUsageStatementsReport ## Properties ### dropped > **dropped**: `number` Completed purchase-attributable dispatches with no resolvable agreement. InferenceAccountingAuthority | https://docs.totem.ing/api/totemsdk-edge/interfaces/InferenceAccountingAuthority | InferenceAccountingAuthority # Interface: InferenceAccountingAuthority The minimal surface of the owning authority this reconciliation needs. InferenceAccountingReconciliation | https://docs.totem.ing/api/totemsdk-edge/interfaces/InferenceAccountingReconciliation | InferenceAccountingReconciliation # Interface: InferenceAccountingReconciliation ## Properties ### accountedCount > `readonly` **accountedCount**: `number` *** ### completedCount > `readonly` **completedCount**: `number` *** ### completedUnaccounted > `readonly` **completedUnaccounted**: readonly [`InferenceReadEvent`](. InferenceRecordedUsage | https://docs.totem.ing/api/totemsdk-edge/interfaces/InferenceRecordedUsage | InferenceRecordedUsage # Interface: InferenceRecordedUsage JSON-clean usage measurements copied from the provider result. InferenceRecoveryReport | https://docs.totem.ing/api/totemsdk-edge/interfaces/InferenceRecoveryReport | InferenceRecoveryReport # Interface: InferenceRecoveryReport Recovery view of the journal (Phase 3a accounting-recovery gate). IngressOptions | https://docs.totem.ing/api/totemsdk-edge/interfaces/IngressOptions | IngressOptions # Interface: IngressOptions ## Properties ### digest > **digest**: `MessageDigester` Canonical digest computation. IngressResult | https://docs.totem.ing/api/totemsdk-edge/interfaces/IngressResult | IngressResult # Interface: IngressResult ## Properties ### claimed > **claimed**: `boolean` True when this caller won the atomic replay claim and must process the message. IssueUsageStatementOptions | https://docs.totem.ing/api/totemsdk-edge/interfaces/IssueUsageStatementOptions | IssueUsageStatementOptions # Interface: IssueUsageStatementOptions ## Properties ### agreement > **agreement**: [`UsageAgreementReference`](UsageAgreementReference. LocalWorkBudget | https://docs.totem.ing/api/totemsdk-edge/interfaces/LocalWorkBudget | LocalWorkBudget # Interface: LocalWorkBudget Local work budget — Edge-level policy for whether the machine is willing to perform a challenge. NegotiationCancellation | https://docs.totem.ing/api/totemsdk-edge/interfaces/NegotiationCancellation | NegotiationCancellation # Interface: NegotiationCancellation Cancellation of a negotiation. NegotiationEngineOptions | https://docs.totem.ing/api/totemsdk-edge/interfaces/NegotiationEngineOptions | NegotiationEngineOptions # Interface: NegotiationEngineOptions ## Properties ### limits? NegotiationLimits | https://docs.totem.ing/api/totemsdk-edge/interfaces/NegotiationLimits | NegotiationLimits # Interface: NegotiationLimits Negotiation limits. NegotiationRecord | https://docs.totem.ing/api/totemsdk-edge/interfaces/NegotiationRecord | NegotiationRecord # Interface: NegotiationRecord A single negotiation's tracked state. NegotiationRequest | https://docs.totem.ing/api/totemsdk-edge/interfaces/NegotiationRequest | NegotiationRequest # Interface: NegotiationRequest Initial negotiation request (before any proposal). NegotiationResult | https://docs.totem.ing/api/totemsdk-edge/interfaces/NegotiationResult | NegotiationResult # Interface: NegotiationResult Result of a negotiation. NegotiationStore | https://docs.totem.ing/api/totemsdk-edge/interfaces/NegotiationStore | NegotiationStore # Interface: NegotiationStore A durable negotiation store with atomic CAS semantics. NegotiationStrategy | https://docs.totem.ing/api/totemsdk-edge/interfaces/NegotiationStrategy | NegotiationStrategy # Interface: NegotiationStrategy Applications supply bargaining intelligence. NegotiationTransport | https://docs.totem.ing/api/totemsdk-edge/interfaces/NegotiationTransport | NegotiationTransport # Interface: NegotiationTransport Authenticated negotiation transport boundary. OutboxDrainerOptions | https://docs.totem.ing/api/totemsdk-edge/interfaces/OutboxDrainerOptions | OutboxDrainerOptions # Interface: OutboxDrainerOptions ## Properties ### backoffBaseMs? OutboxEntry | https://docs.totem.ing/api/totemsdk-edge/interfaces/OutboxEntry | OutboxEntry # Interface: OutboxEntry An outbound message awaiting delivery. OutboxMessage | https://docs.totem.ing/api/totemsdk-edge/interfaces/OutboxMessage | OutboxMessage # Interface: OutboxMessage An outbound message to enqueue atomically with a state transition. OutboxStore | https://docs.totem.ing/api/totemsdk-edge/interfaces/OutboxStore | OutboxStore # Interface: OutboxStore A durable outbox store. PrincipalLimits | https://docs.totem.ing/api/totemsdk-edge/interfaces/PrincipalLimits | PrincipalLimits # Interface: PrincipalLimits Per-principal anti-abuse limits. PrincipalNegotiationStore | https://docs.totem.ing/api/totemsdk-edge/interfaces/PrincipalNegotiationStore | PrincipalNegotiationStore # Interface: PrincipalNegotiationStore Per-principal anti-abuse accounting. ProposalAcceptance | https://docs.totem.ing/api/totemsdk-edge/interfaces/ProposalAcceptance | ProposalAcceptance # Interface: ProposalAcceptance Acceptance of the current proposal head. ProposalRejection | https://docs.totem.ing/api/totemsdk-edge/interfaces/ProposalRejection | ProposalRejection # Interface: ProposalRejection Rejection of the current proposal head. PurchaseIntent | https://docs.totem.ing/api/totemsdk-edge/interfaces/PurchaseIntent | PurchaseIntent # Interface: PurchaseIntent\ A generic demand-side intent. PurchaseRecord | https://docs.totem.ing/api/totemsdk-edge/interfaces/PurchaseRecord | PurchaseRecord # Interface: PurchaseRecord A durable purchase record. PurchaseResult | https://docs.totem.ing/api/totemsdk-edge/interfaces/PurchaseResult | PurchaseResult # Interface: PurchaseResult Result of a purchase. PurchaseSession | https://docs.totem.ing/api/totemsdk-edge/interfaces/PurchaseSession | PurchaseSession # Interface: PurchaseSession A long-running resource exchange session. PurchaseStore | https://docs.totem.ing/api/totemsdk-edge/interfaces/PurchaseStore | PurchaseStore # Interface: PurchaseStore A durable purchase/session store with atomic CAS semantics. ReconcileInferenceAccountingOptions | https://docs.totem.ing/api/totemsdk-edge/interfaces/ReconcileInferenceAccountingOptions | ReconcileInferenceAccountingOptions # Interface: ReconcileInferenceAccountingOptions ## Properties ### authority > **authority**: [`InferenceAccountingAuthority`](InferenceAccountingAuthority. ReplayLedger | https://docs.totem.ing/api/totemsdk-edge/interfaces/ReplayLedger | ReplayLedger # Interface: ReplayLedger Replay ledger — persists enough information to answer "have I already processed this exact signed message? ReplayOutcome | https://docs.totem.ing/api/totemsdk-edge/interfaces/ReplayOutcome | ReplayOutcome # Interface: ReplayOutcome Replay outcome — the durable result of processing a message. ResourceAdapter | https://docs.totem.ing/api/totemsdk-edge/interfaces/ResourceAdapter | ResourceAdapter # Interface: ResourceAdapter Resource adapter boundary — purchasing core must not know how every resource executes. ResourceHandle | https://docs.totem.ing/api/totemsdk-edge/interfaces/ResourceHandle | ResourceHandle SellerServiceOptions | https://docs.totem.ing/api/totemsdk-edge/interfaces/SellerServiceOptions | SellerServiceOptions # Interface: SellerServiceOptions ## Properties ### limits? SellerStrategy | https://docs.totem.ing/api/totemsdk-edge/interfaces/SellerStrategy | SellerStrategy # Interface: SellerStrategy Applications supply seller-side bargaining intelligence. SessionOptions | https://docs.totem.ing/api/totemsdk-edge/interfaces/SessionOptions | SessionOptions # Interface: SessionOptions ## Properties ### agreement > **agreement**: [`TradeAgreement`](TradeAgreement. TradeAgreement | https://docs.totem.ing/api/totemsdk-edge/interfaces/TradeAgreement | TradeAgreement # Interface: TradeAgreement An accepted proposal becomes a distinct immutable agreement. TradeProposal | https://docs.totem.ing/api/totemsdk-edge/interfaces/TradeProposal | TradeProposal # Interface: TradeProposal A role-neutral signed proposal used for: - initial buyer proposal - seller quote - buyer counter - seller counter A counteroffer is NOT a separate protocol object — it is a TradeProposal with `parentProposalId` set and `round = parent. TradeTerms | https://docs.totem.ing/api/totemsdk-edge/interfaces/TradeTerms | TradeTerms # Interface: TradeTerms Resource-generic trade terms. TransportMessageContext | https://docs.totem.ing/api/totemsdk-edge/interfaces/TransportMessageContext | TransportMessageContext # Interface: TransportMessageContext Context passed to the transport handler for an inbound message. UsageAgreementReference | https://docs.totem.ing/api/totemsdk-edge/interfaces/UsageAgreementReference | UsageAgreementReference # Interface: UsageAgreementReference Approval:// billing reference resolved for a purchase-bound dispatch. UsageEvent | https://docs.totem.ing/api/totemsdk-edge/interfaces/UsageEvent | UsageEvent UsageFoldContext | https://docs.totem.ing/api/totemsdk-edge/interfaces/UsageFoldContext | UsageFoldContext # Interface: UsageFoldContext Dispatcher-side view of the inference invocation that completed. WorkDifficultyPolicy | https://docs.totem.ing/api/totemsdk-edge/interfaces/WorkDifficultyPolicy | WorkDifficultyPolicy # Interface: WorkDifficultyPolicy Progressive counteroffer work difficulty policy. WorkRequired | https://docs.totem.ing/api/totemsdk-edge/interfaces/WorkRequired | WorkRequired # Interface: WorkRequired A signed Edge protocol message wrapping a WorkChallenge. EdgeActionEffect | https://docs.totem.ing/api/totemsdk-edge/type-aliases/EdgeActionEffect | EdgeActionEffect EdgeCapability | https://docs.totem.ing/api/totemsdk-edge/type-aliases/EdgeCapability | EdgeCapability EdgeCapabilitySet | https://docs.totem.ing/api/totemsdk-edge/type-aliases/EdgeCapabilitySet | EdgeCapabilitySet # Type Alias: EdgeCapabilitySet > **EdgeCapabilitySet** = `Set`\<[`EdgeCapability`](EdgeCapability. EdgeDeviceKind | https://docs.totem.ing/api/totemsdk-edge/type-aliases/EdgeDeviceKind | EdgeDeviceKind InferenceAuditEvent | https://docs.totem.ing/api/totemsdk-edge/type-aliases/InferenceAuditEvent | InferenceAuditEvent # Type Alias: InferenceAuditEvent > **InferenceAuditEvent** = \{ `agentId? InferenceReadEvent | https://docs.totem.ing/api/totemsdk-edge/type-aliases/InferenceReadEvent | InferenceReadEvent # Type Alias: InferenceReadEvent > **InferenceReadEvent** = `JournalEntry`\<[`InferenceAuditEvent`](InferenceAuditEvent. NegotiationMessage | https://docs.totem.ing/api/totemsdk-edge/type-aliases/NegotiationMessage | NegotiationMessage # Type Alias: NegotiationMessage > **NegotiationMessage** = [`NegotiationRequest`](. NegotiationState | https://docs.totem.ing/api/totemsdk-edge/type-aliases/NegotiationState | NegotiationState # Type Alias: NegotiationState > **NegotiationState** = `"OPEN"` \| `"NEGOTIATING"` \| `"AGREED"` \| `"REJECTED"` \| `"CANCELLED"` \| `"EXHAUSTED"` \| `"EXPIRED"` Negotiation state machine states. OutboxDrainer | https://docs.totem.ing/api/totemsdk-edge/type-aliases/OutboxDrainer | OutboxDrainer # Type Alias: OutboxDrainer > **OutboxDrainer** = `ReturnType`\<*typeof* [`createOutboxDrainer`](. PurchaseEvent | https://docs.totem.ing/api/totemsdk-edge/type-aliases/PurchaseEvent | PurchaseEvent # Type Alias: PurchaseEvent > **PurchaseEvent** = \{ `type`: `"runtime. PurchaseStatus | https://docs.totem.ing/api/totemsdk-edge/type-aliases/PurchaseStatus | PurchaseStatus # Type Alias: PurchaseStatus > **PurchaseStatus** = `"REQUESTED"` \| `"DISCOVERING"` \| `"NEGOTIATING"` \| `"AGREED"` \| `"AUTHORIZING"` \| `"AUTHORIZED"` \| `"PAYING"` \| `"PAID"` \| `"STARTING_RESOURCE"` \| `"ACTIVE"` \| `"SETTLING"` \| `"COMPLETED"` \| `"FAILED"` \| `"CANCELLED"` Purchase lifecycle phases. ReplayEntry | https://docs.totem.ing/api/totemsdk-edge/type-aliases/ReplayEntry | ReplayEntry # Type Alias: ReplayEntry > **ReplayEntry** = \{ `claimedAt`: `number`; `leaseUntil? UsageAgreementResolver | https://docs.totem.ing/api/totemsdk-edge/type-aliases/UsageAgreementResolver | UsageAgreementResolver # Type Alias: UsageAgreementResolver > **UsageAgreementResolver** = (`input`) => `Promise`\<[`UsageAgreementReference`](. WorkMode | https://docs.totem.ing/api/totemsdk-edge/type-aliases/WorkMode | WorkMode # Type Alias: WorkMode > **WorkMode** = `"disabled"` \| `"admission-only"` \| `"minima-backed"` Work modes. DEFAULT_MAX_CONCURRENT_NEGOTIATIONS | https://docs.totem.ing/api/totemsdk-edge/variables/DEFAULT_MAX_CONCURRENT_NEGOTIATIONS | DEFAULT\_MAX\_CONCURRENT\_NEGOTIATIONS # Variable: DEFAULT\_MAX\_CONCURRENT\_NEGOTIATIONS > `const` **DEFAULT\_MAX\_CONCURRENT\_NEGOTIATIONS**: `4` = `4` Default per-principal concurrency limit. DEFAULT_MAX_NEGOTIATIONS_PER_WINDOW | https://docs.totem.ing/api/totemsdk-edge/variables/DEFAULT_MAX_NEGOTIATIONS_PER_WINDOW | DEFAULT\_MAX\_NEGOTIATIONS\_PER\_WINDOW # Variable: DEFAULT\_MAX\_NEGOTIATIONS\_PER\_WINDOW > `const` **DEFAULT\_MAX\_NEGOTIATIONS\_PER\_WINDOW**: `20` = `20` Default max negotiations per rolling window. DEFAULT_MAX_ROUNDS | https://docs.totem.ing/api/totemsdk-edge/variables/DEFAULT_MAX_ROUNDS | DEFAULT\_MAX\_ROUNDS # Variable: DEFAULT\_MAX\_ROUNDS > `const` **DEFAULT\_MAX\_ROUNDS**: `5` = `5` Default maximum negotiation rounds (rounds 0. DEFAULT_NEGOTIATION_COOLDOWN_MS | https://docs.totem.ing/api/totemsdk-edge/variables/DEFAULT_NEGOTIATION_COOLDOWN_MS | DEFAULT\_NEGOTIATION\_COOLDOWN\_MS # Variable: DEFAULT\_NEGOTIATION\_COOLDOWN\_MS > `const` **DEFAULT\_NEGOTIATION\_COOLDOWN\_MS**: `30000` = `30_000` Default cooldown after a terminal negotiation (ms). DEFAULT_NEGOTIATION_TTL_MS | https://docs.totem.ing/api/totemsdk-edge/variables/DEFAULT_NEGOTIATION_TTL_MS | DEFAULT\_NEGOTIATION\_TTL\_MS # Variable: DEFAULT\_NEGOTIATION\_TTL\_MS > `const` **DEFAULT\_NEGOTIATION\_TTL\_MS**: `number` Default negotiation TTL (ms). DEFAULT_NEGOTIATION_WINDOW_MS | https://docs.totem.ing/api/totemsdk-edge/variables/DEFAULT_NEGOTIATION_WINDOW_MS | DEFAULT\_NEGOTIATION\_WINDOW\_MS # Variable: DEFAULT\_NEGOTIATION\_WINDOW\_MS > `const` **DEFAULT\_NEGOTIATION\_WINDOW\_MS**: `number` Default rolling window (ms). EDGE_INTELLIGENCE_CAPABILITIES | https://docs.totem.ing/api/totemsdk-edge/variables/EDGE_INTELLIGENCE_CAPABILITIES | EDGE\_INTELLIGENCE\_CAPABILITIES # Variable: EDGE\_INTELLIGENCE\_CAPABILITIES > `const` **EDGE\_INTELLIGENCE\_CAPABILITIES**: readonly `string`[] All intelligence domain capability strings (intelligence:). EDGE_VERSION | https://docs.totem.ing/api/totemsdk-edge/variables/EDGE_VERSION | EDGE_VERSION MAX_NEGOTIATION_MESSAGE_BYTES | https://docs.totem.ing/api/totemsdk-edge/variables/MAX_NEGOTIATION_MESSAGE_BYTES | MAX\_NEGOTIATION\_MESSAGE\_BYTES # Variable: MAX\_NEGOTIATION\_MESSAGE\_BYTES > `const` **MAX\_NEGOTIATION\_MESSAGE\_BYTES**: `number` Maximum wire message size (bytes). PURCHASE_ERROR_CODES | https://docs.totem.ing/api/totemsdk-edge/variables/PURCHASE_ERROR_CODES | PURCHASE\_ERROR\_CODES # Variable: PURCHASE\_ERROR\_CODES > `const` **PURCHASE\_ERROR\_CODES**: `object` Error codes for the purchasing module. PURCHASING_VERSION | https://docs.totem.ing/api/totemsdk-edge/variables/PURCHASING_VERSION | PURCHASING\_VERSION # Variable: PURCHASING\_VERSION > `const` **PURCHASING\_VERSION**: `1` = `1` Current purchasing protocol version. TERMINAL_NEGOTIATION_STATES | https://docs.totem.ing/api/totemsdk-edge/variables/TERMINAL_NEGOTIATION_STATES | TERMINAL\_NEGOTIATION\_STATES # Variable: TERMINAL\_NEGOTIATION\_STATES > `const` **TERMINAL\_NEGOTIATION\_STATES**: `ReadonlySet`\<[`NegotiationState`](. TERMINAL_PURCHASE_STATUSES | https://docs.totem.ing/api/totemsdk-edge/variables/TERMINAL_PURCHASE_STATUSES | TERMINAL\_PURCHASE\_STATUSES # Variable: TERMINAL\_PURCHASE\_STATUSES > `const` **TERMINAL\_PURCHASE\_STATUSES**: `ReadonlySet`\<[`PurchaseStatus`](. UNGRANTABLE_ACTIONS | https://docs.totem.ing/api/totemsdk-edge/variables/UNGRANTABLE_ACTIONS | UNGRANTABLE\_ACTIONS # Variable: UNGRANTABLE\_ACTIONS > `const` **UNGRANTABLE\_ACTIONS**: readonly `string`[] Activities the agent must never invoke directly. SQLiteCommerceStore | https://docs.totem.ing/api/totemsdk-edge-adapters/classes/SQLiteCommerceStore | SQLiteCommerceStore # Class: SQLiteCommerceStore Aggregated durable commerce store. createIdentityPortAdapter | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createIdentityPortAdapter | IdentityPortAdapter # Function: createIdentityPortAdapter() > **createIdentityPortAdapter**(`config`): `EdgeIdentityPort` Wraps an IdentityGraph (from @totemsdk/identity) as an EdgeIdentityPort. createLiquidityPortAdapter | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createLiquidityPortAdapter | LiquidityPortAdapter # Function: createLiquidityPortAdapter() > **createLiquidityPortAdapter**(`config`): `EdgeLiquidityPort` Wraps a ChainStateProvider (chain-provider, minima-rpc, lookup-client) as an EdgeLiquidityPort. createLocationPortAdapter | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createLocationPortAdapter | LocationPortAdapter # Function: createLocationPortAdapter() > **createLocationPortAdapter**(`config? createLookupPortAdapter | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createLookupPortAdapter | LookupPortAdapter # Function: createLookupPortAdapter() > **createLookupPortAdapter**(`client`): `EdgeLookupPort` Wraps a LookupClient as an EdgeLookupPort. createManifestPortAdapter | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createManifestPortAdapter | ManifestPortAdapter # Function: createManifestPortAdapter() > **createManifestPortAdapter**(): `EdgeManifestPort` Wraps @totemsdk/manifest's signManifest / verifyManifest as an EdgeManifestPort. createMinimaL1PaymentPort | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createMinimaL1PaymentPort | MinimaL1PaymentPort # Function: createMinimaL1PaymentPort() > **createMinimaL1PaymentPort**(`config`): `EdgePaymentPort` Minima L1 payment adapter. createOmniaHostPort | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createOmniaHostPort | OmniaHostPort # Function: createOmniaHostPort() > **createOmniaHostPort**(`config`): `EdgeOmniaPort` ## Parameters ### config [`OmniaHostPortConfig`](. createOmniaL2PaymentPort | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createOmniaL2PaymentPort | OmniaL2PaymentPort # Function: createOmniaL2PaymentPort() > **createOmniaL2PaymentPort**(`config`): `EdgePaymentPort` Omnia L2 payment adapter. createPolicyPortAdapter | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createPolicyPortAdapter | PolicyPortAdapter # Function: createPolicyPortAdapter() > **createPolicyPortAdapter**(`policy`): `EdgePolicyPort` Wraps an AgentPolicy or PolicyMiddleware as an EdgePolicyPort. createProofPortAdapter | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createProofPortAdapter | ProofPortAdapter # Function: createProofPortAdapter() > **createProofPortAdapter**(`config`): `EdgeProofPort` Wraps a ProofProvider (e. createPubSubNegotiationTransport | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createPubSubNegotiationTransport | PubSubNegotiationTransport # Function: createPubSubNegotiationTransport() > **createPubSubNegotiationTransport**(`config`): `NegotiationTransport` Create a NegotiationTransport over a pub/sub transport. createPubSubPortAdapter | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createPubSubPortAdapter | createPubSubPortAdapter createPurchaseAuthorityAdapter | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createPurchaseAuthorityAdapter | PurchaseAuthorityAdapter # Function: createPurchaseAuthorityAdapter() > **createPurchaseAuthorityAdapter**(`config`): `object` Create an AuthorityPort adapter over an agent-policy. createPurchaseLookupAdapter | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createPurchaseLookupAdapter | PurchaseLookupAdapter # Function: createPurchaseLookupAdapter() > **createPurchaseLookupAdapter**(`config`): `object` Create a PurchaseLookupPort adapter over a LookupClient. createPurchasePaymentAdapter | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createPurchasePaymentAdapter | PurchasePaymentAdapter # Function: createPurchasePaymentAdapter() > **createPurchasePaymentAdapter**(`config`): `object` Create a PurchasePaymentPort with an atomic idempotency-key claim. createSQLiteCommerceStore | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createSQLiteCommerceStore | SQLiteCommerceStore # Function: createSQLiteCommerceStore() > **createSQLiteCommerceStore**(`config`): [`SQLiteCommerceStore`](. createStreamNegotiationTransport | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createStreamNegotiationTransport | StreamNegotiationTransport # Function: createStreamNegotiationTransport() > **createStreamNegotiationTransport**(`config`): `NegotiationTransport` Create a NegotiationTransport over a raw byte stream. createStreamPortAdapter | https://docs.totem.ing/api/totemsdk-edge-adapters/functions/createStreamPortAdapter | createStreamPortAdapter CommerceStore | https://docs.totem.ing/api/totemsdk-edge-adapters/interfaces/CommerceStore | CommerceStore # Interface: CommerceStore Aggregated durable commerce store. IdentityPortConfig | https://docs.totem.ing/api/totemsdk-edge-adapters/interfaces/IdentityPortConfig | IdentityPortConfig # Interface: IdentityPortConfig ## Properties ### graph > **graph**: `IdentityGraph` The identity graph this adapter can resolve. LiquidityPortConfig | https://docs.totem.ing/api/totemsdk-edge-adapters/interfaces/LiquidityPortConfig | LiquidityPortConfig # Interface: LiquidityPortConfig ## Properties ### defaultTokenId? LocationPortConfig | https://docs.totem.ing/api/totemsdk-edge-adapters/interfaces/LocationPortConfig | LocationPortConfig # Interface: LocationPortConfig ## Properties ### issuer? MinimaL1PaymentPortConfig | https://docs.totem.ing/api/totemsdk-edge-adapters/interfaces/MinimaL1PaymentPortConfig | MinimaL1PaymentPortConfig # Interface: MinimaL1PaymentPortConfig ## Properties ### provider > **provider**: `ChainStateProvider` ChainStateProvider used to broadcast the signed TxPoW. OmniaHostPortConfig | https://docs.totem.ing/api/totemsdk-edge-adapters/interfaces/OmniaHostPortConfig | OmniaHostPortConfig # Interface: OmniaHostPortConfig ## Properties ### endpoint > **endpoint**: `string` *** ### fetch? OmniaL2PaymentPortConfig | https://docs.totem.ing/api/totemsdk-edge-adapters/interfaces/OmniaL2PaymentPortConfig | OmniaL2PaymentPortConfig # Interface: OmniaL2PaymentPortConfig ## Properties ### channels > **channels**: `Map`\<`string`, `RouterChannel`\> Live channel state keyed by channelId. ProofPortConfig | https://docs.totem.ing/api/totemsdk-edge-adapters/interfaces/ProofPortConfig | ProofPortConfig # Interface: ProofPortConfig ## Properties ### defaultKind? PubSubNegotiationTransportConfig | https://docs.totem.ing/api/totemsdk-edge-adapters/interfaces/PubSubNegotiationTransportConfig | PubSubNegotiationTransportConfig # Interface: PubSubNegotiationTransportConfig ## Properties ### maxBytes? PurchaseAuthorityAdapterConfig | https://docs.totem.ing/api/totemsdk-edge-adapters/interfaces/PurchaseAuthorityAdapterConfig | PurchaseAuthorityAdapterConfig # Interface: PurchaseAuthorityAdapterConfig ## Properties ### agentId? PurchaseLookupAdapterConfig | https://docs.totem.ing/api/totemsdk-edge-adapters/interfaces/PurchaseLookupAdapterConfig | PurchaseLookupAdapterConfig # Interface: PurchaseLookupAdapterConfig ## Properties ### client > **client**: `LookupClient` *** ### limit? PurchasePaymentAdapterConfig | https://docs.totem.ing/api/totemsdk-edge-adapters/interfaces/PurchasePaymentAdapterConfig | PurchasePaymentAdapterConfig # Interface: PurchasePaymentAdapterConfig ## Properties ### namespace? SQLiteCommerceStoreConfig | https://docs.totem.ing/api/totemsdk-edge-adapters/interfaces/SQLiteCommerceStoreConfig | SQLiteCommerceStoreConfig # Interface: SQLiteCommerceStoreConfig ## Properties ### busyTimeoutMs? StreamNegotiationTransportConfig | https://docs.totem.ing/api/totemsdk-edge-adapters/interfaces/StreamNegotiationTransportConfig | StreamNegotiationTransportConfig # Interface: StreamNegotiationTransportConfig ## Properties ### maxBytes? PurchasePaymentClaimRecord | https://docs.totem.ing/api/totemsdk-edge-adapters/type-aliases/PurchasePaymentClaimRecord | PurchasePaymentClaimRecord # Type Alias: PurchasePaymentClaimRecord > **PurchasePaymentClaimRecord** = \{ `claimedAt`: `number`; `phase`: `"pending"`; \} \| \{ `completedAt`: `number`; `phase`: `"completed"`; `result`: `EdgeOperationResult`\<`PaymentResult`\>; \} Idempotency claim record. PurchasePaymentStore | https://docs.totem.ing/api/totemsdk-edge-adapters/type-aliases/PurchasePaymentStore | PurchasePaymentStore # Type Alias: PurchasePaymentStore > **PurchasePaymentStore** = `StorageAdapterWithCapabilities` & `CasStore` The durable idempotency store must support conditional (CAS) writes. createBacnetGateway | https://docs.totem.ing/api/totemsdk-edge-bacnet/functions/createBacnetGateway | BacnetGateway # Function: createBacnetGateway() > **createBacnetGateway**(`config`): [`BacnetGateway`](. createBacnetSensorBridge | https://docs.totem.ing/api/totemsdk-edge-bacnet/functions/createBacnetSensorBridge | BacnetSensorBridge # Function: createBacnetSensorBridge() > **createBacnetSensorBridge**(`config`): [`BacnetSensorBridge`](. BacnetCovBinding | https://docs.totem.ing/api/totemsdk-edge-bacnet/interfaces/BacnetCovBinding | BacnetCovBinding # Interface: BacnetCovBinding ## Properties ### deviceId > **deviceId**: `number` *** ### lifetime? BacnetCovNotification | https://docs.totem.ing/api/totemsdk-edge-bacnet/interfaces/BacnetCovNotification | BacnetCovNotification BacnetDevice | https://docs.totem.ing/api/totemsdk-edge-bacnet/interfaces/BacnetDevice | BacnetDevice # Interface: BacnetDevice ## Properties ### address > **address**: `string` *** ### deviceId > **deviceId**: `number` *** ### deviceName > **deviceName**: `string` *** ### segmentsSupported? BacnetGateway | https://docs.totem.ing/api/totemsdk-edge-bacnet/interfaces/BacnetGateway | BacnetGateway # Interface: BacnetGateway ## Properties ### status > `readonly` **status**: `"stopped"` \| `"running"` \| `"error"` ## Methods ### discoverDevices() > **discoverDevices**(): `Promise`\<`EdgeOperationResult`\<\{ `devices`: [`BacnetDevice`](BacnetDevice. BacnetGatewayConfig | https://docs.totem.ing/api/totemsdk-edge-bacnet/interfaces/BacnetGatewayConfig | BacnetGatewayConfig # Interface: BacnetGatewayConfig ## Properties ### covSubscriptions? BacnetPropertyValue | https://docs.totem.ing/api/totemsdk-edge-bacnet/interfaces/BacnetPropertyValue | BacnetPropertyValue BacnetSensorBinding | https://docs.totem.ing/api/totemsdk-edge-bacnet/interfaces/BacnetSensorBinding | BacnetSensorBinding # Interface: BacnetSensorBinding ## Properties ### dataType? BacnetSensorBridge | https://docs.totem.ing/api/totemsdk-edge-bacnet/interfaces/BacnetSensorBridge | BacnetSensorBridge BacnetSensorBridgeConfig | https://docs.totem.ing/api/totemsdk-edge-bacnet/interfaces/BacnetSensorBridgeConfig | BacnetSensorBridgeConfig # Interface: BacnetSensorBridgeConfig ## Properties ### bindings > **bindings**: [`BacnetSensorBinding`](BacnetSensorBinding. BacnetSubscription | https://docs.totem.ing/api/totemsdk-edge-bacnet/interfaces/BacnetSubscription | BacnetSubscription # Interface: BacnetSubscription ## Methods ### cancel() > **cancel**(): `Promise`\<`void`\> Cancel the subscription. BacnetTransportPort | https://docs.totem.ing/api/totemsdk-edge-bacnet/interfaces/BacnetTransportPort | BacnetTransportPort # Interface: BacnetTransportPort BACnet transport port — injected by the caller. createBleGateway | https://docs.totem.ing/api/totemsdk-edge-ble/functions/createBleGateway | BleGateway # Function: createBleGateway() > **createBleGateway**(`config`): [`BleGateway`](. createBleSensorBridge | https://docs.totem.ing/api/totemsdk-edge-ble/functions/createBleSensorBridge | BleSensorBridge # Function: createBleSensorBridge() > **createBleSensorBridge**(`config`): [`BleSensorBridge`](. BleCharacteristic | https://docs.totem.ing/api/totemsdk-edge-ble/interfaces/BleCharacteristic | BleCharacteristic BleGateway | https://docs.totem.ing/api/totemsdk-edge-ble/interfaces/BleGateway | BleGateway # Interface: BleGateway ## Properties ### peripherals > `readonly` **peripherals**: [`BlePeripheral`](BlePeripheral. BleGatewayConfig | https://docs.totem.ing/api/totemsdk-edge-ble/interfaces/BleGatewayConfig | BleGatewayConfig # Interface: BleGatewayConfig ## Properties ### runtime > **runtime**: `EdgeRuntime` *** ### scanServices? BleNotification | https://docs.totem.ing/api/totemsdk-edge-ble/interfaces/BleNotification | BleNotification BlePeripheral | https://docs.totem.ing/api/totemsdk-edge-ble/interfaces/BlePeripheral | BlePeripheral # Interface: BlePeripheral ## Properties ### address > **address**: `string` *** ### id > **id**: `string` *** ### name? BleSensorBinding | https://docs.totem.ing/api/totemsdk-edge-ble/interfaces/BleSensorBinding | BleSensorBinding # Interface: BleSensorBinding ## Properties ### characteristicUuid > **characteristicUuid**: `string` *** ### dataType? BleSensorBridge | https://docs.totem.ing/api/totemsdk-edge-ble/interfaces/BleSensorBridge | BleSensorBridge BleSensorBridgeConfig | https://docs.totem.ing/api/totemsdk-edge-ble/interfaces/BleSensorBridgeConfig | BleSensorBridgeConfig # Interface: BleSensorBridgeConfig ## Properties ### bindings > **bindings**: [`BleSensorBinding`](BleSensorBinding. BleService | https://docs.totem.ing/api/totemsdk-edge-ble/interfaces/BleService | BleService # Interface: BleService ## Properties ### characteristics > **characteristics**: [`BleCharacteristic`](BleCharacteristic. BleTransportPort | https://docs.totem.ing/api/totemsdk-edge-ble/interfaces/BleTransportPort | BleTransportPort # Interface: BleTransportPort BLE transport port — injected by the caller. NativeCanTransport | https://docs.totem.ing/api/totemsdk-edge-can/classes/NativeCanTransport | NativeCanTransport # Class: NativeCanTransport CAN bus transport port — injected by the caller. createCanGateway | https://docs.totem.ing/api/totemsdk-edge-can/functions/createCanGateway | CanGateway # Function: createCanGateway() > **createCanGateway**(`config`): [`CanGateway`](. createCanSensorBridge | https://docs.totem.ing/api/totemsdk-edge-can/functions/createCanSensorBridge | CanSensorBridge # Function: createCanSensorBridge() > **createCanSensorBridge**(`config`): [`CanSensorBridge`](. CanFrame | https://docs.totem.ing/api/totemsdk-edge-can/interfaces/CanFrame | CanFrame # Interface: CanFrame ## Properties ### data > **data**: `Uint8Array` Data bytes (0-8). CanGateway | https://docs.totem.ing/api/totemsdk-edge-can/interfaces/CanGateway | CanGateway # Interface: CanGateway ## Properties ### status > `readonly` **status**: `"stopped"` \| `"running"` \| `"error"` ## Methods ### send() > **send**(`id`, `data`, `isExtended? CanGatewayConfig | https://docs.totem.ing/api/totemsdk-edge-can/interfaces/CanGatewayConfig | CanGatewayConfig # Interface: CanGatewayConfig ## Properties ### interfaceName > **interfaceName**: `string` *** ### runtime > **runtime**: `EdgeRuntime` *** ### signals? CanSensorBinding | https://docs.totem.ing/api/totemsdk-edge-can/interfaces/CanSensorBinding | CanSensorBinding # Interface: CanSensorBinding ## Properties ### canId > **canId**: `number` *** ### dataType? CanSensorBridge | https://docs.totem.ing/api/totemsdk-edge-can/interfaces/CanSensorBridge | CanSensorBridge CanSensorBridgeConfig | https://docs.totem.ing/api/totemsdk-edge-can/interfaces/CanSensorBridgeConfig | CanSensorBridgeConfig # Interface: CanSensorBridgeConfig ## Properties ### bindings > **bindings**: [`CanSensorBinding`](CanSensorBinding. CanSignal | https://docs.totem.ing/api/totemsdk-edge-can/interfaces/CanSignal | CanSignal # Interface: CanSignal ## Properties ### name > **name**: `string` Signal name from DBC file. CanSignalDef | https://docs.totem.ing/api/totemsdk-edge-can/interfaces/CanSignalDef | CanSignalDef # Interface: CanSignalDef ## Properties ### canId > **canId**: `number` *** ### isBigEndian > **isBigEndian**: `boolean` *** ### isExtended > **isExtended**: `boolean` *** ### isSigned > **isSigned**: `boolean` *** ### length > **length**: `number` *** ### name > **name**: `string` *** ### offset > **offset**: `number` *** ### scale > **scale**: `number` *** ### startBit > **startBit**: `number` *** ### unit? CanTransportPort | https://docs.totem.ing/api/totemsdk-edge-can/interfaces/CanTransportPort | CanTransportPort # Interface: CanTransportPort CAN bus transport port — injected by the caller. NativeCanConfig | https://docs.totem.ing/api/totemsdk-edge-can/interfaces/NativeCanConfig | NativeCanConfig # Interface: NativeCanConfig ## Properties ### connectTimeoutMs? NativeCoapTransport | https://docs.totem.ing/api/totemsdk-edge-coap/classes/NativeCoapTransport | NativeCoapTransport # Class: NativeCoapTransport CoAP transport port — injected by the caller. createCoapGateway | https://docs.totem.ing/api/totemsdk-edge-coap/functions/createCoapGateway | CoapGateway # Function: createCoapGateway() > **createCoapGateway**(`config`): [`CoapGateway`](. createCoapSensorBridge | https://docs.totem.ing/api/totemsdk-edge-coap/functions/createCoapSensorBridge | CoapSensorBridge # Function: createCoapSensorBridge() > **createCoapSensorBridge**(`config`): [`CoapSensorBridge`](. CoapGateway | https://docs.totem.ing/api/totemsdk-edge-coap/interfaces/CoapGateway | CoapGateway CoapGatewayConfig | https://docs.totem.ing/api/totemsdk-edge-coap/interfaces/CoapGatewayConfig | CoapGatewayConfig # Interface: CoapGatewayConfig ## Properties ### localPort > **localPort**: `number` *** ### runtime > **runtime**: `EdgeRuntime` *** ### transport > **transport**: [`CoapTransportPort`](CoapTransportPort. CoapMessage | https://docs.totem.ing/api/totemsdk-edge-coap/interfaces/CoapMessage | CoapMessage # Interface: CoapMessage ## Properties ### messageId > **messageId**: `number` Message ID for deduplication. CoapSensorBinding | https://docs.totem.ing/api/totemsdk-edge-coap/interfaces/CoapSensorBinding | CoapSensorBinding # Interface: CoapSensorBinding ## Properties ### dataType? CoapSensorBridge | https://docs.totem.ing/api/totemsdk-edge-coap/interfaces/CoapSensorBridge | CoapSensorBridge CoapSensorBridgeConfig | https://docs.totem.ing/api/totemsdk-edge-coap/interfaces/CoapSensorBridgeConfig | CoapSensorBridgeConfig # Interface: CoapSensorBridgeConfig ## Properties ### bindings > **bindings**: [`CoapSensorBinding`](CoapSensorBinding. CoapTransportPort | https://docs.totem.ing/api/totemsdk-edge-coap/interfaces/CoapTransportPort | CoapTransportPort # Interface: CoapTransportPort CoAP transport port — injected by the caller. NativeCoapConfig | https://docs.totem.ing/api/totemsdk-edge-coap/interfaces/NativeCoapConfig | NativeCoapConfig # Interface: NativeCoapConfig ## Properties ### connectTimeoutMs? CoapMessageType | https://docs.totem.ing/api/totemsdk-edge-coap/type-aliases/CoapMessageType | CoapMessageType CoapMethod | https://docs.totem.ing/api/totemsdk-edge-coap/type-aliases/CoapMethod | CoapMethod createEmailGateway | https://docs.totem.ing/api/totemsdk-edge-email/functions/createEmailGateway | EmailGateway # Function: createEmailGateway() > **createEmailGateway**(`config`): [`EmailGateway`](. createEmailSensorBridge | https://docs.totem.ing/api/totemsdk-edge-email/functions/createEmailSensorBridge | EmailSensorBridge # Function: createEmailSensorBridge() > **createEmailSensorBridge**(`config`): [`EmailSensorBridge`](. EmailAttachment | https://docs.totem.ing/api/totemsdk-edge-email/interfaces/EmailAttachment | EmailAttachment EmailGateway | https://docs.totem.ing/api/totemsdk-edge-email/interfaces/EmailGateway | EmailGateway # Interface: EmailGateway ## Properties ### status > `readonly` **status**: `"stopped"` \| `"running"` \| `"error"` ## Methods ### deleteMessage() > **deleteMessage**(`mailbox`, `id`): `Promise`\<`EdgeOperationResult`\<`unknown`\>\> #### Parameters ##### mailbox `string` ##### id `string` #### Returns `Promise`\<`EdgeOperationResult`\<`unknown`\>\> *** ### listMailboxes() > **listMailboxes**(): `Promise`\<`EdgeOperationResult`\<\{ `mailboxes`: `object`[]; \}\>\> #### Returns `Promise`\<`EdgeOperationResult`\<\{ `mailboxes`: `object`[]; \}\>\> *** ### markAsRead() > **markAsRead**(`mailbox`, `id`): `Promise`\<`EdgeOperationResult`\<`unknown`\>\> #### Parameters ##### mailbox `string` ##### id `string` #### Returns `Promise`\<`EdgeOperationResult`\<`unknown`\>\> *** ### moveMessage() > **moveMessage**(`mailbox`, `id`, `destination`): `Promise`\<`EdgeOperationResult`\<`unknown`\>\> #### Parameters ##### mailbox `string` ##### id `string` ##### destination `string` #### Returns `Promise`\<`EdgeOperationResult`\<`unknown`\>\> *** ### readMessage() > **readMessage**(`mailbox`, `id`): `Promise`\<`EdgeOperationResult`\<\{ `message`: [`EmailMessage`](EmailMessage. EmailGatewayConfig | https://docs.totem.ing/api/totemsdk-edge-email/interfaces/EmailGatewayConfig | EmailGatewayConfig # Interface: EmailGatewayConfig ## Properties ### defaultMailbox? EmailMessage | https://docs.totem.ing/api/totemsdk-edge-email/interfaces/EmailMessage | EmailMessage # Interface: EmailMessage ## Properties ### attachments > **attachments**: [`EmailAttachment`](EmailAttachment. EmailPollBinding | https://docs.totem.ing/api/totemsdk-edge-email/interfaces/EmailPollBinding | EmailPollBinding # Interface: EmailPollBinding ## Properties ### from? EmailSensorBridge | https://docs.totem.ing/api/totemsdk-edge-email/interfaces/EmailSensorBridge | EmailSensorBridge EmailSensorBridgeConfig | https://docs.totem.ing/api/totemsdk-edge-email/interfaces/EmailSensorBridgeConfig | EmailSensorBridgeConfig # Interface: EmailSensorBridgeConfig ## Properties ### bindings > **bindings**: [`EmailPollBinding`](EmailPollBinding. EmailTransportPort | https://docs.totem.ing/api/totemsdk-edge-email/interfaces/EmailTransportPort | EmailTransportPort # Interface: EmailTransportPort ## Methods ### close() > **close**(): `Promise`\<`void`\> #### Returns `Promise`\<`void`\> *** ### connect() > **connect**(): `Promise`\<`void`\> #### Returns `Promise`\<`void`\> *** ### deleteMessage() > **deleteMessage**(`mailbox`, `id`): `Promise`\<`void`\> #### Parameters ##### mailbox `string` ##### id `string` #### Returns `Promise`\<`void`\> *** ### listMailboxes() > **listMailboxes**(): `Promise`\<`object`[]\> #### Returns `Promise`\<`object`[]\> *** ### markAsRead() > **markAsRead**(`mailbox`, `id`): `Promise`\<`void`\> #### Parameters ##### mailbox `string` ##### id `string` #### Returns `Promise`\<`void`\> *** ### moveMessage() > **moveMessage**(`mailbox`, `id`, `destinationMailbox`): `Promise`\<`void`\> #### Parameters ##### mailbox `string` ##### id `string` ##### destinationMailbox `string` #### Returns `Promise`\<`void`\> *** ### onError() > **onError**(`handler`): () => `void` #### Parameters ##### handler (`err`) => `void` #### Returns () => `void` *** ### onNewMessage() > **onNewMessage**(`handler`): () => `void` #### Parameters ##### handler (`mailbox`, `message`) => `void` #### Returns () => `void` *** ### readMessage() > **readMessage**(`mailbox`, `id`): `Promise`\<[`EmailMessage`](EmailMessage. SendOptions | https://docs.totem.ing/api/totemsdk-edge-email/interfaces/SendOptions | SendOptions # Interface: SendOptions ## Properties ### attachments? NativeGrpcTransport | https://docs.totem.ing/api/totemsdk-edge-grpc/classes/NativeGrpcTransport | NativeGrpcTransport # Class: NativeGrpcTransport ## Implements - `IStreamTransport` ## Constructors ### Constructor > **new NativeGrpcTransport**(`config? createGrpcGateway | https://docs.totem.ing/api/totemsdk-edge-grpc/functions/createGrpcGateway | GrpcGateway # Function: createGrpcGateway() > **createGrpcGateway**(`config`): [`GrpcGateway`](. createGrpcSensorBridge | https://docs.totem.ing/api/totemsdk-edge-grpc/functions/createGrpcSensorBridge | GrpcSensorBridge # Function: createGrpcSensorBridge() > **createGrpcSensorBridge**(`config`): [`GrpcSensorBridge`](. GrpcClient | https://docs.totem.ing/api/totemsdk-edge-grpc/interfaces/GrpcClient | GrpcClient # Interface: GrpcClient ## Methods ### bidiStream() > **bidiStream**(`path`, `deadlineMs? GrpcGateway | https://docs.totem.ing/api/totemsdk-edge-grpc/interfaces/GrpcGateway | GrpcGateway # Interface: GrpcGateway ## Properties ### status > `readonly` **status**: `"stopped"` \| `"running"` \| `"error"` ## Methods ### call() > **call**(`path`, `payload`, `timeoutMs? GrpcGatewayConfig | https://docs.totem.ing/api/totemsdk-edge-grpc/interfaces/GrpcGatewayConfig | GrpcGatewayConfig # Interface: GrpcGatewayConfig ## Properties ### client > **client**: [`GrpcClient`](GrpcClient. GrpcMessage | https://docs.totem.ing/api/totemsdk-edge-grpc/interfaces/GrpcMessage | GrpcMessage # Interface: GrpcMessage ## Properties ### isResponse > **isResponse**: `boolean` *** ### path > **path**: `string` *** ### payload > **payload**: `Uint8Array` *** ### receivedAt > **receivedAt**: `number` *** ### requestId? GrpcSensorBinding | https://docs.totem.ing/api/totemsdk-edge-grpc/interfaces/GrpcSensorBinding | GrpcSensorBinding # Interface: GrpcSensorBinding ## Properties ### dataType? GrpcSensorBridge | https://docs.totem.ing/api/totemsdk-edge-grpc/interfaces/GrpcSensorBridge | GrpcSensorBridge GrpcSensorBridgeConfig | https://docs.totem.ing/api/totemsdk-edge-grpc/interfaces/GrpcSensorBridgeConfig | GrpcSensorBridgeConfig # Interface: GrpcSensorBridgeConfig ## Properties ### bindings > **bindings**: [`GrpcSensorBinding`](GrpcSensorBinding. GrpcStreamHandle | https://docs.totem.ing/api/totemsdk-edge-grpc/interfaces/GrpcStreamHandle | GrpcStreamHandle NativeGrpcConfig | https://docs.totem.ing/api/totemsdk-edge-grpc/interfaces/NativeGrpcConfig | NativeGrpcConfig # Interface: NativeGrpcConfig ## Properties ### connectTimeoutMs? GrpcTransportPort | https://docs.totem.ing/api/totemsdk-edge-grpc/type-aliases/GrpcTransportPort | GrpcTransportPort createLorawanGateway | https://docs.totem.ing/api/totemsdk-edge-lorawan/functions/createLorawanGateway | LorawanGateway # Function: createLorawanGateway() > **createLorawanGateway**(`config`): [`LorawanGateway`](. createLorawanSensorBridge | https://docs.totem.ing/api/totemsdk-edge-lorawan/functions/createLorawanSensorBridge | LorawanSensorBridge # Function: createLorawanSensorBridge() > **createLorawanSensorBridge**(`config`): [`LorawanSensorBridge`](. LorawanGateway | https://docs.totem.ing/api/totemsdk-edge-lorawan/interfaces/LorawanGateway | LorawanGateway # Interface: LorawanGateway ## Properties ### status > `readonly` **status**: `"stopped"` \| `"running"` \| `"error"` ## Methods ### sendConfirmed() > **sendConfirmed**(`port`, `data`): `Promise`\<`void`\> Send a confirmed uplink. LorawanGatewayConfig | https://docs.totem.ing/api/totemsdk-edge-lorawan/interfaces/LorawanGatewayConfig | LorawanGatewayConfig # Interface: LorawanGatewayConfig ## Properties ### abp? LorawanMessage | https://docs.totem.ing/api/totemsdk-edge-lorawan/interfaces/LorawanMessage | LorawanMessage # Interface: LorawanMessage ## Properties ### confirmed > **confirmed**: `boolean` Whether this was a confirmed message. LorawanSensorBinding | https://docs.totem.ing/api/totemsdk-edge-lorawan/interfaces/LorawanSensorBinding | LorawanSensorBinding # Interface: LorawanSensorBinding ## Properties ### dataType? LorawanSensorBridge | https://docs.totem.ing/api/totemsdk-edge-lorawan/interfaces/LorawanSensorBridge | LorawanSensorBridge LorawanSensorBridgeConfig | https://docs.totem.ing/api/totemsdk-edge-lorawan/interfaces/LorawanSensorBridgeConfig | LorawanSensorBridgeConfig # Interface: LorawanSensorBridgeConfig ## Properties ### bindings > **bindings**: [`LorawanSensorBinding`](LorawanSensorBinding. LorawanTransportPort | https://docs.totem.ing/api/totemsdk-edge-lorawan/interfaces/LorawanTransportPort | LorawanTransportPort # Interface: LorawanTransportPort LoRaWAN transport port — injected by the caller. createMatterGateway | https://docs.totem.ing/api/totemsdk-edge-matter/functions/createMatterGateway | MatterGateway # Function: createMatterGateway() > **createMatterGateway**(`config`): [`MatterGateway`](. createMatterSensorBridge | https://docs.totem.ing/api/totemsdk-edge-matter/functions/createMatterSensorBridge | MatterSensorBridge # Function: createMatterSensorBridge() > **createMatterSensorBridge**(`config`): [`MatterSensorBridge`](. MatterAttribute | https://docs.totem.ing/api/totemsdk-edge-matter/interfaces/MatterAttribute | MatterAttribute # Interface: MatterAttribute ## Properties ### attributeId > **attributeId**: `number` *** ### attributeName? MatterAttributeBinding | https://docs.totem.ing/api/totemsdk-edge-matter/interfaces/MatterAttributeBinding | MatterAttributeBinding # Interface: MatterAttributeBinding ## Properties ### attributeIds > **attributeIds**: `number`[] *** ### clusterId > **clusterId**: `number` *** ### endpointId > **endpointId**: `number` *** ### maxInterval > **maxInterval**: `number` *** ### minInterval > **minInterval**: `number` *** ### nodeId > **nodeId**: `string` *** ### sensorId? MatterAttributeValue | https://docs.totem.ing/api/totemsdk-edge-matter/interfaces/MatterAttributeValue | MatterAttributeValue MatterCluster | https://docs.totem.ing/api/totemsdk-edge-matter/interfaces/MatterCluster | MatterCluster # Interface: MatterCluster ## Properties ### attributes > **attributes**: [`MatterAttribute`](MatterAttribute. MatterCommand | https://docs.totem.ing/api/totemsdk-edge-matter/interfaces/MatterCommand | MatterCommand # Interface: MatterCommand ## Properties ### commandId > **commandId**: `number` *** ### commandName? MatterCommissionableDevice | https://docs.totem.ing/api/totemsdk-edge-matter/interfaces/MatterCommissionableDevice | MatterCommissionableDevice # Interface: MatterCommissionableDevice ## Properties ### discriminator > **discriminator**: `number` *** ### pairingHint? MatterEndpoint | https://docs.totem.ing/api/totemsdk-edge-matter/interfaces/MatterEndpoint | MatterEndpoint # Interface: MatterEndpoint ## Properties ### clusters > **clusters**: [`MatterCluster`](MatterCluster. MatterGateway | https://docs.totem.ing/api/totemsdk-edge-matter/interfaces/MatterGateway | MatterGateway # Interface: MatterGateway ## Properties ### status > `readonly` **status**: `"stopped"` \| `"running"` \| `"error"` ## Methods ### commission() > **commission**(`discriminator`, `setupCode`): `Promise`\<`EdgeOperationResult`\<\{ `node`: [`MatterNode`](MatterNode. MatterGatewayConfig | https://docs.totem.ing/api/totemsdk-edge-matter/interfaces/MatterGatewayConfig | MatterGatewayConfig # Interface: MatterGatewayConfig ## Properties ### productId > **productId**: `number` *** ### runtime > **runtime**: `EdgeRuntime` *** ### subscriptions? MatterNode | https://docs.totem.ing/api/totemsdk-edge-matter/interfaces/MatterNode | MatterNode # Interface: MatterNode ## Properties ### endpoints > **endpoints**: [`MatterEndpoint`](MatterEndpoint. MatterSensorBinding | https://docs.totem.ing/api/totemsdk-edge-matter/interfaces/MatterSensorBinding | MatterSensorBinding # Interface: MatterSensorBinding ## Properties ### attributeId > **attributeId**: `number` *** ### clusterId > **clusterId**: `number` *** ### dataType? MatterSensorBridge | https://docs.totem.ing/api/totemsdk-edge-matter/interfaces/MatterSensorBridge | MatterSensorBridge MatterSensorBridgeConfig | https://docs.totem.ing/api/totemsdk-edge-matter/interfaces/MatterSensorBridgeConfig | MatterSensorBridgeConfig # Interface: MatterSensorBridgeConfig ## Properties ### bindings > **bindings**: [`MatterSensorBinding`](MatterSensorBinding. MatterSubscription | https://docs.totem.ing/api/totemsdk-edge-matter/interfaces/MatterSubscription | MatterSubscription # Interface: MatterSubscription ## Methods ### cancel() > **cancel**(): `Promise`\<`void`\> Cancel the subscription. MatterTransportPort | https://docs.totem.ing/api/totemsdk-edge-matter/interfaces/MatterTransportPort | MatterTransportPort # Interface: MatterTransportPort Matter transport port — injected by the caller. NativeModbusTransport | https://docs.totem.ing/api/totemsdk-edge-modbus/classes/NativeModbusTransport | NativeModbusTransport # Class: NativeModbusTransport Modbus transport port — injected by the caller. createModbusGateway | https://docs.totem.ing/api/totemsdk-edge-modbus/functions/createModbusGateway | ModbusGateway # Function: createModbusGateway() > **createModbusGateway**(`config`): [`ModbusGateway`](. createModbusSensorBridge | https://docs.totem.ing/api/totemsdk-edge-modbus/functions/createModbusSensorBridge | ModbusSensorBridge # Function: createModbusSensorBridge() > **createModbusSensorBridge**(`config`): [`ModbusSensorBridge`](. ModbusGateway | https://docs.totem.ing/api/totemsdk-edge-modbus/interfaces/ModbusGateway | ModbusGateway ModbusGatewayConfig | https://docs.totem.ing/api/totemsdk-edge-modbus/interfaces/ModbusGatewayConfig | ModbusGatewayConfig # Interface: ModbusGatewayConfig ## Properties ### runtime > **runtime**: `EdgeRuntime` *** ### transport > **transport**: [`ModbusTransportPort`](ModbusTransportPort. ModbusMessage | https://docs.totem.ing/api/totemsdk-edge-modbus/interfaces/ModbusMessage | ModbusMessage # Interface: ModbusMessage ## Properties ### address > **address**: `number` Starting address (0-based). ModbusSensorBinding | https://docs.totem.ing/api/totemsdk-edge-modbus/interfaces/ModbusSensorBinding | ModbusSensorBinding # Interface: ModbusSensorBinding ## Properties ### address > **address**: `number` *** ### count > **count**: `number` *** ### dataType > **dataType**: `"coil"` \| `"register"` \| `"input"` *** ### functionCode > **functionCode**: `number` *** ### intervalMs > **intervalMs**: `number` *** ### sensorId > **sensorId**: `string` *** ### unit? ModbusSensorBridge | https://docs.totem.ing/api/totemsdk-edge-modbus/interfaces/ModbusSensorBridge | ModbusSensorBridge ModbusSensorBridgeConfig | https://docs.totem.ing/api/totemsdk-edge-modbus/interfaces/ModbusSensorBridgeConfig | ModbusSensorBridgeConfig # Interface: ModbusSensorBridgeConfig ## Properties ### bindings > **bindings**: [`ModbusSensorBinding`](ModbusSensorBinding. ModbusTransportPort | https://docs.totem.ing/api/totemsdk-edge-modbus/interfaces/ModbusTransportPort | ModbusTransportPort # Interface: ModbusTransportPort Modbus transport port — injected by the caller. NativeModbusConfig | https://docs.totem.ing/api/totemsdk-edge-modbus/interfaces/NativeModbusConfig | NativeModbusConfig # Interface: NativeModbusConfig ## Properties ### connectTimeoutMs? MqttClientUnavailableError | https://docs.totem.ing/api/totemsdk-edge-mqtt/classes/MqttClientUnavailableError | MqttClientUnavailableError # Class: MqttClientUnavailableError Typed error classes for @totemsdk/edge-mqtt. MqttCreditExceededError | https://docs.totem.ing/api/totemsdk-edge-mqtt/classes/MqttCreditExceededError | MqttCreditExceededError # Class: MqttCreditExceededError Typed error classes for @totemsdk/edge-mqtt. MqttEdgeError | https://docs.totem.ing/api/totemsdk-edge-mqtt/classes/MqttEdgeError | MqttEdgeError # Class: MqttEdgeError Typed error classes for @totemsdk/edge-mqtt. MqttPaymentRequiredError | https://docs.totem.ing/api/totemsdk-edge-mqtt/classes/MqttPaymentRequiredError | MqttPaymentRequiredError # Class: MqttPaymentRequiredError Typed error classes for @totemsdk/edge-mqtt. MqttPolicyRejectedError | https://docs.totem.ing/api/totemsdk-edge-mqtt/classes/MqttPolicyRejectedError | MqttPolicyRejectedError # Class: MqttPolicyRejectedError Typed error classes for @totemsdk/edge-mqtt. MqttProofCreationError | https://docs.totem.ing/api/totemsdk-edge-mqtt/classes/MqttProofCreationError | MqttProofCreationError # Class: MqttProofCreationError Typed error classes for @totemsdk/edge-mqtt. MqttQueueError | https://docs.totem.ing/api/totemsdk-edge-mqtt/classes/MqttQueueError | MqttQueueError # Class: MqttQueueError Typed error classes for @totemsdk/edge-mqtt. announceMqttService | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/announceMqttService | MqttService # Function: announceMqttService() > **announceMqttService**(`runtime`, `params`): `Promise`\<`EdgeOperationResult`\<`unknown`\>\> Announce to a single runtime's lookup port. announceToAll | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/announceToAll | ToAll # Function: announceToAll() > **announceToAll**(`runtimes`, `params`): `Promise`\<`EdgeOperationResult`\<`unknown`\>[]\> Announce to every lookup port in the provided list of runtimes. canonicalJson | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/canonicalJson | canonicalJson computeMqttEventId | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/computeMqttEventId | computeMqttEventId createDeadLetterEvent | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/createDeadLetterEvent | DeadLetterEvent # Function: createDeadLetterEvent() > **createDeadLetterEvent**(`event`, `reason`): [`MqttQueuedEvent`](. createDurableMqttEdgeQueue | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/createDurableMqttEdgeQueue | DurableMqttEdgeQueue # Function: createDurableMqttEdgeQueue() > **createDurableMqttEdgeQueue**(`adapter`, `options? createEdgeReceipt | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/createEdgeReceipt | EdgeReceipt # Function: createEdgeReceipt() > **createEdgeReceipt**(`opts`): `EdgeReceipt` ## Parameters ### opts #### issuedAt? createEdgeRuntime | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/createEdgeRuntime | createEdgeRuntime createMemoryMqttEdgeQueue | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/createMemoryMqttEdgeQueue | MemoryMqttEdgeQueue # Function: createMemoryMqttEdgeQueue() > **createMemoryMqttEdgeQueue**(): [`MqttEdgeQueue`](. createMqttCommandHandler | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/createMqttCommandHandler | MqttCommandHandler # Function: createMqttCommandHandler() > **createMqttCommandHandler**(`config`): [`MqttCommandHandler`](. createMqttCreditGate | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/createMqttCreditGate | MqttCreditGate # Function: createMqttCreditGate() > **createMqttCreditGate**(`config`): [`MqttCreditGate`](. createMqttEdgeGateway | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/createMqttEdgeGateway | MqttEdgeGateway # Function: createMqttEdgeGateway() > **createMqttEdgeGateway**(`config`): [`MqttEdgeGateway`](. createMqttEdgeServiceManifest | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/createMqttEdgeServiceManifest | MqttEdgeServiceManifest # Function: createMqttEdgeServiceManifest() > **createMqttEdgeServiceManifest**(`input`): `EdgeServiceManifest` ## Parameters ### input [`MqttEdgeServiceManifestInput`](. createMqttProofPublisher | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/createMqttProofPublisher | MqttProofPublisher # Function: createMqttProofPublisher() > **createMqttProofPublisher**(`config`): [`MqttProofPublisher`](. createMqttReceipt | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/createMqttReceipt | MqttReceipt # Function: createMqttReceipt() > **createMqttReceipt**(`input`): `EdgeReceipt` ## Parameters ### input [`MqttReceiptInput`](. createMqttRuleEngine | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/createMqttRuleEngine | MqttRuleEngine # Function: createMqttRuleEngine() > **createMqttRuleEngine**(`rules`): [`MqttRuleEngine`](. createMqttSensorBridge | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/createMqttSensorBridge | MqttSensorBridge # Function: createMqttSensorBridge() > **createMqttSensorBridge**(`config`): [`MqttSensorBridge`](. createMqttUsageMeter | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/createMqttUsageMeter | MqttUsageMeter # Function: createMqttUsageMeter() > **createMqttUsageMeter**(`config`): [`MqttUsageMeter`](. decodeMqttEdgeMessage | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/decodeMqttEdgeMessage | decodeMqttEdgeMessage encodeMqttEdgeMessage | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/encodeMqttEdgeMessage | MqttEdgeMessage # Function: encodeMqttEdgeMessage() > **encodeMqttEdgeMessage**(`message`): `Uint8Array` ## Parameters ### message #### payload `string` \| `Uint8Array`\<`ArrayBufferLike`\> #### properties? findMatchingRules | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/findMatchingRules | MatchingRules # Function: findMatchingRules() > **findMatchingRules**(`engine`, `topic`): [`MqttTopicRule`](. flushQueuedEvents | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/flushQueuedEvents | QueuedEvents # Function: flushQueuedEvents() > **flushQueuedEvents**(`client`, `queue`, `options? mirrorMqttToRealtime | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/mirrorMqttToRealtime | MqttToRealtime # Function: mirrorMqttToRealtime() > **mirrorMqttToRealtime**(`message`, `realtimePort`): `Promise`\<`EdgeOperationResult`\<`unknown`\>\> ## Parameters ### message [`MqttMessage`](. publishMqttManifest | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/publishMqttManifest | MqttManifest # Function: publishMqttManifest() > **publishMqttManifest**(`client`, `manifest`, `topic`): `Promise`\<`void`\> ## Parameters ### client [`MqttClientPort`](. publishMqttReceipt | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/publishMqttReceipt | MqttReceipt # Function: publishMqttReceipt() > **publishMqttReceipt**(`client`, `receipt`, `topic`): `Promise`\<`void`\> ## Parameters ### client [`MqttClientPort`](. routeMqttMessage | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/routeMqttMessage | MqttMessage # Function: routeMqttMessage() > **routeMqttMessage**(`engine`, `message`): [`MqttRouteDecision`](. verifyEdgeReceipt | https://docs.totem.ing/api/totemsdk-edge-mqtt/functions/verifyEdgeReceipt | verifyEdgeReceipt DurableEventRecord | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/DurableEventRecord | DurableEventRecord # Interface: DurableEventRecord ## Properties ### attempts > **attempts**: `number` *** ### deadAt? DurableMqttEdgeQueueOptions | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/DurableMqttEdgeQueueOptions | DurableMqttEdgeQueueOptions # Interface: DurableMqttEdgeQueueOptions ## Properties ### namespace? MqttClientPort | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttClientPort | MqttClientPort # Interface: MqttClientPort ## Methods ### connect()? MqttCommand | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttCommand | MqttCommand # Interface: MqttCommand ## Properties ### command > **command**: `string` *** ### commandId > **commandId**: `string` *** ### createdAt > **createdAt**: `number` *** ### payload? MqttCommandExecutor | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttCommandExecutor | MqttCommandExecutor # Interface: MqttCommandExecutor ## Methods ### execute() > **execute**(`command`): `Promise`\<`EdgeOperationResult`\<`unknown`\>\> #### Parameters ##### command [`MqttCommand`](MqttCommand. MqttCommandHandler | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttCommandHandler | MqttCommandHandler # Interface: MqttCommandHandler ## Methods ### handleCommand() > **handleCommand**(`message`): `Promise`\<`EdgeOperationResult`\<`unknown`\>\> #### Parameters ##### message [`MqttMessage`](MqttMessage. MqttCommandHandlerConfig | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttCommandHandlerConfig | MqttCommandHandlerConfig # Interface: MqttCommandHandlerConfig ## Properties ### client > **client**: [`MqttClientPort`](MqttClientPort. MqttCommandRule | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttCommandRule | MqttCommandRule # Interface: MqttCommandRule ## Extends - [`MqttTopicRule`](MqttTopicRule. MqttCreditDecision | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttCreditDecision | MqttCreditDecision # Interface: MqttCreditDecision ## Properties ### allowed > **allowed**: `boolean` *** ### reason? MqttCreditGate | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttCreditGate | MqttCreditGate # Interface: MqttCreditGate ## Methods ### checkCredit() > **checkCredit**(): `Promise`\<[`MqttCreditDecision`](MqttCreditDecision. MqttCreditGateConfig | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttCreditGateConfig | MqttCreditGateConfig # Interface: MqttCreditGateConfig ## Properties ### client > **client**: [`MqttClientPort`](MqttClientPort. MqttEdgeGateway | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttEdgeGateway | MqttEdgeGateway # Interface: MqttEdgeGateway ## Methods ### handleMessage() > **handleMessage**(`message`): `Promise`\<`void`\> #### Parameters ##### message [`MqttMessage`](MqttMessage. MqttEdgeGatewayConfig | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttEdgeGatewayConfig | MqttEdgeGatewayConfig # Interface: MqttEdgeGatewayConfig ## Properties ### client > **client**: [`MqttClientPort`](MqttClientPort. MqttEdgeQueue | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttEdgeQueue | MqttEdgeQueue # Interface: MqttEdgeQueue Claim/ack/retry queue contract (RFC-007 G4). MqttEdgeServiceManifestInput | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttEdgeServiceManifestInput | MqttEdgeServiceManifestInput # Interface: MqttEdgeServiceManifestInput ## Properties ### capabilities? MqttGatewayStatus | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttGatewayStatus | MqttGatewayStatus # Interface: MqttGatewayStatus ## Properties ### connectedAt? MqttMessage | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttMessage | MqttMessage # Interface: MqttMessage MqttClientPort — transport-agnostic MQTT port interface. MqttPaymentRule | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttPaymentRule | MqttPaymentRule # Interface: MqttPaymentRule ## Extends - [`MqttTopicRule`](MqttTopicRule. MqttProofEnvelope | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttProofEnvelope | MqttProofEnvelope # Interface: MqttProofEnvelope ## Properties ### createdAt > **createdAt**: `number` *** ### envelopeId > **envelopeId**: `string` *** ### message > **message**: [`MqttMessage`](MqttMessage. MqttProofOptions | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttProofOptions | MqttProofOptions # Interface: MqttProofOptions ## Properties ### metadata? MqttProofPublisher | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttProofPublisher | MqttProofPublisher # Interface: MqttProofPublisher ## Methods ### createProofFromMessage() > **createProofFromMessage**(`message`, `options? MqttProofPublisherConfig | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttProofPublisherConfig | MqttProofPublisherConfig # Interface: MqttProofPublisherConfig ## Properties ### client > **client**: [`MqttClientPort`](MqttClientPort. MqttProofRule | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttProofRule | MqttProofRule # Interface: MqttProofRule ## Extends - [`MqttTopicRule`](MqttTopicRule. MqttPublishOptions | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttPublishOptions | MqttPublishOptions # Interface: MqttPublishOptions ## Properties ### properties? MqttQueuedEvent | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttQueuedEvent | MqttQueuedEvent # Interface: MqttQueuedEvent ## Properties ### attempts > **attempts**: `number` *** ### createdAt > **createdAt**: `number` *** ### id > **id**: `string` *** ### metadata? MqttReceiptInput | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttReceiptInput | MqttReceiptInput # Interface: MqttReceiptInput ## Properties ### issuedAt? MqttRouteDecision | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttRouteDecision | MqttRouteDecision # Interface: MqttRouteDecision ## Properties ### message > **message**: [`MqttMessage`](MqttMessage. MqttRouteRule | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttRouteRule | MqttRouteRule # Interface: MqttRouteRule ## Extends - [`MqttTopicRule`](MqttTopicRule. MqttRuleEngine | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttRuleEngine | MqttRuleEngine # Interface: MqttRuleEngine ## Properties ### rules > **rules**: [`MqttTopicRule`](MqttTopicRule. MqttSensorBinding | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttSensorBinding | MqttSensorBinding # Interface: MqttSensorBinding ## Properties ### dataType? MqttSensorBridge | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttSensorBridge | MqttSensorBridge # Interface: MqttSensorBridge ## Methods ### handleMessage() > **handleMessage**(`message`): `Promise`\<`void`\> #### Parameters ##### message [`MqttMessage`](MqttMessage. MqttSensorBridgeConfig | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttSensorBridgeConfig | MqttSensorBridgeConfig # Interface: MqttSensorBridgeConfig ## Properties ### bindings > **bindings**: [`MqttSensorBinding`](MqttSensorBinding. MqttSubscribeOptions | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttSubscribeOptions | MqttSubscribeOptions # Interface: MqttSubscribeOptions ## Properties ### qos? MqttSubscription | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttSubscription | MqttSubscription MqttTopicMatch | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttTopicMatch | MqttTopicMatch # Interface: MqttTopicMatch ## Properties ### matched > **matched**: `boolean` *** ### params? MqttTopicRule | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttTopicRule | MqttTopicRule # Interface: MqttTopicRule ## Extended by - [`MqttProofRule`](MqttProofRule. MqttTopicSet | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttTopicSet | MqttTopicSet MqttTransportInfo | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttTransportInfo | MqttTransportInfo # Interface: MqttTransportInfo ## Properties ### brokerUrl? MqttUsageEvent | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttUsageEvent | MqttUsageEvent # Interface: MqttUsageEvent ## Properties ### createdAt > **createdAt**: `number` *** ### deviceId > **deviceId**: `string` *** ### eventId > **eventId**: `string` *** ### metadata? MqttUsageMeter | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttUsageMeter | MqttUsageMeter # Interface: MqttUsageMeter ## Methods ### createUsageReceipt() > **createUsageReceipt**(`event`): `EdgeReceipt` #### Parameters ##### event [`MqttUsageEvent`](MqttUsageEvent. MqttUsageMeterConfig | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/MqttUsageMeterConfig | MqttUsageMeterConfig # Interface: MqttUsageMeterConfig ## Properties ### deviceId > **deviceId**: `string` *** ### metadata? RealtimePort | https://docs.totem.ing/api/totemsdk-edge-mqtt/interfaces/RealtimePort | RealtimePort DurableMqttEdgeQueue | https://docs.totem.ing/api/totemsdk-edge-mqtt/type-aliases/DurableMqttEdgeQueue | DurableMqttEdgeQueue # Type Alias: DurableMqttEdgeQueue > **DurableMqttEdgeQueue** = [`MqttEdgeQueue`](. MqttRuleKind | https://docs.totem.ing/api/totemsdk-edge-mqtt/type-aliases/MqttRuleKind | MqttRuleKind MqttServiceType | https://docs.totem.ing/api/totemsdk-edge-mqtt/type-aliases/MqttServiceType | MqttServiceType MqttTransportKind | https://docs.totem.ing/api/totemsdk-edge-mqtt/type-aliases/MqttTransportKind | MqttTransportKind MqttUsageUnit | https://docs.totem.ing/api/totemsdk-edge-mqtt/type-aliases/MqttUsageUnit | MqttUsageUnit createDefaultMqttTopics | https://docs.totem.ing/api/totemsdk-edge-mqtt/variables/createDefaultMqttTopics | DefaultMqttTopics # Variable: createDefaultMqttTopics > `const` **createDefaultMqttTopics**: (`device_id`) => `any` = `create_default_mqtt_topics` Create default MQTT topic set for a device. createSensorTopic | https://docs.totem.ing/api/totemsdk-edge-mqtt/variables/createSensorTopic | SensorTopic # Variable: createSensorTopic > `const` **createSensorTopic**: (`device_id`, `sensor_id`, `kind`) => `string` = `create_sensor_topic` Create a sensor topic string. matchMqttTopic | https://docs.totem.ing/api/totemsdk-edge-mqtt/variables/matchMqttTopic | MqttTopic # Variable: matchMqttTopic > `const` **matchMqttTopic**: (`pattern`, `topic`) => `any` = `match_mqtt_topic` Match an MQTT topic pattern against a concrete topic. toHex | https://docs.totem.ing/api/totemsdk-edge-mqtt/variables/toHex | Hex # Variable: toHex > `const` **toHex**: (`bytes`) => `string` = `to_hex` Convert bytes to lowercase hex string. createNfcGateway | https://docs.totem.ing/api/totemsdk-edge-nfc/functions/createNfcGateway | NfcGateway # Function: createNfcGateway() > **createNfcGateway**(`config`): [`NfcGateway`](. decodeNdefMessage | https://docs.totem.ing/api/totemsdk-edge-nfc/functions/decodeNdefMessage | NdefMessage # Function: decodeNdefMessage() > **decodeNdefMessage**(`bytes`): [`NdefRecord`](. encodeNdefMessage | https://docs.totem.ing/api/totemsdk-edge-nfc/functions/encodeNdefMessage | NdefMessage # Function: encodeNdefMessage() > **encodeNdefMessage**(`records`): `Uint8Array` Encode a list of records into an NDEF message byte stream. NdefRecord | https://docs.totem.ing/api/totemsdk-edge-nfc/interfaces/NdefRecord | NdefRecord # Interface: NdefRecord An NDEF record (TNF + type + payload). NfcGateway | https://docs.totem.ing/api/totemsdk-edge-nfc/interfaces/NfcGateway | NfcGateway # Interface: NfcGateway ## Properties ### status > `readonly` **status**: `"stopped"` \| `"running"` \| `"error"` *** ### tags > `readonly` **tags**: [`NfcTag`](NfcTag. NfcGatewayConfig | https://docs.totem.ing/api/totemsdk-edge-nfc/interfaces/NfcGatewayConfig | NfcGatewayConfig # Interface: NfcGatewayConfig ## Properties ### runtime > **runtime**: `EdgeRuntime` *** ### techs? NfcTag | https://docs.totem.ing/api/totemsdk-edge-nfc/interfaces/NfcTag | NfcTag # Interface: NfcTag A detected NFC tag/card. NfcTagEvent | https://docs.totem.ing/api/totemsdk-edge-nfc/interfaces/NfcTagEvent | NfcTagEvent # Interface: NfcTagEvent A tag tap / presence event. NfcTransportPort | https://docs.totem.ing/api/totemsdk-edge-nfc/interfaces/NfcTransportPort | NfcTransportPort # Interface: NfcTransportPort ## Methods ### eraseNdef() > **eraseNdef**(`tagId`): `Promise`\<`void`\> Erase NDEF data from a present tag. HceApduHandler | https://docs.totem.ing/api/totemsdk-edge-nfc/type-aliases/HceApduHandler | HceApduHandler # Type Alias: HceApduHandler > **HceApduHandler** = (`apdu`) => `Promise`\<`Uint8Array`\> Host Card Emulation callback — respond to an ISO 7816-4 APDU sent by an external reader. TNF_ABSOLUTE_URI | https://docs.totem.ing/api/totemsdk-edge-nfc/variables/TNF_ABSOLUTE_URI | TNF_ABSOLUTE_URI TNF_EXTERNAL | https://docs.totem.ing/api/totemsdk-edge-nfc/variables/TNF_EXTERNAL | TNF_EXTERNAL TNF_MIME | https://docs.totem.ing/api/totemsdk-edge-nfc/variables/TNF_MIME | TNF_MIME TNF_WELL_KNOWN | https://docs.totem.ing/api/totemsdk-edge-nfc/variables/TNF_WELL_KNOWN | TNF_WELL_KNOWN NativeOpcuaTransport | https://docs.totem.ing/api/totemsdk-edge-opcua/classes/NativeOpcuaTransport | NativeOpcuaTransport # Class: NativeOpcuaTransport OPC-UA transport port — injected by the caller. createOpcuaGateway | https://docs.totem.ing/api/totemsdk-edge-opcua/functions/createOpcuaGateway | OpcuaGateway # Function: createOpcuaGateway() > **createOpcuaGateway**(`config`): [`OpcuaGateway`](. createOpcuaSensorBridge | https://docs.totem.ing/api/totemsdk-edge-opcua/functions/createOpcuaSensorBridge | OpcuaSensorBridge # Function: createOpcuaSensorBridge() > **createOpcuaSensorBridge**(`config`): [`OpcuaSensorBridge`](. NativeOpcuaConfig | https://docs.totem.ing/api/totemsdk-edge-opcua/interfaces/NativeOpcuaConfig | NativeOpcuaConfig # Interface: NativeOpcuaConfig ## Properties ### connectTimeoutMs? OpcuaGateway | https://docs.totem.ing/api/totemsdk-edge-opcua/interfaces/OpcuaGateway | OpcuaGateway # Interface: OpcuaGateway ## Properties ### status > `readonly` **status**: `"stopped"` \| `"running"` \| `"error"` ## Methods ### browse() > **browse**(`nodeId`): `Promise`\<`EdgeOperationResult`\<\{ `nodes`: [`OpcuaNode`](OpcuaNode. OpcuaGatewayConfig | https://docs.totem.ing/api/totemsdk-edge-opcua/interfaces/OpcuaGatewayConfig | OpcuaGatewayConfig # Interface: OpcuaGatewayConfig ## Properties ### endpointUrl > **endpointUrl**: `string` *** ### runtime > **runtime**: `EdgeRuntime` *** ### subscriptions? OpcuaNode | https://docs.totem.ing/api/totemsdk-edge-opcua/interfaces/OpcuaNode | OpcuaNode # Interface: OpcuaNode ## Properties ### browseName > **browseName**: `string` *** ### children? OpcuaNodeBinding | https://docs.totem.ing/api/totemsdk-edge-opcua/interfaces/OpcuaNodeBinding | OpcuaNodeBinding # Interface: OpcuaNodeBinding ## Properties ### nodeId > **nodeId**: `string` *** ### samplingInterval > **samplingInterval**: `number` *** ### sensorId? OpcuaSensorBinding | https://docs.totem.ing/api/totemsdk-edge-opcua/interfaces/OpcuaSensorBinding | OpcuaSensorBinding # Interface: OpcuaSensorBinding ## Properties ### dataType? OpcuaSensorBridge | https://docs.totem.ing/api/totemsdk-edge-opcua/interfaces/OpcuaSensorBridge | OpcuaSensorBridge OpcuaSensorBridgeConfig | https://docs.totem.ing/api/totemsdk-edge-opcua/interfaces/OpcuaSensorBridgeConfig | OpcuaSensorBridgeConfig # Interface: OpcuaSensorBridgeConfig ## Properties ### bindings > **bindings**: [`OpcuaSensorBinding`](OpcuaSensorBinding. OpcuaSubscription | https://docs.totem.ing/api/totemsdk-edge-opcua/interfaces/OpcuaSubscription | OpcuaSubscription # Interface: OpcuaSubscription ## Methods ### addNodes() > **addNodes**(`nodeIds`): `Promise`\<`void`\> Add nodes to the subscription. OpcuaTransportPort | https://docs.totem.ing/api/totemsdk-edge-opcua/interfaces/OpcuaTransportPort | OpcuaTransportPort # Interface: OpcuaTransportPort OPC-UA transport port — injected by the caller. OpcuaValue | https://docs.totem.ing/api/totemsdk-edge-opcua/interfaces/OpcuaValue | OpcuaValue # Interface: OpcuaValue ## Properties ### dataType > **dataType**: `string` *** ### serverTimestamp? OpcuaValueChange | https://docs.totem.ing/api/totemsdk-edge-opcua/interfaces/OpcuaValueChange | OpcuaValueChange # Interface: OpcuaValueChange ## Properties ### nodeId > **nodeId**: `string` *** ### receivedAt > **receivedAt**: `number` *** ### value > **value**: [`OpcuaValue`](OpcuaValue. createRos2Gateway | https://docs.totem.ing/api/totemsdk-edge-ros2/functions/createRos2Gateway | Ros2Gateway # Function: createRos2Gateway() > **createRos2Gateway**(`config`): [`Ros2Gateway`](. createRos2SensorBridge | https://docs.totem.ing/api/totemsdk-edge-ros2/functions/createRos2SensorBridge | Ros2SensorBridge # Function: createRos2SensorBridge() > **createRos2SensorBridge**(`config`): [`Ros2SensorBridge`](. Ros2Client | https://docs.totem.ing/api/totemsdk-edge-ros2/interfaces/Ros2Client | Ros2Client # Interface: Ros2Client ## Methods ### call() > **call**(`request`, `timeoutMs? Ros2Gateway | https://docs.totem.ing/api/totemsdk-edge-ros2/interfaces/Ros2Gateway | Ros2Gateway # Interface: Ros2Gateway ## Properties ### status > `readonly` **status**: `"stopped"` \| `"running"` \| `"error"` ## Methods ### callService() > **callService**(`service`, `serviceType`, `request`, `timeoutMs? Ros2GatewayConfig | https://docs.totem.ing/api/totemsdk-edge-ros2/interfaces/Ros2GatewayConfig | Ros2GatewayConfig # Interface: Ros2GatewayConfig ## Properties ### nodeName > **nodeName**: `string` *** ### runtime > **runtime**: `EdgeRuntime` *** ### subscriptions? Ros2Message | https://docs.totem.ing/api/totemsdk-edge-ros2/interfaces/Ros2Message | Ros2Message # Interface: Ros2Message ## Properties ### data > **data**: `Uint8Array` Serialised message bytes (CDR or custom serialisation). Ros2Publisher | https://docs.totem.ing/api/totemsdk-edge-ros2/interfaces/Ros2Publisher | Ros2Publisher # Interface: Ros2Publisher ## Methods ### destroy() > **destroy**(): `Promise`\<`void`\> #### Returns `Promise`\<`void`\> *** ### publish() > **publish**(`message`): `Promise`\<`void`\> #### Parameters ##### message [`Ros2Message`](Ros2Message. Ros2SensorBinding | https://docs.totem.ing/api/totemsdk-edge-ros2/interfaces/Ros2SensorBinding | Ros2SensorBinding # Interface: Ros2SensorBinding ## Properties ### dataType? Ros2SensorBridge | https://docs.totem.ing/api/totemsdk-edge-ros2/interfaces/Ros2SensorBridge | Ros2SensorBridge Ros2SensorBridgeConfig | https://docs.totem.ing/api/totemsdk-edge-ros2/interfaces/Ros2SensorBridgeConfig | Ros2SensorBridgeConfig # Interface: Ros2SensorBridgeConfig ## Properties ### bindings > **bindings**: [`Ros2SensorBinding`](Ros2SensorBinding. Ros2Server | https://docs.totem.ing/api/totemsdk-edge-ros2/interfaces/Ros2Server | Ros2Server Ros2Subscription | https://docs.totem.ing/api/totemsdk-edge-ros2/interfaces/Ros2Subscription | Ros2Subscription Ros2TopicBinding | https://docs.totem.ing/api/totemsdk-edge-ros2/interfaces/Ros2TopicBinding | Ros2TopicBinding # Interface: Ros2TopicBinding ## Properties ### messageType > **messageType**: `string` *** ### sensorId? Ros2TransportPort | https://docs.totem.ing/api/totemsdk-edge-ros2/interfaces/Ros2TransportPort | Ros2TransportPort # Interface: Ros2TransportPort ROS 2 transport port — injected by the caller. UsageStore | https://docs.totem.ing/api/totemsdk-governance/classes/UsageStore | UsageStore # Class: UsageStore ## Constructors ### Constructor > **new UsageStore**(): `UsageStore` #### Returns `UsageStore` ## Methods ### abortMandateUse() > **abortMandateUse**(`reservationId`, `_reason? activateProposal | https://docs.totem.ing/api/totemsdk-governance/functions/activateProposal | Proposal # Function: activateProposal() > **activateProposal**(`proposal`, `now? cancelProposal | https://docs.totem.ing/api/totemsdk-governance/functions/cancelProposal | Proposal # Function: cancelProposal() > **cancelProposal**(`proposal`): [`GovernanceResult`](. canonicalJson | https://docs.totem.ing/api/totemsdk-governance/functions/canonicalJson | canonicalJson computeDelegationId | https://docs.totem.ing/api/totemsdk-governance/functions/computeDelegationId | computeDelegationId computeOutcomeId | https://docs.totem.ing/api/totemsdk-governance/functions/computeOutcomeId | computeOutcomeId computeProposalId | https://docs.totem.ing/api/totemsdk-governance/functions/computeProposalId | computeProposalId computeSnapshotHash | https://docs.totem.ing/api/totemsdk-governance/functions/computeSnapshotHash | SnapshotHash # Function: computeSnapshotHash() > **computeSnapshotHash**(`daoId`, `frozenAt`, `entries`): `string` Canonical snapshot hash. computeTallyHash | https://docs.totem.ing/api/totemsdk-governance/functions/computeTallyHash | TallyHash # Function: computeTallyHash() > **computeTallyHash**(`tally`): `string` ## Parameters ### tally [`VoteTally`](. computeTallyProofHash | https://docs.totem.ing/api/totemsdk-governance/functions/computeTallyProofHash | TallyProofHash # Function: computeTallyProofHash() > **computeTallyProofHash**(`tally`): `string` ## Parameters ### tally [`VoteTally`](. computeVoteId | https://docs.totem.ing/api/totemsdk-governance/functions/computeVoteId | computeVoteId createDelegatedVote | https://docs.totem.ing/api/totemsdk-governance/functions/createDelegatedVote | DelegatedVote # Function: createDelegatedVote() > **createDelegatedVote**(`params`): [`GovernanceResult`](. createDelegation | https://docs.totem.ing/api/totemsdk-governance/functions/createDelegation | Delegation # Function: createDelegation() > **createDelegation**(`params`): [`Delegation`](. createGovernanceConfig | https://docs.totem.ing/api/totemsdk-governance/functions/createGovernanceConfig | GovernanceConfig # Function: createGovernanceConfig() > **createGovernanceConfig**(`params`): [`GovernanceConfig`](. createGovernedMandate | https://docs.totem.ing/api/totemsdk-governance/functions/createGovernedMandate | GovernedMandate # Function: createGovernedMandate() > **createGovernedMandate**(`outcome`, `action`, `actionIndex`, `governanceIdentity`, `executor`, `params`): `MandateBody` ## Parameters ### outcome [`ProposalOutcome`](. createOutcome | https://docs.totem.ing/api/totemsdk-governance/functions/createOutcome | Outcome # Function: createOutcome() > **createOutcome**(`params`): [`ProposalOutcome`](. createOutcomeProofDraft | https://docs.totem.ing/api/totemsdk-governance/functions/createOutcomeProofDraft | OutcomeProofDraft # Function: createOutcomeProofDraft() > **createOutcomeProofDraft**(`outcome`, `issuer`): `UnsignedProof` ## Parameters ### outcome [`ProposalOutcome`](. createProposal | https://docs.totem.ing/api/totemsdk-governance/functions/createProposal | Proposal # Function: createProposal() > **createProposal**(`params`): [`GovernanceResult`](. createProposalProofDraft | https://docs.totem.ing/api/totemsdk-governance/functions/createProposalProofDraft | ProposalProofDraft # Function: createProposalProofDraft() > **createProposalProofDraft**(`proposal`, `issuer`): `UnsignedProof` ## Parameters ### proposal [`Proposal`](. createQuadraticVote | https://docs.totem.ing/api/totemsdk-governance/functions/createQuadraticVote | QuadraticVote # Function: createQuadraticVote() > **createQuadraticVote**(`params`): [`GovernanceResult`](. createVote | https://docs.totem.ing/api/totemsdk-governance/functions/createVote | Vote # Function: createVote() > **createVote**(`params`): [`GovernanceResult`](. createVoteProofDraft | https://docs.totem.ing/api/totemsdk-governance/functions/createVoteProofDraft | VoteProofDraft # Function: createVoteProofDraft() > **createVoteProofDraft**(`vote`, `issuer`): `UnsignedProof` ## Parameters ### vote [`Vote`](. executeProposal | https://docs.totem.ing/api/totemsdk-governance/functions/executeProposal | Proposal # Function: executeProposal() > **executeProposal**(`proposal`, `tally`, `outcomeProofId`, `governanceIdentity`, `executor`, `now? finalizeProposal | https://docs.totem.ing/api/totemsdk-governance/functions/finalizeProposal | Proposal # Function: finalizeProposal() > **finalizeProposal**(`proposal`, `tally`): [`Proposal`](. finalizeProposalExecution | https://docs.totem.ing/api/totemsdk-governance/functions/finalizeProposalExecution | ProposalExecution # Function: finalizeProposalExecution() > **finalizeProposalExecution**(`proposal`, `outcomeProofSigned`, `txId`): [`Proposal`](. freezeMembershipSnapshot | https://docs.totem.ing/api/totemsdk-governance/functions/freezeMembershipSnapshot | MembershipSnapshot # Function: freezeMembershipSnapshot() > **freezeMembershipSnapshot**(`daoId`, `entries`, `frozenAt? getActiveDelegations | https://docs.totem.ing/api/totemsdk-governance/functions/getActiveDelegations | ActiveDelegations # Function: getActiveDelegations() > **getActiveDelegations**(`delegations`, `daoId`, `now? getMemberWeight | https://docs.totem.ing/api/totemsdk-governance/functions/getMemberWeight | MemberWeight # Function: getMemberWeight() > **getMemberWeight**(`snapshot`, `memberId`, `at? getTotalWeight | https://docs.totem.ing/api/totemsdk-governance/functions/getTotalWeight | TotalWeight # Function: getTotalWeight() > **getTotalWeight**(`snapshot`, `at? getWeightToDelegate | https://docs.totem.ing/api/totemsdk-governance/functions/getWeightToDelegate | WeightToDelegate # Function: getWeightToDelegate() > **getWeightToDelegate**(`memberId`, `snapshot`, `delegations`, `daoId`): `number` ## Parameters ### memberId `string` ### snapshot [`MembershipSnapshot`](. hashCanonical | https://docs.totem.ing/api/totemsdk-governance/functions/hashCanonical | hashCanonical isExecutionReady | https://docs.totem.ing/api/totemsdk-governance/functions/isExecutionReady | ExecutionReady # Function: isExecutionReady() > **isExecutionReady**(`proposal`, `_config? isGovernanceError | https://docs.totem.ing/api/totemsdk-governance/functions/isGovernanceError | GovernanceError # Function: isGovernanceError() > **isGovernanceError**\<`T`\>(`result`): `result is GovernanceError` ## Type Parameters ### T `T` ## Parameters ### result [`GovernanceResult`](. recallDelegation | https://docs.totem.ing/api/totemsdk-governance/functions/recallDelegation | Delegation # Function: recallDelegation() > **recallDelegation**(`delegation`, `revokedAt? resolveDelegation | https://docs.totem.ing/api/totemsdk-governance/functions/resolveDelegation | Delegation # Function: resolveDelegation() > **resolveDelegation**(`memberId`, `daoId`, `snapshot`, `delegations`, `options? resolveVotingPower | https://docs.totem.ing/api/totemsdk-governance/functions/resolveVotingPower | VotingPower # Function: resolveVotingPower() > **resolveVotingPower**(`memberId`, `daoId`, `snapshot`, `delegations`, `options? tallyVotes | https://docs.totem.ing/api/totemsdk-governance/functions/tallyVotes | Votes # Function: tallyVotes() > **tallyVotes**(`params`): [`GovernanceResult`](. toHex | https://docs.totem.ing/api/totemsdk-governance/functions/toHex | toHex validateGovernanceConfig | https://docs.totem.ing/api/totemsdk-governance/functions/validateGovernanceConfig | GovernanceConfig # Function: validateGovernanceConfig() > **validateGovernanceConfig**(`config`): `string`[] ## Parameters ### config [`GovernanceConfig`](. verifyMembershipSnapshot | https://docs.totem.ing/api/totemsdk-governance/functions/verifyMembershipSnapshot | MembershipSnapshot # Function: verifyMembershipSnapshot() > **verifyMembershipSnapshot**(`snapshot`): `boolean` ## Parameters ### snapshot [`MembershipSnapshot`](. Delegation | https://docs.totem.ing/api/totemsdk-governance/interfaces/Delegation | Delegation # Interface: Delegation ## Properties ### castAt > **castAt**: `number` *** ### daoId > **daoId**: `string` *** ### delegate > **delegate**: `string` *** ### delegator > **delegator**: `string` *** ### expiresAt? DelegationConfig | https://docs.totem.ing/api/totemsdk-governance/interfaces/DelegationConfig | DelegationConfig # Interface: DelegationConfig ## Properties ### allowPartialDelegation > **allowPartialDelegation**: `boolean` *** ### allowRecall > **allowRecall**: `boolean` *** ### allowScopeRestricted > **allowScopeRestricted**: `boolean` *** ### enabled > **enabled**: `boolean` *** ### maxChainDepth > **maxChainDepth**: `number` *** ### recallThresholdBps? DelegationResolution | https://docs.totem.ing/api/totemsdk-governance/interfaces/DelegationResolution | DelegationResolution GovernanceConfig | https://docs.totem.ing/api/totemsdk-governance/interfaces/GovernanceConfig | GovernanceConfig # Interface: GovernanceConfig ## Properties ### authorityResolver > **authorityResolver**: `string` *** ### authorityScope > **authorityScope**: `string` *** ### daoId > **daoId**: `string` *** ### membership > **membership**: `object` #### defaultWeight > **defaultWeight**: `number` #### minWeightToPropose > **minWeightToPropose**: `number` *** ### name > **name**: `string` *** ### voting > **voting**: [`VotingConfig`](VotingConfig. GovernanceError | https://docs.totem.ing/api/totemsdk-governance/interfaces/GovernanceError | GovernanceError MandateReceipt | https://docs.totem.ing/api/totemsdk-governance/interfaces/MandateReceipt | MandateReceipt # Interface: MandateReceipt ## Properties ### actionIndex > **actionIndex**: `number` *** ### actionType > **actionType**: [`ProposalActionType`](. MembershipEntry | https://docs.totem.ing/api/totemsdk-governance/interfaces/MembershipEntry | MembershipEntry # Interface: MembershipEntry ## Properties ### addedAt > **addedAt**: `number` *** ### addedBy > **addedBy**: `string` *** ### expiresAt? MembershipSnapshot | https://docs.totem.ing/api/totemsdk-governance/interfaces/MembershipSnapshot | MembershipSnapshot # Interface: MembershipSnapshot ## Properties ### daoId > **daoId**: `string` *** ### entries > **entries**: `Map`\<`string`, [`MembershipEntry`](MembershipEntry. Proposal | https://docs.totem.ing/api/totemsdk-governance/interfaces/Proposal | Proposal # Interface: Proposal ## Properties ### actions > **actions**: [`ProposalAction`](ProposalAction. ProposalAction | https://docs.totem.ing/api/totemsdk-governance/interfaces/ProposalAction | ProposalAction # Interface: ProposalAction ## Properties ### description > **description**: `string` *** ### payload > **payload**: `Record`\<`string`, `unknown`\> *** ### target? ProposalOutcome | https://docs.totem.ing/api/totemsdk-governance/interfaces/ProposalOutcome | ProposalOutcome # Interface: ProposalOutcome ## Properties ### determinedAt > **determinedAt**: `number` *** ### determinedBy > **determinedBy**: `string` *** ### passed > **passed**: `boolean` *** ### proofId? QuadraticConfig | https://docs.totem.ing/api/totemsdk-governance/interfaces/QuadraticConfig | QuadraticConfig # Interface: QuadraticConfig ## Properties ### creditSource > **creditSource**: `"weight"` \| `"fixed"` *** ### enabled > **enabled**: `boolean` *** ### maxCreditsPerMember? QuadraticCredits | https://docs.totem.ing/api/totemsdk-governance/interfaces/QuadraticCredits | QuadraticCredits QuadraticVoteAllocation | https://docs.totem.ing/api/totemsdk-governance/interfaces/QuadraticVoteAllocation | QuadraticVoteAllocation UsageReservation | https://docs.totem.ing/api/totemsdk-governance/interfaces/UsageReservation | UsageReservation Vote | https://docs.totem.ing/api/totemsdk-governance/interfaces/Vote | Vote # Interface: Vote ## Properties ### castAt > **castAt**: `number` *** ### choice > **choice**: `"yes"` \| `"no"` \| `"abstain"` *** ### delegationChain? VoteTally | https://docs.totem.ing/api/totemsdk-governance/interfaces/VoteTally | VoteTally # Interface: VoteTally ## Properties ### abstain > **abstain**: `number` *** ### algorithm > **algorithm**: [`TallyAlgorithm`](. VotingConfig | https://docs.totem.ing/api/totemsdk-governance/interfaces/VotingConfig | VotingConfig # Interface: VotingConfig ## Properties ### algorithm > **algorithm**: `"linear"` \| `"quadratic"` \| `"liquid"` *** ### allowAbstain > **allowAbstain**: `boolean` *** ### delayBeforeVotingMs > **delayBeforeVotingMs**: `number` *** ### delegation? GovernanceResult | https://docs.totem.ing/api/totemsdk-governance/type-aliases/GovernanceResult | GovernanceResult # Type Alias: GovernanceResult\ > **GovernanceResult**\<`T`\> = `T` \| [`GovernanceError`](. ProposalActionType | https://docs.totem.ing/api/totemsdk-governance/type-aliases/ProposalActionType | ProposalActionType ProposalStatus | https://docs.totem.ing/api/totemsdk-governance/type-aliases/ProposalStatus | ProposalStatus TallyAlgorithm | https://docs.totem.ing/api/totemsdk-governance/type-aliases/TallyAlgorithm | TallyAlgorithm bindManifestToIdentity | https://docs.totem.ing/api/totemsdk-identity/functions/bindManifestToIdentity | ManifestToIdentity # Function: bindManifestToIdentity() > **bindManifestToIdentity**(`signedManifest`, `identityGraph`, `options? computeIdentityId | https://docs.totem.ing/api/totemsdk-identity/functions/computeIdentityId | IdentityId # Function: computeIdentityId() > **computeIdentityId**(`kind`, `rootAddress`): `string` ## Parameters ### kind [`IdentityKind`](. createDelegationClaim | https://docs.totem.ing/api/totemsdk-identity/functions/createDelegationClaim | DelegationClaim # Function: createDelegationClaim() > **createDelegationClaim**(`opts`): [`IdentityClaim`](. createIdentityClaim | https://docs.totem.ing/api/totemsdk-identity/functions/createIdentityClaim | IdentityClaim # Function: createIdentityClaim() > **createIdentityClaim**(`opts`): [`IdentityClaim`](. createIdentityDocument | https://docs.totem.ing/api/totemsdk-identity/functions/createIdentityDocument | IdentityDocument # Function: createIdentityDocument() > **createIdentityDocument**(`opts`): [`TotemIdentityDocument`](. createPaymentRecipientClaim | https://docs.totem.ing/api/totemsdk-identity/functions/createPaymentRecipientClaim | PaymentRecipientClaim # Function: createPaymentRecipientClaim() > **createPaymentRecipientClaim**(`opts`): [`IdentityClaim`](. createServiceEndpointClaim | https://docs.totem.ing/api/totemsdk-identity/functions/createServiceEndpointClaim | ServiceEndpointClaim # Function: createServiceEndpointClaim() > **createServiceEndpointClaim**(`opts`): [`IdentityClaim`](. isIdentityClaim | https://docs.totem.ing/api/totemsdk-identity/functions/isIdentityClaim | isIdentityClaim isRevocationClaim | https://docs.totem.ing/api/totemsdk-identity/functions/isRevocationClaim | isRevocationClaim isRotationClaim | https://docs.totem.ing/api/totemsdk-identity/functions/isRotationClaim | isRotationClaim isSignedIdentityClaim | https://docs.totem.ing/api/totemsdk-identity/functions/isSignedIdentityClaim | isSignedIdentityClaim isTotemIdentityDocument | https://docs.totem.ing/api/totemsdk-identity/functions/isTotemIdentityDocument | isTotemIdentityDocument resolveIdentityGraph | https://docs.totem.ing/api/totemsdk-identity/functions/resolveIdentityGraph | IdentityGraph # Function: resolveIdentityGraph() > **resolveIdentityGraph**(`graph`): [`IdentityResolutionResult`](. revokeIdentity | https://docs.totem.ing/api/totemsdk-identity/functions/revokeIdentity | Identity # Function: revokeIdentity() > **revokeIdentity**(`opts`): [`IdentityClaim`](. rotateIdentity | https://docs.totem.ing/api/totemsdk-identity/functions/rotateIdentity | Identity # Function: rotateIdentity() > **rotateIdentity**(`opts`): [`IdentityClaim`](. signIdentityClaim | https://docs.totem.ing/api/totemsdk-identity/functions/signIdentityClaim | IdentityClaim # Function: signIdentityClaim() > **signIdentityClaim**(`claim`, `seed`, `keyIndex`): `Promise`\<[`SignedIdentityClaim`](. verifyIdentityClaim | https://docs.totem.ing/api/totemsdk-identity/functions/verifyIdentityClaim | IdentityClaim # Function: verifyIdentityClaim() > **verifyIdentityClaim**(`signed`): [`IdentityVerifyResult`](. verifyManifestIdentity | https://docs.totem.ing/api/totemsdk-identity/functions/verifyManifestIdentity | ManifestIdentity # Function: verifyManifestIdentity() > **verifyManifestIdentity**(`signedManifest`, `identityGraph`, `options? DelegationClaim | https://docs.totem.ing/api/totemsdk-identity/interfaces/DelegationClaim | DelegationClaim # Interface: DelegationClaim ## Properties ### claimId > **claimId**: `string` *** ### delegatedAddress > **delegatedAddress**: `string` *** ### expiresAt? IdentityClaim | https://docs.totem.ing/api/totemsdk-identity/interfaces/IdentityClaim | IdentityClaim # Interface: IdentityClaim ## Properties ### expiresAt? IdentityGraph | https://docs.totem.ing/api/totemsdk-identity/interfaces/IdentityGraph | IdentityGraph # Interface: IdentityGraph ## Properties ### claims > **claims**: [`SignedIdentityClaim`](SignedIdentityClaim. IdentityProofVerifier | https://docs.totem.ing/api/totemsdk-identity/interfaces/IdentityProofVerifier | IdentityProofVerifier # Interface: IdentityProofVerifier ## Properties ### type > **type**: `string` ## Methods ### verify() > **verify**(`proof`): `Promise`\<[`IdentityVerifyResult`](IdentityVerifyResult. IdentityResolutionResult | https://docs.totem.ing/api/totemsdk-identity/interfaces/IdentityResolutionResult | IdentityResolutionResult # Interface: IdentityResolutionResult ## Properties ### errors > **errors**: `string`[] *** ### resolved > **resolved**: [`ResolvedIdentity`](ResolvedIdentity. IdentityVerifyResult | https://docs.totem.ing/api/totemsdk-identity/interfaces/IdentityVerifyResult | IdentityVerifyResult # Interface: IdentityVerifyResult ## Properties ### metadata? ManifestIdentityBinding | https://docs.totem.ing/api/totemsdk-identity/interfaces/ManifestIdentityBinding | ManifestIdentityBinding # Interface: ManifestIdentityBinding ## Properties ### identityId > **identityId**: `string` *** ### manifestId > **manifestId**: `string` *** ### reason? PaymentRecipientClaim | https://docs.totem.ing/api/totemsdk-identity/interfaces/PaymentRecipientClaim | PaymentRecipientClaim # Interface: PaymentRecipientClaim ## Properties ### address > **address**: `string` *** ### claimId > **claimId**: `string` *** ### expiresAt? ResolvedIdentity | https://docs.totem.ing/api/totemsdk-identity/interfaces/ResolvedIdentity | ResolvedIdentity # Interface: ResolvedIdentity ## Properties ### authorizedAddresses > **authorizedAddresses**: `string`[] *** ### controlledAddresses > **controlledAddresses**: `string`[] *** ### controllerAddress > **controllerAddress**: `string` *** ### delegates > **delegates**: [`DelegationClaim`](DelegationClaim. RevocationClaim | https://docs.totem.ing/api/totemsdk-identity/interfaces/RevocationClaim | RevocationClaim # Interface: RevocationClaim ## Properties ### claimId > **claimId**: `string` *** ### issuedAt > **issuedAt**: `number` *** ### issuer > **issuer**: `string` *** ### reason? RotationClaim | https://docs.totem.ing/api/totemsdk-identity/interfaces/RotationClaim | RotationClaim ServiceEndpointClaim | https://docs.totem.ing/api/totemsdk-identity/interfaces/ServiceEndpointClaim | ServiceEndpointClaim # Interface: ServiceEndpointClaim ## Properties ### claimId > **claimId**: `string` *** ### endpointType > **endpointType**: `string` *** ### expiresAt? SignedIdentityClaim | https://docs.totem.ing/api/totemsdk-identity/interfaces/SignedIdentityClaim | SignedIdentityClaim # Interface: SignedIdentityClaim ## Properties ### claim > **claim**: [`IdentityClaim`](IdentityClaim. TotemIdentityDocument | https://docs.totem.ing/api/totemsdk-identity/interfaces/TotemIdentityDocument | TotemIdentityDocument # Interface: TotemIdentityDocument ## Properties ### controllerAddress > **controllerAddress**: `string` *** ### createdAt > **createdAt**: `number` *** ### id > **id**: `string` *** ### kind > **kind**: [`IdentityKind`](. IdentityClaimType | https://docs.totem.ing/api/totemsdk-identity/type-aliases/IdentityClaimType | IdentityClaimType IdentityKind | https://docs.totem.ing/api/totemsdk-identity/type-aliases/IdentityKind | IdentityKind # Type Alias: IdentityKind > **IdentityKind** = `"person"` \| `"device"` \| `"agent"` \| `"service"` \| `"organization"` \| `"sensor"` \| `"robot"` \| `"gateway"` @totemsdk/identity — Type definitions Pure schema — no network, no DHT, no blockchain submission. IdentityStatus | https://docs.totem.ing/api/totemsdk-identity/type-aliases/IdentityStatus | IdentityStatus IDENTITY_VERSION | https://docs.totem.ing/api/totemsdk-identity/variables/IDENTITY_VERSION | IDENTITY_VERSION ActionCommitmentError | https://docs.totem.ing/api/totemsdk-industrial-action/classes/ActionCommitmentError | ActionCommitmentError # Class: ActionCommitmentError ## Extends - [`IndustrialActionError`](IndustrialActionError. ActionConditionError | https://docs.totem.ing/api/totemsdk-industrial-action/classes/ActionConditionError | ActionConditionError # Class: ActionConditionError ## Extends - [`IndustrialActionError`](IndustrialActionError. ActionDefinitionError | https://docs.totem.ing/api/totemsdk-industrial-action/classes/ActionDefinitionError | ActionDefinitionError # Class: ActionDefinitionError ## Extends - [`IndustrialActionError`](IndustrialActionError. ActionExecutionError | https://docs.totem.ing/api/totemsdk-industrial-action/classes/ActionExecutionError | ActionExecutionError # Class: ActionExecutionError ## Extends - [`IndustrialActionError`](IndustrialActionError. ActionGovernanceError | https://docs.totem.ing/api/totemsdk-industrial-action/classes/ActionGovernanceError | ActionGovernanceError # Class: ActionGovernanceError ## Extends - [`IndustrialActionError`](IndustrialActionError. ActionRegistry | https://docs.totem.ing/api/totemsdk-industrial-action/classes/ActionRegistry | ActionRegistry # Class: ActionRegistry ## Constructors ### Constructor > **new ActionRegistry**(): `ActionRegistry` #### Returns `ActionRegistry` ## Methods ### getDefinition() > **getDefinition**(`kind`): [`IndustrialActionDefinition`](. ActionValidationError | https://docs.totem.ing/api/totemsdk-industrial-action/classes/ActionValidationError | ActionValidationError # Class: ActionValidationError ## Extends - [`IndustrialActionError`](IndustrialActionError. IndustrialActionError | https://docs.totem.ing/api/totemsdk-industrial-action/classes/IndustrialActionError | IndustrialActionError # Class: IndustrialActionError ## Extends - `Error` ## Extended by - [`ActionDefinitionError`](ActionDefinitionError. assertValidContext | https://docs.totem.ing/api/totemsdk-industrial-action/functions/assertValidContext | ValidContext # Function: assertValidContext() > **assertValidContext**(`schema`, `context`, `now`): `void` ## Parameters ### schema [`ActionSchema`](. assertValidParameters | https://docs.totem.ing/api/totemsdk-industrial-action/functions/assertValidParameters | ValidParameters # Function: assertValidParameters() > **assertValidParameters**(`schema`, `parameters`): `void` ## Parameters ### schema [`ActionSchema`](. assertValidProposal | https://docs.totem.ing/api/totemsdk-industrial-action/functions/assertValidProposal | ValidProposal # Function: assertValidProposal() > **assertValidProposal**(`proposal`): `void` ## Parameters ### proposal [`ActionProposal`](. canonicalJson | https://docs.totem.ing/api/totemsdk-industrial-action/functions/canonicalJson | canonicalJson checkGovernanceConstraints | https://docs.totem.ing/api/totemsdk-industrial-action/functions/checkGovernanceConstraints | GovernanceConstraints # Function: checkGovernanceConstraints() > **checkGovernanceConstraints**(`proposal`, `now`): `string`[] ## Parameters ### proposal [`ActionProposal`](. computeActionExecutionId | https://docs.totem.ing/api/totemsdk-industrial-action/functions/computeActionExecutionId | computeActionExecutionId computeActionProposalId | https://docs.totem.ing/api/totemsdk-industrial-action/functions/computeActionProposalId | computeActionProposalId computeCommitmentHash | https://docs.totem.ing/api/totemsdk-industrial-action/functions/computeCommitmentHash | computeCommitmentHash computeReceiptId | https://docs.totem.ing/api/totemsdk-industrial-action/functions/computeReceiptId | computeReceiptId createActionDefinition | https://docs.totem.ing/api/totemsdk-industrial-action/functions/createActionDefinition | ActionDefinition # Function: createActionDefinition() > **createActionDefinition**\<`TParameters`, `TResult`\>(`kind`, `description`, `schema`, `handler`): [`IndustrialActionDefinition`](. createCommitment | https://docs.totem.ing/api/totemsdk-industrial-action/functions/createCommitment | createCommitment createCondition | https://docs.totem.ing/api/totemsdk-industrial-action/functions/createCondition | Condition # Function: createCondition() > **createCondition**(`params`): [`Condition`](. createDurableActionStorage | https://docs.totem.ing/api/totemsdk-industrial-action/functions/createDurableActionStorage | DurableActionStorage # Function: createDurableActionStorage() > **createDurableActionStorage**(`adapter`, `options? createGovernanceBridge | https://docs.totem.ing/api/totemsdk-industrial-action/functions/createGovernanceBridge | GovernanceBridge # Function: createGovernanceBridge() > **createGovernanceBridge**(`reserveFn`): [`GovernanceBridge`](. createProposal | https://docs.totem.ing/api/totemsdk-industrial-action/functions/createProposal | Proposal # Function: createProposal() > **createProposal**(`params`): [`ActionProposal`](. createReceipt | https://docs.totem.ing/api/totemsdk-industrial-action/functions/createReceipt | Receipt # Function: createReceipt() > **createReceipt**(`params`): [`ActionReceipt`](. evaluateConditions | https://docs.totem.ing/api/totemsdk-industrial-action/functions/evaluateConditions | Conditions # Function: evaluateConditions() > **evaluateConditions**(`conditions`, `params`, `context`): [`ConditionResult`](. executeAction | https://docs.totem.ing/api/totemsdk-industrial-action/functions/executeAction | Action # Function: executeAction() > **executeAction**(`proposal`, `executor`, `context`, `now? hashCanonical | https://docs.totem.ing/api/totemsdk-industrial-action/functions/hashCanonical | hashCanonical isProposalExecutable | https://docs.totem.ing/api/totemsdk-industrial-action/functions/isProposalExecutable | ProposalExecutable # Function: isProposalExecutable() > **isProposalExecutable**(`proposal`, `now`): `boolean` ## Parameters ### proposal [`ActionProposal`](. isProposalExpired | https://docs.totem.ing/api/totemsdk-industrial-action/functions/isProposalExpired | ProposalExpired # Function: isProposalExpired() > **isProposalExpired**(`proposal`, `now`): `boolean` ## Parameters ### proposal [`ActionProposal`](. serializeCommitmentPayload | https://docs.totem.ing/api/totemsdk-industrial-action/functions/serializeCommitmentPayload | CommitmentPayload # Function: serializeCommitmentPayload() > **serializeCommitmentPayload**(`proposal`): `string` ## Parameters ### proposal [`ActionProposal`](. toHex | https://docs.totem.ing/api/totemsdk-industrial-action/functions/toHex | toHex validateContext | https://docs.totem.ing/api/totemsdk-industrial-action/functions/validateContext | Context # Function: validateContext() > **validateContext**(`schema`, `context`, `now`): `string`[] ## Parameters ### schema [`ActionSchema`](. validateParameters | https://docs.totem.ing/api/totemsdk-industrial-action/functions/validateParameters | Parameters # Function: validateParameters() > **validateParameters**(`schema`, `parameters`): `string`[] ## Parameters ### schema [`ActionSchema`](. verifyCommitment | https://docs.totem.ing/api/totemsdk-industrial-action/functions/verifyCommitment | Commitment # Function: verifyCommitment() > **verifyCommitment**(`proposal`): `boolean` ## Parameters ### proposal [`ActionProposal`](. verifyCommitmentBinding | https://docs.totem.ing/api/totemsdk-industrial-action/functions/verifyCommitmentBinding | CommitmentBinding # Function: verifyCommitmentBinding() > **verifyCommitmentBinding**(`proposal`): `boolean` ## Parameters ### proposal [`ActionProposal`](. verifyReceiptIntegrity | https://docs.totem.ing/api/totemsdk-industrial-action/functions/verifyReceiptIntegrity | ReceiptIntegrity # Function: verifyReceiptIntegrity() > **verifyReceiptIntegrity**(`receipt`): `boolean` ## Parameters ### receipt [`ActionReceipt`](. ActionError | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/ActionError | ActionError # Interface: ActionError ## Properties ### code > **code**: `string` *** ### details? ActionExecution | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/ActionExecution | ActionExecution # Interface: ActionExecution ## Properties ### completedAt? ActionExecutor | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/ActionExecutor | ActionExecutor # Interface: ActionExecutor\ ## Type Parameters ### TParameters `TParameters` = `unknown` ### TResult `TResult` = `unknown` ## Properties ### kind > **kind**: `string` ## Methods ### execute() > **execute**(`proposal`, `params`, `context`): `Promise`\<`EdgeOperationResult`\<`TResult`\>\> #### Parameters ##### proposal [`ActionProposal`](ActionProposal. ActionHandler | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/ActionHandler | ActionHandler ActionProposal | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/ActionProposal | ActionProposal # Interface: ActionProposal ## Properties ### authorityDecision? ActionReceipt | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/ActionReceipt | ActionReceipt # Interface: ActionReceipt ## Properties ### actionId > **actionId**: `string` *** ### commitmentHash > **commitmentHash**: `string` *** ### error? ActionRegistryState | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/ActionRegistryState | ActionRegistryState # Interface: ActionRegistryState ## Properties ### executions > **executions**: `Record`\<`string`, [`ActionExecution`](ActionExecution. ActionSchema | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/ActionSchema | ActionSchema # Interface: ActionSchema ## Properties ### context > **context**: [`ContextSchema`](ContextSchema. ActionStorage | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/ActionStorage | ActionStorage # Interface: ActionStorage ## Extended by - [`DurableActionStorage`](DurableActionStorage. Condition | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/Condition | Condition # Interface: Condition ## Properties ### evaluate? ConditionResult | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/ConditionResult | ConditionResult # Interface: ConditionResult ## Properties ### failed > **failed**: `object`[] #### condition > **condition**: [`Condition`](Condition. ContextField | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/ContextField | ContextField # Interface: ContextField ## Properties ### name > **name**: `string` *** ### source? ContextSchema | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/ContextSchema | ContextSchema # Interface: ContextSchema ## Properties ### description? CreateProposalParams | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/CreateProposalParams | CreateProposalParams # Interface: CreateProposalParams ## Properties ### context > **context**: `Record`\<`string`, `unknown`\> *** ### expiresAt? DurableActionStorage | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/DurableActionStorage | DurableActionStorage # Interface: DurableActionStorage ## Extends - [`ActionStorage`](ActionStorage. DurableActionStorageOptions | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/DurableActionStorageOptions | DurableActionStorageOptions # Interface: DurableActionStorageOptions ## Properties ### namespace? ExecuteActionResult | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/ExecuteActionResult | ExecuteActionResult # Interface: ExecuteActionResult\ ## Type Parameters ### TResult `TResult` = `unknown` ## Properties ### execution > **execution**: [`ActionExecution`](ActionExecution. GovernanceBridge | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/GovernanceBridge | GovernanceBridge # Interface: GovernanceBridge ## Methods ### abort() > **abort**(`reservationId`, `error`): `Promise`\<`EdgeOperationResult`\<`void`\>\> #### Parameters ##### reservationId `string` ##### error [`ActionError`](ActionError. IndustrialActionDefinition | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/IndustrialActionDefinition | IndustrialActionDefinition # Interface: IndustrialActionDefinition\ ## Type Parameters ### TParameters `TParameters` = `unknown` ### TResult `TResult` = `unknown` ## Properties ### description > **description**: `string` *** ### handler > **handler**: [`ActionHandler`](ActionHandler. ParameterSchema | https://docs.totem.ing/api/totemsdk-industrial-action/interfaces/ParameterSchema | ParameterSchema # Interface: ParameterSchema ## Properties ### defaultValue? ActionStatus | https://docs.totem.ing/api/totemsdk-industrial-action/type-aliases/ActionStatus | ActionStatus ExecutionStatus | https://docs.totem.ing/api/totemsdk-industrial-action/type-aliases/ExecutionStatus | ExecutionStatus ParameterType | https://docs.totem.ing/api/totemsdk-industrial-action/type-aliases/ParameterType | ParameterType IntelligenceError | https://docs.totem.ing/api/totemsdk-intelligence/classes/IntelligenceError | IntelligenceError # Class: IntelligenceError Base error for the intelligence surface. createContentAccessGatedProvider | https://docs.totem.ing/api/totemsdk-intelligence/functions/createContentAccessGatedProvider | ContentAccessGatedProvider # Function: createContentAccessGatedProvider() > **createContentAccessGatedProvider**(`policy`, `provider`): [`IntelligenceProvider`](. createEdgeIntelligencePort | https://docs.totem.ing/api/totemsdk-intelligence/functions/createEdgeIntelligencePort | EdgeIntelligencePort # Function: createEdgeIntelligencePort() > **createEdgeIntelligencePort**(`provider`): [`EdgeIntelligencePort`](. evaluateContentAccess | https://docs.totem.ing/api/totemsdk-intelligence/functions/evaluateContentAccess | ContentAccess # Function: evaluateContentAccess() > **evaluateContentAccess**(`policy`, `domain`, `op`, `params`, `context`): [`ContentAccessDecision`](. ContentAccessDecision | https://docs.totem.ing/api/totemsdk-intelligence/interfaces/ContentAccessDecision | ContentAccessDecision # Interface: ContentAccessDecision ## Properties ### allowed > **allowed**: `boolean` *** ### params? ContentAccessPolicy | https://docs.totem.ing/api/totemsdk-intelligence/interfaces/ContentAccessPolicy | ContentAccessPolicy # Interface: ContentAccessPolicy ## Properties ### entitlements > **entitlements**: readonly [`ContentWorkspaceEntitlement`](ContentWorkspaceEntitlement. ContentWorkspaceEntitlement | https://docs.totem.ing/api/totemsdk-intelligence/interfaces/ContentWorkspaceEntitlement | ContentWorkspaceEntitlement # Interface: ContentWorkspaceEntitlement A principal's entitlement to content. EdgeIntelligencePort | https://docs.totem.ing/api/totemsdk-intelligence/interfaces/EdgeIntelligencePort | EdgeIntelligencePort # Interface: EdgeIntelligencePort Edge-compatible intelligence port contract. IntelligenceContext | https://docs.totem.ing/api/totemsdk-intelligence/interfaces/IntelligenceContext | IntelligenceContext # Interface: IntelligenceContext Operation context — ties an inference call back to the governance layer. IntelligenceErrorResult | https://docs.totem.ing/api/totemsdk-intelligence/interfaces/IntelligenceErrorResult | IntelligenceErrorResult # Interface: IntelligenceErrorResult Failed result of an intelligence operation (soft-fail path — no throw). IntelligenceOperation | https://docs.totem.ing/api/totemsdk-intelligence/interfaces/IntelligenceOperation | IntelligenceOperation # Interface: IntelligenceOperation\ A single provider-neutral inference operation. IntelligencePortResult | https://docs.totem.ing/api/totemsdk-intelligence/interfaces/IntelligencePortResult | IntelligencePortResult # Interface: IntelligencePortResult\ Port-facing result shape used by [EdgeIntelligencePort](EdgeIntelligencePort. IntelligenceProvider | https://docs.totem.ing/api/totemsdk-intelligence/interfaces/IntelligenceProvider | IntelligenceProvider # Interface: IntelligenceProvider Provider-neutral intelligence interface. IntelligenceProviderInfo | https://docs.totem.ing/api/totemsdk-intelligence/interfaces/IntelligenceProviderInfo | IntelligenceProviderInfo # Interface: IntelligenceProviderInfo Capability advertisement for discovery — a snapshot of a provider's supported surface at a point in time. IntelligenceProviderOptions | https://docs.totem.ing/api/totemsdk-intelligence/interfaces/IntelligenceProviderOptions | IntelligenceProviderOptions # Interface: IntelligenceProviderOptions Constructor options shared by provider adapters. IntelligenceReceipt | https://docs.totem.ing/api/totemsdk-intelligence/interfaces/IntelligenceReceipt | IntelligenceReceipt # Interface: IntelligenceReceipt Receipt for an executed inference operation. IntelligenceResult | https://docs.totem.ing/api/totemsdk-intelligence/interfaces/IntelligenceResult | IntelligenceResult # Interface: IntelligenceResult\ Successful result of an intelligence operation. IntelligenceStreamOperation | https://docs.totem.ing/api/totemsdk-intelligence/interfaces/IntelligenceStreamOperation | IntelligenceStreamOperation # Interface: IntelligenceStreamOperation Streaming operation shape — the provider decides the chunk vocabulary. IntelligenceUsage | https://docs.totem.ing/api/totemsdk-intelligence/interfaces/IntelligenceUsage | IntelligenceUsage # Interface: IntelligenceUsage Usage metering for a single inference operation. IntelligenceCapability | https://docs.totem.ing/api/totemsdk-intelligence/type-aliases/IntelligenceCapability | IntelligenceCapability IntelligenceDomain | https://docs.totem.ing/api/totemsdk-intelligence/type-aliases/IntelligenceDomain | IntelligenceDomain # Type Alias: IntelligenceDomain > **IntelligenceDomain** = `"llm"` \| `"embed"` \| `"rag"` \| `"asr"` \| `"translate"` \| `"tts"` \| `"diffusion"` \| `"ocr"` \| `"classify"` \| `"audiogen"` \| `"video"` \| `"vla"` \| `"world"` \| `"models"` \| `"system"` \| `"plugins"` Intelligence domains — mirrors @qvac/sdk plugin categories. IntelligenceDomainOrString | https://docs.totem.ing/api/totemsdk-intelligence/type-aliases/IntelligenceDomainOrString | IntelligenceDomainOrString # Type Alias: IntelligenceDomainOrString > **IntelligenceDomainOrString** = [`IntelligenceDomain`](IntelligenceDomain. IntelligenceErrorCode | https://docs.totem.ing/api/totemsdk-intelligence/type-aliases/IntelligenceErrorCode | IntelligenceErrorCode # Type Alias: IntelligenceErrorCode > **IntelligenceErrorCode** = `"NOT_IMPLEMENTED"` \| `"NOT_LOADED"` \| `"NOT_FOUND"` \| `"UNAVAILABLE"` \| `"TIMEOUT"` \| `"CANCELLED"` \| `"INVALID_REQUEST"` \| `"CONTEXT_OVERFLOW"` \| `"POLICY_REJECTED"` \| `"BUDGET_EXCEEDED"` \| `"INTERNAL"` Error codes shared across intelligence providers. IntelligenceOp | https://docs.totem.ing/api/totemsdk-intelligence/type-aliases/IntelligenceOp | IntelligenceOp # Type Alias: IntelligenceOp > **IntelligenceOp** = *typeof* [`INTELLIGENCE_OPS`](. IntelligenceOutcome | https://docs.totem.ing/api/totemsdk-intelligence/type-aliases/IntelligenceOutcome | IntelligenceOutcome # Type Alias: IntelligenceOutcome\ > **IntelligenceOutcome**\<`T`\> = [`IntelligenceResult`](. IntelligenceStreamChunk | https://docs.totem.ing/api/totemsdk-intelligence/type-aliases/IntelligenceStreamChunk | IntelligenceStreamChunk # Type Alias: IntelligenceStreamChunk > **IntelligenceStreamChunk** = \{ `text`: `string`; `type`: `"token"`; \} \| \{ `index? RagWorkspaceOp | https://docs.totem.ing/api/totemsdk-intelligence/type-aliases/RagWorkspaceOp | RagWorkspaceOp # Type Alias: RagWorkspaceOp > **RagWorkspaceOp** = *typeof* [`RAG_WORKSPACE_OPS`](. CONTENT_DENY_CODE | https://docs.totem.ing/api/totemsdk-intelligence/variables/CONTENT_DENY_CODE | CONTENT\_DENY\_CODE # Variable: CONTENT\_DENY\_CODE > `const` **CONTENT\_DENY\_CODE**: [`IntelligenceErrorCode`](. INTELLIGENCE_CAPABILITIES | https://docs.totem.ing/api/totemsdk-intelligence/variables/INTELLIGENCE_CAPABILITIES | INTELLIGENCE\_CAPABILITIES # Variable: INTELLIGENCE\_CAPABILITIES > `const` **INTELLIGENCE\_CAPABILITIES**: readonly [`IntelligenceCapability`](. INTELLIGENCE_DOMAINS | https://docs.totem.ing/api/totemsdk-intelligence/variables/INTELLIGENCE_DOMAINS | INTELLIGENCE\_DOMAINS # Variable: INTELLIGENCE\_DOMAINS > `const` **INTELLIGENCE\_DOMAINS**: readonly [`IntelligenceDomain`](. INTELLIGENCE_ERROR_MESSAGES | https://docs.totem.ing/api/totemsdk-intelligence/variables/INTELLIGENCE_ERROR_MESSAGES | INTELLIGENCE\_ERROR\_MESSAGES # Variable: INTELLIGENCE\_ERROR\_MESSAGES > `const` **INTELLIGENCE\_ERROR\_MESSAGES**: `Record`\<[`IntelligenceErrorCode`](. INTELLIGENCE_OPS | https://docs.totem.ing/api/totemsdk-intelligence/variables/INTELLIGENCE_OPS | INTELLIGENCE\_OPS # Variable: INTELLIGENCE\_OPS > `const` **INTELLIGENCE\_OPS**: `object` Well-known operation identifiers per domain. INTELLIGENCE_VERSION | https://docs.totem.ing/api/totemsdk-intelligence/variables/INTELLIGENCE_VERSION | INTELLIGENCE\_VERSION # Variable: INTELLIGENCE\_VERSION > `const` **INTELLIGENCE\_VERSION**: `"0. RAG_DESTRUCTIVE_OPS | https://docs.totem.ing/api/totemsdk-intelligence/variables/RAG_DESTRUCTIVE_OPS | RAG\_DESTRUCTIVE\_OPS # Variable: RAG\_DESTRUCTIVE\_OPS > `const` **RAG\_DESTRUCTIVE\_OPS**: readonly \[`"ragDeleteEmbeddings"`, `"ragDeleteWorkspace"`, `"ragCloseWorkspace"`, `"ragReindex"`\] Delete-family ops — revoked entitlements must never trigger these. RAG_WORKSPACE_OPS | https://docs.totem.ing/api/totemsdk-intelligence/variables/RAG_WORKSPACE_OPS | RAG\_WORKSPACE\_OPS # Variable: RAG\_WORKSPACE\_OPS > `const` **RAG\_WORKSPACE\_OPS**: readonly \[`"ragSearch"`, `"ragIngest"`, `"ragSaveEmbeddings"`, `"ragDeleteEmbeddings"`, `"ragReindex"`, `"ragListWorkspaces"`, `"ragCloseWorkspace"`, `"ragDeleteWorkspace"`\] Workspace-scoped RAG operations the content gate governs. KissvmLimitError | https://docs.totem.ing/api/totemsdk-kissvm/classes/KissvmLimitError | KissvmLimitError # Class: KissvmLimitError ## Extends - `Error` ## Constructors ### Constructor > **new KissvmLimitError**(`message`): `KissvmLimitError` #### Parameters ##### message `string` #### Returns `KissvmLimitError` #### Overrides `Error. KissvmRuntimeError | https://docs.totem.ing/api/totemsdk-kissvm/classes/KissvmRuntimeError | KissvmRuntimeError # Class: KissvmRuntimeError ## Extends - `Error` ## Constructors ### Constructor > **new KissvmRuntimeError**(`message`): `KissvmRuntimeError` #### Parameters ##### message `string` #### Returns `KissvmRuntimeError` #### Overrides `Error. MiniNumber | https://docs.totem.ing/api/totemsdk-kissvm/classes/MiniNumber | MiniNumber buildActionAuthorizationScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildActionAuthorizationScript | ActionAuthorizationScript # Function: buildActionAuthorizationScript() > **buildActionAuthorizationScript**(`config`): `string` ## Parameters ### config [`ActionAuthorizationConfig`](. buildActionStateMachineScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildActionStateMachineScript | ActionStateMachineScript # Function: buildActionStateMachineScript() > **buildActionStateMachineScript**(`config`): `string` Build an industrial action state machine script that enforces: proposed → noticed (require >= minNoticeBlocks from noticePort) noticed → active (require >= minNotice and <= maxDuration from noticePort) noticed → resolved (authority sig) active → resolved (authority sig) active → escalated (authority sig) noticed → expired (block > expiry) ## Parameters ### config [`ActionStateMachineConfig`](. buildAgentProposalScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildAgentProposalScript | AgentProposalScript # Function: buildAgentProposalScript() > **buildAgentProposalScript**(`config`): `string` ## Parameters ### config [`AgentProposalConfig`](. buildAuthorityRevocationScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildAuthorityRevocationScript | AuthorityRevocationScript # Function: buildAuthorityRevocationScript() > **buildAuthorityRevocationScript**(`config`): `string` Build a revocation script that enforces: 1. buildBondLockupScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildBondLockupScript | BondLockupScript # Function: buildBondLockupScript() > **buildBondLockupScript**(`config`): `string` ## Parameters ### config [`ProviderBondConfig`](. buildBondReleaseScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildBondReleaseScript | BondReleaseScript # Function: buildBondReleaseScript() > **buildBondReleaseScript**(`config`): `string` ## Parameters ### config [`ProviderBondConfig`](. buildBondStateMachineScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildBondStateMachineScript | BondStateMachineScript # Function: buildBondStateMachineScript() > **buildBondStateMachineScript**(`config`): `string` Build a bond state machine script enforcing the 7-status lifecycle: declared → pending → active → expiring → expired ↘ disputed → invalid Port layout: 0 — bond status 1 — bond amount 2 — expiresAt block 3 — heartbeat block 4 — SLA port 5 — probe signer pk 6 — current block ## Parameters ### config [`ProviderBondConfig`](. buildCapabilityProofScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildCapabilityProofScript | CapabilityProofScript # Function: buildCapabilityProofScript() > **buildCapabilityProofScript**(`config`): `string` ## Parameters ### config [`ProofConfig`](. buildCapabilityScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildCapabilityScript | CapabilityScript # Function: buildCapabilityScript() > **buildCapabilityScript**(`config`): `string` ## Parameters ### config [`CapabilityConfig`](. buildChallengeScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildChallengeScript | ChallengeScript # Function: buildChallengeScript() > **buildChallengeScript**(`config`): `string` Build a challenge/slash script that enforces: 1. buildCliffRelease | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildCliffRelease | CliffRelease # Function: buildCliffRelease() > **buildCliffRelease**(`config`): `string` Cliff release: nothing until cliffBlock, then linear from cliff to end. buildCoinUpdateScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildCoinUpdateScript | CoinUpdateScript # Function: buildCoinUpdateScript() > **buildCoinUpdateScript**(`config`): `string` ## Parameters ### config [`CoinUpdateConfig`](. buildCommitScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildCommitScript | CommitScript # Function: buildCommitScript() > **buildCommitScript**(`config`): `string` Build a commit script that verifies: 1. buildDeadlineScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildDeadlineScript | DeadlineScript # Function: buildDeadlineScript() > **buildDeadlineScript**(`config`): `string` ## Parameters ### config [`TemporalConfig`](. buildDecayScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildDecayScript | DecayScript # Function: buildDecayScript() > **buildDecayScript**(`config`): `string` ## Parameters ### config [`TemporalConfig`](. buildDelegationProofScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildDelegationProofScript | DelegationProofScript # Function: buildDelegationProofScript() > **buildDelegationProofScript**(`config`): `string` ## Parameters ### config [`DelegationProofConfig`](. buildEltooChannelScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildEltooChannelScript | EltooChannelScript # Function: buildEltooChannelScript() > **buildEltooChannelScript**(`config`): `string` ## Parameters ### config [`EltooConfig`](. buildEltooFundingScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildEltooFundingScript | EltooFundingScript # Function: buildEltooFundingScript() > **buildEltooFundingScript**(`config`): `string` ## Parameters ### config [`EltooConfig`](. buildEltooSettlementScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildEltooSettlementScript | EltooSettlementScript # Function: buildEltooSettlementScript() > **buildEltooSettlementScript**(`config`): `string` ## Parameters ### config [`EltooConfig`](. buildEpochAdvancementScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildEpochAdvancementScript | EpochAdvancementScript # Function: buildEpochAdvancementScript() > **buildEpochAdvancementScript**(`config`, `newEpoch`, `authorizerPkd`): `string` ## Parameters ### config [`PolicyAnchorConfig`](. buildEscrowEnforcementScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildEscrowEnforcementScript | EscrowEnforcementScript # Function: buildEscrowEnforcementScript() > **buildEscrowEnforcementScript**(`config`): `string` Build an escrow enforcement script that checks: 1. buildExecutionMandateScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildExecutionMandateScript | ExecutionMandateScript # Function: buildExecutionMandateScript() > **buildExecutionMandateScript**(`config`): `string` Build an execution-mandate script that enforces: 1. buildFactoryFundingScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildFactoryFundingScript | FactoryFundingScript # Function: buildFactoryFundingScript() > **buildFactoryFundingScript**(`config`): `string` ## Parameters ### config [`FactoryConfig`](. buildFeeAccrualScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildFeeAccrualScript | FeeAccrualScript # Function: buildFeeAccrualScript() > **buildFeeAccrualScript**(`config`): `string` Build a fee accrual script that enforces: 1. buildHeartbeatScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildHeartbeatScript | HeartbeatScript # Function: buildHeartbeatScript() > **buildHeartbeatScript**(`config`): `string` ## Parameters ### config [`ProviderBondConfig`](. buildIdentityVerificationScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildIdentityVerificationScript | IdentityVerificationScript # Function: buildIdentityVerificationScript() > **buildIdentityVerificationScript**(`config`): `string` ## Parameters ### config [`IdentityVerificationConfig`](. buildLayerSubset | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildLayerSubset | LayerSubset # Function: buildLayerSubset() > **buildLayerSubset**(`config`, `include`): `object` Build a subset of layers — useful when some layers are optional. buildLayeredMastScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildLayeredMastScript | LayeredMastScript # Function: buildLayeredMastScript() > **buildLayeredMastScript**(`config`): `string` Build the nested MAST KISSVM script for a layered policy. buildLayeredPolicy | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildLayeredPolicy | LayeredPolicy # Function: buildLayeredPolicy() > **buildLayeredPolicy**(`config`): `object` Build a layered policy tree from a config. buildLeaseCertificateScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildLeaseCertificateScript | LeaseCertificateScript # Function: buildLeaseCertificateScript() > **buildLeaseCertificateScript**(`config`): `string` Build a lease certificate verification script that checks: 1. buildLeaseMessageScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildLeaseMessageScript | LeaseMessageScript # Function: buildLeaseMessageScript() > **buildLeaseMessageScript**(`config`): `string` ## Parameters ### config [`LeaseMessageConfig`](. buildLeaseStateMachineScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildLeaseStateMachineScript | LeaseStateMachineScript # Function: buildLeaseStateMachineScript() > **buildLeaseStateMachineScript**(`config`): `string` Build a lease state machine script enforcing the 5-status lifecycle: pending → active → expired ↘ finalised ↘ cancelled Port 0 holds the status. buildLinearRelease | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildLinearRelease | LinearRelease # Function: buildLinearRelease() > **buildLinearRelease**(`config`): `string` Linear release: vested = total * elapsed / duration, where duration = STATE(endPort) - STATE(startPort). buildLiquidityLockScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildLiquidityLockScript | LiquidityLockScript # Function: buildLiquidityLockScript() > **buildLiquidityLockScript**(`config`): `string` Build a liquidity lock script that enforces: 1. buildMagicConstantsScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildMagicConstantsScript | MagicConstantsScript # Function: buildMagicConstantsScript() > **buildMagicConstantsScript**(`config`): `string` ## Parameters ### config [`TxPoWValidationConfig`](. buildMandateEnforcementScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildMandateEnforcementScript | MandateEnforcementScript # Function: buildMandateEnforcementScript() > **buildMandateEnforcementScript**(`config`): `string` Build a mandate enforcement script that checks: 1. buildManifestBindingScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildManifestBindingScript | ManifestBindingScript # Function: buildManifestBindingScript() > **buildManifestBindingScript**(`config`): `string` ## Parameters ### config [`ManifestBindingConfig`](. buildManifestExpiryScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildManifestExpiryScript | ManifestExpiryScript # Function: buildManifestExpiryScript() > **buildManifestExpiryScript**(`config`): `string` ## Parameters ### config [`ManifestExpiryConfig`](. buildPaymentIntentScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildPaymentIntentScript | PaymentIntentScript # Function: buildPaymentIntentScript() > **buildPaymentIntentScript**(`config`): `string` ## Parameters ### config [`PaymentIntentConfig`](. buildPolicyAnchorScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildPolicyAnchorScript | PolicyAnchorScript # Function: buildPolicyAnchorScript() > **buildPolicyAnchorScript**(`config`): `string` ## Parameters ### config [`PolicyAnchorConfig`](. buildPolicyAnchorState | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildPolicyAnchorState | PolicyAnchorState # Function: buildPolicyAnchorState() > **buildPolicyAnchorState**(`config`, `initialRoots`): `Record`\<`number`, `string`\> ## Parameters ### config [`PolicyAnchorConfig`](. buildPolicyEnforcementScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildPolicyEnforcementScript | PolicyEnforcementScript # Function: buildPolicyEnforcementScript() > **buildPolicyEnforcementScript**(`config`): `string` ## Parameters ### config [`PolicyEnforcementConfig`](. buildPolicyTree | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildPolicyTree | PolicyTree # Function: buildPolicyTree() > **buildPolicyTree**(`nodes`): [`PolicyTree`](. buildPositionStateMachineScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildPositionStateMachineScript | PositionStateMachineScript # Function: buildPositionStateMachineScript() > **buildPositionStateMachineScript**(`config`): `string` Build a position state machine script enforcing the position lifecycle: draft → committed → active → quiescing → withdrawn ↘ depleted ↘ depleted ↘ invalid ↘ invalid ↘ disputed Port 0 holds the status. buildPrevStateWorkflow | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildPrevStateWorkflow | PrevStateWorkflow # Function: buildPrevStateWorkflow() > **buildPrevStateWorkflow**(`id`, `name`, `transitions`, `additionalScript? buildProofAnchorScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildProofAnchorScript | ProofAnchorScript # Function: buildProofAnchorScript() > **buildProofAnchorScript**(`config`): `string` ## Parameters ### config [`ProofConfig`](. buildProofChain | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildProofChain | ProofChain # Function: buildProofChain() > **buildProofChain**(`links`): [`ProofChain`](. buildProofDelegationScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildProofDelegationScript | ProofDelegationScript # Function: buildProofDelegationScript() > **buildProofDelegationScript**(`config`): `string` ## Parameters ### config [`ProofConfig`](. buildProposalStateMachineScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildProposalStateMachineScript | ProposalStateMachineScript # Function: buildProposalStateMachineScript() > **buildProposalStateMachineScript**(`config`): `string` Build a proposal state-machine script that enforces the full 7-status lifecycle: draft → active → passed → failed → executed ↘ cancelled (from any except executed) ↘ expired (from active, after votingEndsAt) Port layout (STATE / PREVSTATE): 0 — status 1 — votingStartsAt (block) 2 — votingEndsAt (block) 3 — executionDelay (blocks) 4 — proposer pk hex ## Parameters ### config [`ProposalConfig`](. buildRateLimitScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildRateLimitScript | RateLimitScript # Function: buildRateLimitScript() > **buildRateLimitScript**(`config`): `string` ## Parameters ### config [`TemporalConfig`](. buildRevealScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildRevealScript | RevealScript # Function: buildRevealScript() > **buildRevealScript**(`config`): `string` Build a reveal script that verifies: SHA3(preimage) == PREVSTATE(commitmentPort) ## Parameters ### config [`RevealConfig`](. buildRevocationProofScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildRevocationProofScript | RevocationProofScript # Function: buildRevocationProofScript() > **buildRevocationProofScript**(`config`): `string` ## Parameters ### config [`ProofConfig`](. buildRevocationScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildRevocationScript | RevocationScript # Function: buildRevocationScript() > **buildRevocationScript**(`config`): `string` ## Parameters ### config [`RevocationConfig`](. buildRootRotationScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildRootRotationScript | buildRootRotationScript buildRotationScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildRotationScript | RotationScript # Function: buildRotationScript() > **buildRotationScript**(`config`): `string` ## Parameters ### config [`RotationConfig`](. buildStateTransition | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildStateTransition | StateTransition # Function: buildStateTransition() > **buildStateTransition**(`port`, `name`, `currentValue`, `previousValue`, `transition`): [`StateTransition`](. buildStatechainOwnerRotationScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildStatechainOwnerRotationScript | StatechainOwnerRotationScript # Function: buildStatechainOwnerRotationScript() > **buildStatechainOwnerRotationScript**(`config`): `string` ## Parameters ### config [`StateChainConfig`](. buildStatechainScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildStatechainScript | StatechainScript # Function: buildStatechainScript() > **buildStatechainScript**(`config`): `string` ## Parameters ### config [`StateChainConfig`](. buildTemporalScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildTemporalScript | TemporalScript # Function: buildTemporalScript() > **buildTemporalScript**(`config`): `string` ## Parameters ### config [`TemporalConfig`](. buildTreasuryExecutionScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildTreasuryExecutionScript | TreasuryExecutionScript # Function: buildTreasuryExecutionScript() > **buildTreasuryExecutionScript**(`config`): `string` Build a treasury execution script that enforces: 1. buildTrustMessageScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildTrustMessageScript | TrustMessageScript # Function: buildTrustMessageScript() > **buildTrustMessageScript**(`config`): `string` ## Parameters ### config [`TrustMessageConfig`](. buildTxPoWValidationScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildTxPoWValidationScript | TxPoWValidationScript # Function: buildTxPoWValidationScript() > **buildTxPoWValidationScript**(`config`): `string` ## Parameters ### config [`TxPoWValidationConfig`](. buildUsageTrackingScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildUsageTrackingScript | UsageTrackingScript # Function: buildUsageTrackingScript() > **buildUsageTrackingScript**(`config`): `string` Build a usage tracking script that enforces: 1. buildVoteSubmissionScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildVoteSubmissionScript | VoteSubmissionScript # Function: buildVoteSubmissionScript() > **buildVoteSubmissionScript**(`config`): `string` Build a vote-submission script that enforces: 1. buildVoteTallyScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildVoteTallyScript | VoteTallyScript # Function: buildVoteTallyScript() > **buildVoteTallyScript**(`config`): `string` ## Parameters ### config [`VoteTallyConfig`](. buildWatermarkTrackingScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildWatermarkTrackingScript | WatermarkTrackingScript # Function: buildWatermarkTrackingScript() > **buildWatermarkTrackingScript**(`config`): `string` Build a watermark tracking script that enforces: 1. buildWindowScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildWindowScript | WindowScript # Function: buildWindowScript() > **buildWindowScript**(`config`): `string` ## Parameters ### config [`TemporalConfig`](. buildWithdrawalScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildWithdrawalScript | WithdrawalScript # Function: buildWithdrawalScript() > **buildWithdrawalScript**(`config`): `string` Build a withdrawal script that enforces: 1. buildWitness | https://docs.totem.ing/api/totemsdk-kissvm/functions/buildWitness | Witness # Function: buildWitness() > **buildWitness**(`inputs`): [`ScriptWitness`](. compileMastTree | https://docs.totem.ing/api/totemsdk-kissvm/functions/compileMastTree | MastTree # Function: compileMastTree() > **compileMastTree**(`scripts`): [`CompiledMast`](. compilePolicyGraph | https://docs.totem.ing/api/totemsdk-kissvm/functions/compilePolicyGraph | PolicyGraph # Function: compilePolicyGraph() > **compilePolicyGraph**(`policy`): [`CompiledRecursivePolicy`](. computeCanonicalScriptAddress | https://docs.totem.ing/api/totemsdk-kissvm/functions/computeCanonicalScriptAddress | computeCanonicalScriptAddress computeCanonicalScriptHash | https://docs.totem.ing/api/totemsdk-kissvm/functions/computeCanonicalScriptHash | computeCanonicalScriptHash computeRelease | https://docs.totem.ing/api/totemsdk-kissvm/functions/computeRelease | Release # Function: computeRelease() > **computeRelease**(`config`, `block`, `state`): `bigint` ## Parameters ### config [`TemporalConfig`](. computeScriptHash | https://docs.totem.ing/api/totemsdk-kissvm/functions/computeScriptHash | computeScriptHash counterWorkflow | https://docs.totem.ing/api/totemsdk-kissvm/functions/counterWorkflow | Workflow # Function: counterWorkflow() > **counterWorkflow**(`port`, `maxValue? evaluateScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/evaluateScript | Script # Function: evaluateScript() > **evaluateScript**(`script`, `witness`, `txCtx`): [`EvalResult`](. evaluateScriptWasm | https://docs.totem.ing/api/totemsdk-kissvm/functions/evaluateScriptWasm | evaluateScriptWasm findPolicyNode | https://docs.totem.ing/api/totemsdk-kissvm/functions/findPolicyNode | PolicyNode # Function: findPolicyNode() > **findPolicyNode**(`tree`, `id`): [`PolicyNode`](. getPolicyLeaves | https://docs.totem.ing/api/totemsdk-kissvm/functions/getPolicyLeaves | PolicyLeaves # Function: getPolicyLeaves() > **getPolicyLeaves**(`tree`): [`PolicyNode`](. getPolicyPath | https://docs.totem.ing/api/totemsdk-kissvm/functions/getPolicyPath | PolicyPath # Function: getPolicyPath() > **getPolicyPath**(`tree`, `targetId`): [`PolicyNode`](. parseScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/parseScript | Script # Function: parseScript() > **parseScript**(`source`): [`ASTNode`](. parseScriptWasm | https://docs.totem.ing/api/totemsdk-kissvm/functions/parseScriptWasm | parseScriptWasm roundBasedWorkflow | https://docs.totem.ing/api/totemsdk-kissvm/functions/roundBasedWorkflow | BasedWorkflow # Function: roundBasedWorkflow() > **roundBasedWorkflow**(`roundPort`, `pk1`, `pk2`): [`PrevStateWorkflow`](. sigdig | https://docs.totem.ing/api/totemsdk-kissvm/functions/sigdig | Function: sigdig() > **sigdig**(`value`, `n`): `number` Public utility: round `value` to `n` significant digits. simulateSpend | https://docs.totem.ing/api/totemsdk-kissvm/functions/simulateSpend | Spend # Function: simulateSpend() > **simulateSpend**(`scriptStr`, `coinData`, `txContext`, `witness? timelockWorkflow | https://docs.totem.ing/api/totemsdk-kissvm/functions/timelockWorkflow | Workflow # Function: timelockWorkflow() > **timelockWorkflow**(`lockPort`, `ownerPk`): [`PrevStateWorkflow`](. toMinimaProofExpression | https://docs.totem.ing/api/totemsdk-kissvm/functions/toMinimaProofExpression | MinimaProofExpression # Function: toMinimaProofExpression() > **toMinimaProofExpression**(`link`): `string` Generate a canonical Minima 5-argument PROOF expression. toNestedMastScript | https://docs.totem.ing/api/totemsdk-kissvm/functions/toNestedMastScript | NestedMastScript # Function: toNestedMastScript() > **toNestedMastScript**(`chain`): `string` Generate the full nested MAST KISSVM script for a proof chain. toProofExpression | https://docs.totem.ing/api/totemsdk-kissvm/functions/toProofExpression | ProofExpression # ~~Function: toProofExpression()~~ > **toProofExpression**(`link`): `string` ## Parameters ### link [`ProofLink`](. toTotemProofExpression | https://docs.totem.ing/api/totemsdk-kissvm/functions/toTotemProofExpression | TotemProofExpression # ~~Function: toTotemProofExpression()~~ > **toTotemProofExpression**(`link`): `string` ## Parameters ### link [`ProofLink`](. verifyProofChain | https://docs.totem.ing/api/totemsdk-kissvm/functions/verifyProofChain | ProofChain # Function: verifyProofChain() > **verifyProofChain**(`chain`, `expectedLeafScriptHash? verifyScriptMembership | https://docs.totem.ing/api/totemsdk-kissvm/functions/verifyScriptMembership | ScriptMembership # Function: verifyScriptMembership() > **verifyScriptMembership**(`script`, `proofHex`, `expectedRoot`): `object` ## Parameters ### script `string` ### proofHex `string` ### expectedRoot `string` ## Returns `object` ### reason? vestingWorkflow | https://docs.totem.ing/api/totemsdk-kissvm/functions/vestingWorkflow | Workflow # Function: vestingWorkflow() > **vestingWorkflow**(`startPort`, `totalPort`, `claimedPort`, `beneficiaryPk`): [`PrevStateWorkflow`](. ActionAuthorizationConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/ActionAuthorizationConfig | ActionAuthorizationConfig ActionStateMachineConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/ActionStateMachineConfig | ActionStateMachineConfig AgentProposalConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/AgentProposalConfig | AgentProposalConfig AuthorityRevocationConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/AuthorityRevocationConfig | AuthorityRevocationConfig CapabilityConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/CapabilityConfig | CapabilityConfig CoinData | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/CoinData | CoinData # Interface: CoinData A single input coin ## Properties ### address > **address**: `string` *** ### amount > **amount**: `number` *** ### coinCreatedBlock? CoinUpdateConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/CoinUpdateConfig | CoinUpdateConfig CommitConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/CommitConfig | CommitConfig CompiledMast | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/CompiledMast | CompiledMast # Interface: CompiledMast ## Properties ### leafCount > **leafCount**: `number` *** ### rootAddress > **rootAddress**: `string` *** ### rootHex > **rootHex**: `string` *** ### scripts > **scripts**: [`MinimaScriptProof`](MinimaScriptProof. CompiledPolicyNode | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/CompiledPolicyNode | CompiledPolicyNode # Interface: CompiledPolicyNode ## Properties ### logicalNodeId > **logicalNodeId**: `string` *** ### mast > **mast**: [`CompiledMast`](CompiledMast. CompiledRecursivePolicy | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/CompiledRecursivePolicy | CompiledRecursivePolicy # Interface: CompiledRecursivePolicy ## Properties ### anchorAddress > **anchorAddress**: `string` *** ### anchorRoot > **anchorRoot**: `string` *** ### compiledNodes > **compiledNodes**: `Map`\<`string`, [`CompiledPolicyNode`](CompiledPolicyNode. DelegationProofConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/DelegationProofConfig | DelegationProofConfig # Interface: DelegationProofConfig ## Properties ### delegatePk > **delegatePk**: `string` *** ### delegationRoot? EltooConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/EltooConfig | EltooConfig # Interface: EltooConfig ## Properties ### partyPks > **partyPks**: \[`string`, `string`\] *** ### reclaimTimelock? EscrowEnforcementConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/EscrowEnforcementConfig | EscrowEnforcementConfig EvalResult | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/EvalResult | EvalResult # Interface: EvalResult EvalResult returned from evaluateScript / simulateSpend ## Properties ### error? ExecutionMandateConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/ExecutionMandateConfig | ExecutionMandateConfig # Interface: ExecutionMandateConfig ## Properties ### executionDelayBlocks > **executionDelayBlocks**: `bigint` *** ### governancePks > **governancePks**: `string`[] *** ### multisigThreshold > **multisigThreshold**: `number` *** ### outcomeProofPort > **outcomeProofPort**: `number` Port storing the outcome proof ID (commitment). FactoryConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/FactoryConfig | FactoryConfig # Interface: FactoryConfig ## Properties ### participantPks > **participantPks**: `string`[] *** ### settlementCoinage? IdentityVerificationConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/IdentityVerificationConfig | IdentityVerificationConfig # Interface: IdentityVerificationConfig ## Properties ### claimHash > **claimHash**: `string` *** ### identityPk > **identityPk**: `string` *** ### policyRoot? LayeredPolicyConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/LayeredPolicyConfig | LayeredPolicyConfig # Interface: LayeredPolicyConfig ## Properties ### assetId > **assetId**: `string` Asset root identifier (e. LeaseCertificateConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/LeaseCertificateConfig | LeaseCertificateConfig LeaseMessageConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/LeaseMessageConfig | LeaseMessageConfig # Interface: LeaseMessageConfig ## Properties ### authorityPk > **authorityPk**: `string` *** ### branchId? LiquidityLockConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/LiquidityLockConfig | LiquidityLockConfig # Interface: LiquidityLockConfig ## Properties ### amount > **amount**: `string` *** ### amountPort? MandateEnforcementConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/MandateEnforcementConfig | MandateEnforcementConfig # Interface: MandateEnforcementConfig ## Properties ### expiresAtBlock > **expiresAtBlock**: `bigint` Expiry block for the mandate. ManifestBindingConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/ManifestBindingConfig | ManifestBindingConfig ManifestExpiryConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/ManifestExpiryConfig | ManifestExpiryConfig MinimaScriptProof | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/MinimaScriptProof | MinimaScriptProof OutputData | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/OutputData | OutputData PaymentIntentConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/PaymentIntentConfig | PaymentIntentConfig # Interface: PaymentIntentConfig ## Properties ### allowedRecipient > **allowedRecipient**: `string` *** ### expiresAt > **expiresAt**: `bigint` *** ### riskLimit > **riskLimit**: `string` *** ### tokenId? PolicyAnchorConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/PolicyAnchorConfig | PolicyAnchorConfig # Interface: PolicyAnchorConfig ## Properties ### emergencyRoot? PolicyDelegationEdge | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/PolicyDelegationEdge | PolicyDelegationEdge # Interface: PolicyDelegationEdge ## Properties ### constraints? PolicyEnforcementConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/PolicyEnforcementConfig | PolicyEnforcementConfig PolicyGraph | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/PolicyGraph | PolicyGraph # Interface: PolicyGraph ## Properties ### edges > **edges**: [`PolicyDelegationEdge`](PolicyDelegationEdge. PolicyGraphNode | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/PolicyGraphNode | PolicyGraphNode # Interface: PolicyGraphNode ## Properties ### id > **id**: `string` *** ### name > **name**: `string` *** ### parentId? PolicyLayer | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/PolicyLayer | PolicyLayer # Interface: PolicyLayer ## Properties ### authorityPkd > **authorityPkd**: `string` The public key digest of the authority controlling this layer. PolicyNode | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/PolicyNode | PolicyNode # Interface: PolicyNode ## Properties ### children > **children**: `PolicyNode`[] *** ### id > **id**: `string` *** ### metadata? PolicyNodeInput | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/PolicyNodeInput | PolicyNodeInput # Interface: PolicyNodeInput ## Properties ### id > **id**: `string` *** ### metadata? PolicyTree | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/PolicyTree | PolicyTree # Interface: PolicyTree ## Properties ### depth > **depth**: `number` *** ### nodeCount > **nodeCount**: `number` *** ### nodeMap > **nodeMap**: `Map`\<`string`, [`PolicyNode`](PolicyNode. PrevStateWorkflow | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/PrevStateWorkflow | PrevStateWorkflow # Interface: PrevStateWorkflow ## Properties ### id > **id**: `string` *** ### name > **name**: `string` *** ### script > **script**: `string` *** ### scriptHash > **scriptHash**: `string` *** ### transitions > **transitions**: [`StateTransition`](StateTransition. ProofChain | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/ProofChain | ProofChain # Interface: ProofChain ## Properties ### depth > **depth**: `number` *** ### leafScriptHash > **leafScriptHash**: `string` *** ### links > **links**: [`ProofLink`](ProofLink. ProofConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/ProofConfig | ProofConfig ProofLink | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/ProofLink | ProofLink # Interface: ProofLink ## Properties ### label? ProposalConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/ProposalConfig | ProposalConfig # Interface: ProposalConfig ## Properties ### executionDelayBlocks > **executionDelayBlocks**: `bigint` Execution delay in blocks (applied after votingEndsAt). ProviderBondConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/ProviderBondConfig | ProviderBondConfig # Interface: ProviderBondConfig ## Properties ### amount > **amount**: `string` *** ### bondPort > **bondPort**: `number` *** ### challengeDeadlineBlock > **challengeDeadlineBlock**: `bigint` *** ### claimedPort > **claimedPort**: `number` *** ### cliffBlock > **cliffBlock**: `bigint` *** ### expiresAtBlock > **expiresAtBlock**: `bigint` *** ### expiryPort > **expiryPort**: `number` *** ### governancePk > **governancePk**: `string` *** ### heartbeatPort > **heartbeatPort**: `number` *** ### maxHeartbeatBlocks > **maxHeartbeatBlocks**: `bigint` *** ### probeSignerPk? RevealConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/RevealConfig | RevealConfig RevocationConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/RevocationConfig | RevocationConfig RotationConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/RotationConfig | RotationConfig ScriptProof | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/ScriptProof | ScriptProof ScriptWitness | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/ScriptWitness | ScriptWitness # Interface: ScriptWitness Witness supplied for signature and MAST verification ## Properties ### preimages? StateChainConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/StateChainConfig | StateChainConfig # Interface: StateChainConfig ## Properties ### ownerPort? StateTransition | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/StateTransition | StateTransition TemporalConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/TemporalConfig | TemporalConfig # Interface: TemporalConfig ## Properties ### beneficiary? TreasuryExecutionConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/TreasuryExecutionConfig | TreasuryExecutionConfig TrustMessageConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/TrustMessageConfig | TrustMessageConfig # Interface: TrustMessageConfig ## Properties ### authorityPk > **authorityPk**: `string` *** ### expiryWindow > **expiryWindow**: `bigint` *** ### maxRating > **maxRating**: `number` *** ### minReviewerStake? TxContext | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/TxContext | TxContext # Interface: TxContext Context supplied to the evaluator describing the spend transaction ## Properties ### block > **block**: `number` Current block height *** ### blockMilli? TxPoWValidationConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/TxPoWValidationConfig | TxPoWValidationConfig UsageTrackingConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/UsageTrackingConfig | UsageTrackingConfig # Interface: UsageTrackingConfig ## Properties ### amountPort > **amountPort**: `number` *** ### countPort > **countPort**: `number` *** ### maxAmount > **maxAmount**: `string` *** ### maxCount > **maxCount**: `bigint` *** ### noncePort? VerificationResult | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/VerificationResult | VerificationResult # Interface: VerificationResult ## Properties ### chain? VoteSubmissionConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/VoteSubmissionConfig | VoteSubmissionConfig # Interface: VoteSubmissionConfig ## Properties ### governancePk > **governancePk**: `string` *** ### noncePort > **noncePort**: `number` Port storing the per-voter nonce to prevent double voting. VoteTallyConfig | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/VoteTallyConfig | VoteTallyConfig # Interface: VoteTallyConfig ## Properties ### abstainPort? WitnessInput | https://docs.totem.ing/api/totemsdk-kissvm/interfaces/WitnessInput | WitnessInput ASTNode | https://docs.totem.ing/api/totemsdk-kissvm/type-aliases/ASTNode | ASTNode ReleaseCurve | https://docs.totem.ing/api/totemsdk-kissvm/type-aliases/ReleaseCurve | ReleaseCurve Value | https://docs.totem.ing/api/totemsdk-kissvm/type-aliases/Value | Value # Type Alias: Value > **Value** = [`MiniNumber`](. BOND_STATUS | https://docs.totem.ing/api/totemsdk-kissvm/variables/BOND_STATUS | BOND_STATUS IA_STATUS | https://docs.totem.ing/api/totemsdk-kissvm/variables/IA_STATUS | IA_STATUS MAX_DECIMAL | https://docs.totem.ing/api/totemsdk-kissvm/variables/MAX_DECIMAL | MAX_DECIMAL POSITION_STATUS | https://docs.totem.ing/api/totemsdk-kissvm/variables/POSITION_STATUS | POSITION_STATUS STANDARD_LAYERS | https://docs.totem.ing/api/totemsdk-kissvm/variables/STANDARD_LAYERS | STANDARD\_LAYERS # Variable: STANDARD\_LAYERS > `const` **STANDARD\_LAYERS**: `object` Standard layer IDs for the canonical 7-layer chain. LiquidityAllocationError | https://docs.totem.ing/api/totemsdk-liquidity-bond/classes/LiquidityAllocationError | LiquidityAllocationError # Class: LiquidityAllocationError ## Extends - [`LiquidityBondError`](LiquidityBondError. LiquidityBondError | https://docs.totem.ing/api/totemsdk-liquidity-bond/classes/LiquidityBondError | LiquidityBondError # Class: LiquidityBondError ## Extends - `Error` ## Extended by - [`LiquidityPoolManifestError`](LiquidityPoolManifestError. LiquidityCommitmentError | https://docs.totem.ing/api/totemsdk-liquidity-bond/classes/LiquidityCommitmentError | LiquidityCommitmentError # Class: LiquidityCommitmentError ## Extends - [`LiquidityBondError`](LiquidityBondError. LiquidityFeeError | https://docs.totem.ing/api/totemsdk-liquidity-bond/classes/LiquidityFeeError | LiquidityFeeError # Class: LiquidityFeeError ## Extends - [`LiquidityBondError`](LiquidityBondError. LiquidityIdentityError | https://docs.totem.ing/api/totemsdk-liquidity-bond/classes/LiquidityIdentityError | LiquidityIdentityError # Class: LiquidityIdentityError ## Extends - [`LiquidityBondError`](LiquidityBondError. LiquidityPolicyError | https://docs.totem.ing/api/totemsdk-liquidity-bond/classes/LiquidityPolicyError | LiquidityPolicyError # Class: LiquidityPolicyError ## Extends - [`LiquidityBondError`](LiquidityBondError. LiquidityPoolManifestError | https://docs.totem.ing/api/totemsdk-liquidity-bond/classes/LiquidityPoolManifestError | LiquidityPoolManifestError # Class: LiquidityPoolManifestError ## Extends - [`LiquidityBondError`](LiquidityBondError. LiquidityPositionError | https://docs.totem.ing/api/totemsdk-liquidity-bond/classes/LiquidityPositionError | LiquidityPositionError # Class: LiquidityPositionError ## Extends - [`LiquidityBondError`](LiquidityBondError. LiquidityReceiptError | https://docs.totem.ing/api/totemsdk-liquidity-bond/classes/LiquidityReceiptError | LiquidityReceiptError # Class: LiquidityReceiptError ## Extends - [`LiquidityBondError`](LiquidityBondError. LiquidityRegistryError | https://docs.totem.ing/api/totemsdk-liquidity-bond/classes/LiquidityRegistryError | LiquidityRegistryError # Class: LiquidityRegistryError ## Extends - [`LiquidityBondError`](LiquidityBondError. LiquidityRiskError | https://docs.totem.ing/api/totemsdk-liquidity-bond/classes/LiquidityRiskError | LiquidityRiskError # Class: LiquidityRiskError ## Extends - [`LiquidityBondError`](LiquidityBondError. LiquiditySerializationError | https://docs.totem.ing/api/totemsdk-liquidity-bond/classes/LiquiditySerializationError | LiquiditySerializationError # Class: LiquiditySerializationError ## Extends - [`LiquidityBondError`](LiquidityBondError. LiquidityWithdrawalError | https://docs.totem.ing/api/totemsdk-liquidity-bond/classes/LiquidityWithdrawalError | LiquidityWithdrawalError # Class: LiquidityWithdrawalError ## Extends - [`LiquidityBondError`](LiquidityBondError. MemoryLiquidityBondStore | https://docs.totem.ing/api/totemsdk-liquidity-bond/classes/MemoryLiquidityBondStore | MemoryLiquidityBondStore # Class: MemoryLiquidityBondStore ## Constructors ### Constructor > **new MemoryLiquidityBondStore**(): `MemoryLiquidityBondStore` #### Returns `MemoryLiquidityBondStore` ## Methods ### attachAllocation() > **attachAllocation**(`allocation`): `Promise`\<`void`\> #### Parameters ##### allocation [`LiquidityAllocation`](. acceptLiquidityCommitment | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/acceptLiquidityCommitment | LiquidityCommitment # Function: acceptLiquidityCommitment() > **acceptLiquidityCommitment**(`commitment`, `opts? activateLiquidityPosition | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/activateLiquidityPosition | LiquidityPosition # Function: activateLiquidityPosition() > **activateLiquidityPosition**(`position`, `now? applyLiquidityHaircut | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/applyLiquidityHaircut | LiquidityHaircut # Function: applyLiquidityHaircut() > **applyLiquidityHaircut**(`amount`, `haircutBps? applyRegistryTransition | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/applyRegistryTransition | RegistryTransition # Function: applyRegistryTransition() > **applyRegistryTransition**(`state`, `next`, `transition`, `verifier`, `opts? approveWithdrawalIntent | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/approveWithdrawalIntent | WithdrawalIntent # Function: approveWithdrawalIntent() > **approveWithdrawalIntent**(`intent`, `now? assertLiquidityPoolManifestNotExpired | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/assertLiquidityPoolManifestNotExpired | LiquidityPoolManifestNotExpired # Function: assertLiquidityPoolManifestNotExpired() > **assertLiquidityPoolManifestNotExpired**(`manifest`, `now? assetToTokenId | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/assetToTokenId | ToTokenId # Function: assetToTokenId() > **assetToTokenId**(`asset`): `string` Map a pool asset to the on-chain token id a funding check should match. attachLiquidityAllocation | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/attachLiquidityAllocation | LiquidityAllocation # Function: attachLiquidityAllocation() > **attachLiquidityAllocation**(`state`, `allocation`): [`LiquidityBondRegistryState`](. attachLiquidityFeeRecord | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/attachLiquidityFeeRecord | LiquidityFeeRecord # Function: attachLiquidityFeeRecord() > **attachLiquidityFeeRecord**(`state`, `record`): [`LiquidityBondRegistryState`](. attachLiquidityReceipt | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/attachLiquidityReceipt | LiquidityReceipt # Function: attachLiquidityReceipt() > **attachLiquidityReceipt**(`state`, `receipt`): [`LiquidityBondRegistryState`](. attachWithdrawalIntent | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/attachWithdrawalIntent | WithdrawalIntent # Function: attachWithdrawalIntent() > **attachWithdrawalIntent**(`state`, `intent`): [`LiquidityBondRegistryState`](. buildOperatorAutobond | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/buildOperatorAutobond | OperatorAutobond # Function: buildOperatorAutobond() > **buildOperatorAutobond**(`manifest`, `signer`, `now? cancelLiquidityCommitment | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/cancelLiquidityCommitment | LiquidityCommitment # Function: cancelLiquidityCommitment() > **cancelLiquidityCommitment**(`commitment`, `now? cancelWithdrawalIntent | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/cancelWithdrawalIntent | WithdrawalIntent # Function: cancelWithdrawalIntent() > **cancelWithdrawalIntent**(`intent`, `now? computeAvailableLiquidity | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/computeAvailableLiquidity | AvailableLiquidity # Function: computeAvailableLiquidity() > **computeAvailableLiquidity**(`position`): `bigint` ## Parameters ### position [`LiquidityPosition`](. computeEffectiveLiquidityAmount | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/computeEffectiveLiquidityAmount | EffectiveLiquidityAmount # Function: computeEffectiveLiquidityAmount() > **computeEffectiveLiquidityAmount**(`position`, `riskPolicy? computeIdentityChallenge | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/computeIdentityChallenge | IdentityChallenge # Function: computeIdentityChallenge() > **computeIdentityChallenge**(`entityId`, `address`): `string` Domain-separated challenge for an identity claim (#33): scoped to the entity (poolId / positionId / receiptId) so a signature on one record cannot replay against another. computeLiquidityPoolManifestHash | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/computeLiquidityPoolManifestHash | LiquidityPoolManifestHash # Function: computeLiquidityPoolManifestHash() > **computeLiquidityPoolManifestHash**(`manifest`): `string` ## Parameters ### manifest [`LiquidityPoolManifest`](. computeLiquidityReceiptHash | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/computeLiquidityReceiptHash | LiquidityReceiptHash # Function: computeLiquidityReceiptHash() > **computeLiquidityReceiptHash**(`receipt`): `string` Domain-separated receipt hash (#33): scoped to the receipt domain so a hash computed over one record cannot replay against another. computeOperatorAutobondPayloadHash | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/computeOperatorAutobondPayloadHash | OperatorAutobondPayloadHash # Function: computeOperatorAutobondPayloadHash() > **computeOperatorAutobondPayloadHash**(`manifest`): `string` The payload the pool operator signs: a canonical, domain-separated commitment to the load-bearing pool parameters. computePoolUtilisation | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/computePoolUtilisation | PoolUtilisation # Function: computePoolUtilisation() > **computePoolUtilisation**(`params`): `number` ## Parameters ### params [`ComputePoolUtilisationParams`](. computePositionRiskScore | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/computePositionRiskScore | PositionRiskScore # Function: computePositionRiskScore() > **computePositionRiskScore**(`params`): `number` ## Parameters ### params [`ComputePositionRiskScoreParams`](. computeRegistryRoot | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/computeRegistryRoot | RegistryRoot # Function: computeRegistryRoot() > **computeRegistryRoot**(`registry`, `opts? computeWithdrawalId | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/computeWithdrawalId | WithdrawalId # Function: computeWithdrawalId() > **computeWithdrawalId**(`positionId`, `nonce`): `string` Non-replayable withdrawal ID (#9): a domain hash over positionId + nonce, so `wdrw-${Date. confirmLiquidityCommitment | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/confirmLiquidityCommitment | LiquidityCommitment # Function: confirmLiquidityCommitment() > **confirmLiquidityCommitment**(`commitment`, `chainProvider`, `now? consumeLiquidityReceipt | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/consumeLiquidityReceipt | LiquidityReceipt # Function: consumeLiquidityReceipt() > **consumeLiquidityReceipt**(`receipt`, `intentId`, `now? createDurableLiquidityBondStore | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/createDurableLiquidityBondStore | DurableLiquidityBondStore # Function: createDurableLiquidityBondStore() > **createDurableLiquidityBondStore**(`adapter`, `options? createEmptyLiquidityBondRegistryState | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/createEmptyLiquidityBondRegistryState | EmptyLiquidityBondRegistryState # Function: createEmptyLiquidityBondRegistryState() > **createEmptyLiquidityBondRegistryState**(): [`LiquidityBondRegistryState`](. createLiquidityAllocation | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/createLiquidityAllocation | LiquidityAllocation # Function: createLiquidityAllocation() > **createLiquidityAllocation**(`params`): [`LiquidityAllocation`](. createLiquidityCommitment | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/createLiquidityCommitment | LiquidityCommitment # Function: createLiquidityCommitment() > **createLiquidityCommitment**(`params`): [`LiquidityCommitment`](. createLiquidityPoolManifest | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/createLiquidityPoolManifest | LiquidityPoolManifest # Function: createLiquidityPoolManifest() > **createLiquidityPoolManifest**(`params`): [`LiquidityPoolManifest`](. createLiquidityPosition | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/createLiquidityPosition | LiquidityPosition # Function: createLiquidityPosition() > **createLiquidityPosition**(`params`): [`LiquidityPosition`](. createWithdrawalIntent | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/createWithdrawalIntent | WithdrawalIntent # Function: createWithdrawalIntent() > **createWithdrawalIntent**(`params`): [`WithdrawalIntent`](. detectDoubleCountedLiquidity | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/detectDoubleCountedLiquidity | DoubleCountedLiquidity # Function: detectDoubleCountedLiquidity() > **detectDoubleCountedLiquidity**(`positions`): [`LiquidityBondVerifyResult`](. explainLiquidityPolicyFailure | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/explainLiquidityPolicyFailure | LiquidityPolicyFailure # Function: explainLiquidityPolicyFailure() > **explainLiquidityPolicyFailure**(`result`): `string`[] ## Parameters ### result [`LiquidityBondVerifyResult`](. filterLiquidityPositionsByPolicy | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/filterLiquidityPositionsByPolicy | LiquidityPositionsByPolicy # Function: filterLiquidityPositionsByPolicy() > **filterLiquidityPositionsByPolicy**(`state`, `policy`): [`LiquidityPosition`](. getLiquidityPool | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/getLiquidityPool | LiquidityPool # Function: getLiquidityPool() > **getLiquidityPool**(`state`, `poolId`): [`LiquidityPoolManifest`](. getLiquidityPosition | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/getLiquidityPosition | LiquidityPosition # Function: getLiquidityPosition() > **getLiquidityPosition**(`state`, `positionId`): [`LiquidityPosition`](. getLiquidityReceipt | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/getLiquidityReceipt | LiquidityReceipt # Function: getLiquidityReceipt() > **getLiquidityReceipt**(`state`, `receiptId`): [`LiquidityReceipt`](. issueLiquidityReceipt | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/issueLiquidityReceipt | LiquidityReceipt # Function: issueLiquidityReceipt() > **issueLiquidityReceipt**(`params`): [`LiquidityReceipt`](. listActivePositions | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/listActivePositions | ActivePositions # Function: listActivePositions() > **listActivePositions**(`state`): [`LiquidityPosition`](. listLiquidityPools | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/listLiquidityPools | LiquidityPools # Function: listLiquidityPools() > **listLiquidityPools**(`state`): [`LiquidityPoolManifest`](. listPositionsByLp | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/listPositionsByLp | PositionsByLp # Function: listPositionsByLp() > **listPositionsByLp**(`state`, `lpAddress`): [`LiquidityPosition`](. listPositionsByPool | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/listPositionsByPool | PositionsByPool # Function: listPositionsByPool() > **listPositionsByPool**(`state`, `poolId`): [`LiquidityPosition`](. listWithdrawablePositions | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/listWithdrawablePositions | WithdrawablePositions # Function: listWithdrawablePositions() > **listWithdrawablePositions**(`state`, `now`): [`LiquidityPosition`](. markAllocationDepleted | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/markAllocationDepleted | AllocationDepleted # Function: markAllocationDepleted() > **markAllocationDepleted**(`allocation`, `now? markLiquidityPositionDepleted | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/markLiquidityPositionDepleted | LiquidityPositionDepleted # Function: markLiquidityPositionDepleted() > **markLiquidityPositionDepleted**(`position`, `now? markLiquidityPositionInvalid | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/markLiquidityPositionInvalid | LiquidityPositionInvalid # Function: markLiquidityPositionInvalid() > **markLiquidityPositionInvalid**(`position`, `reason`, `now? markLiquidityPositionQuiescing | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/markLiquidityPositionQuiescing | LiquidityPositionQuiescing # Function: markLiquidityPositionQuiescing() > **markLiquidityPositionQuiescing**(`position`, `now? parseLiquidityBondRecord | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/parseLiquidityBondRecord | parseLiquidityBondRecord parseLiquidityBondState | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/parseLiquidityBondState | parseLiquidityBondState rankLiquidityPositionsByRisk | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/rankLiquidityPositionsByRisk | LiquidityPositionsByRisk # Function: rankLiquidityPositionsByRisk() > **rankLiquidityPositionsByRisk**(`positions`): [`LiquidityPosition`](. recordLiquidityFee | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/recordLiquidityFee | LiquidityFee # Function: recordLiquidityFee() > **recordLiquidityFee**(`params`): [`LiquidityFeeRecord`](. registerLiquidityCommitment | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/registerLiquidityCommitment | LiquidityCommitment # Function: registerLiquidityCommitment() > **registerLiquidityCommitment**(`state`, `commitment`): [`LiquidityBondRegistryState`](. registerLiquidityPool | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/registerLiquidityPool | LiquidityPool # Function: registerLiquidityPool() > **registerLiquidityPool**(`state`, `pool`): [`LiquidityBondRegistryState`](. registerLiquidityPosition | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/registerLiquidityPosition | LiquidityPosition # Function: registerLiquidityPosition() > **registerLiquidityPosition**(`state`, `position`): [`LiquidityBondRegistryState`](. registerPoolWriter | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/registerPoolWriter | PoolWriter # Function: registerPoolWriter() > **registerPoolWriter**(`writers`, `poolId`, `signerPublicKeyDigest`): [`PoolWriterRegistry`](. registryRootPayload | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/registryRootPayload | RootPayload # Function: registryRootPayload() > **registryRootPayload**(`root`, `opts? rejectLiquidityCommitment | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/rejectLiquidityCommitment | LiquidityCommitment # Function: rejectLiquidityCommitment() > **rejectLiquidityCommitment**(`commitment`, `reason`, `now? rejectWithdrawalIntent | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/rejectWithdrawalIntent | WithdrawalIntent # Function: rejectWithdrawalIntent() > **rejectWithdrawalIntent**(`intent`, `reason`, `now? releaseLiquidityAllocation | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/releaseLiquidityAllocation | LiquidityAllocation # Function: releaseLiquidityAllocation() > **releaseLiquidityAllocation**(`allocation`, `now? serializeLiquidityBondRecord | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/serializeLiquidityBondRecord | serializeLiquidityBondRecord serializeLiquidityBondState | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/serializeLiquidityBondState | serializeLiquidityBondState serializeRegistryState | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/serializeRegistryState | RegistryState # Function: serializeRegistryState() > **serializeRegistryState**(`registry`): `string` Canonical serialization of a registry state. signRegistryTransition | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/signRegistryTransition | RegistryTransition # Function: signRegistryTransition() > **signRegistryTransition**(`registry`, `op`, `signer`, `opts? sumActiveAllocations | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/sumActiveAllocations | ActiveAllocations # Function: sumActiveAllocations() > **sumActiveAllocations**(`allocations`): `bigint` ## Parameters ### allocations [`LiquidityAllocation`](. sumFeesForPosition | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/sumFeesForPosition | FeesForPosition # Function: sumFeesForPosition() > **sumFeesForPosition**(`records`, `positionId`): `bigint` ## Parameters ### records [`LiquidityFeeRecord`](. sumLpFeesForPosition | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/sumLpFeesForPosition | LpFeesForPosition # Function: sumLpFeesForPosition() > **sumLpFeesForPosition**(`records`, `positionId`): `bigint` Sum LP fees for a position, counting only records whose earnings are verified (or non-earnable adjustments). updateLiquidityPool | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/updateLiquidityPool | LiquidityPool # Function: updateLiquidityPool() > **updateLiquidityPool**(`state`, `pool`): [`LiquidityBondRegistryState`](. validateLiquidityAgainstPolicy | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/validateLiquidityAgainstPolicy | LiquidityAgainstPolicy # Function: validateLiquidityAgainstPolicy() > **validateLiquidityAgainstPolicy**(`params`): [`LiquidityBondVerifyResult`](. verifyIdentityChallengeProof | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/verifyIdentityChallengeProof | IdentityChallengeProof # Function: verifyIdentityChallengeProof() > **verifyIdentityChallengeProof**(`proof`, `claimedAddress`, `entityId`): `boolean` Verify a signature-backed identity proof against a claimed address. verifyLiquidityAllocation | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/verifyLiquidityAllocation | LiquidityAllocation # Function: verifyLiquidityAllocation() > **verifyLiquidityAllocation**(`params`): [`LiquidityBondVerifyResult`](. verifyLiquidityCommitment | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/verifyLiquidityCommitment | LiquidityCommitment # Function: verifyLiquidityCommitment() > **verifyLiquidityCommitment**(`params`): `Promise`\<[`LiquidityBondVerifyResult`](. verifyLiquidityFeeRecord | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/verifyLiquidityFeeRecord | LiquidityFeeRecord # Function: verifyLiquidityFeeRecord() > **verifyLiquidityFeeRecord**(`params`): `Promise`\<[`LiquidityBondVerifyResult`](. verifyLiquidityPoolManifest | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/verifyLiquidityPoolManifest | LiquidityPoolManifest # Function: verifyLiquidityPoolManifest() > **verifyLiquidityPoolManifest**(`params`): [`LiquidityBondVerifyResult`](. verifyLiquidityPosition | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/verifyLiquidityPosition | LiquidityPosition # Function: verifyLiquidityPosition() > **verifyLiquidityPosition**(`params`): [`LiquidityBondVerifyResult`](. verifyLiquidityReceipt | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/verifyLiquidityReceipt | LiquidityReceipt # Function: verifyLiquidityReceipt() > **verifyLiquidityReceipt**(`params`): [`LiquidityBondVerifyResult`](. verifyLpIdentity | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/verifyLpIdentity | LpIdentity # Function: verifyLpIdentity() > **verifyLpIdentity**(`params`): [`LiquidityBondVerifyResult`](. verifyOperatorAutobond | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/verifyOperatorAutobond | OperatorAutobond # Function: verifyOperatorAutobond() > **verifyOperatorAutobond**(`bond`, `manifest`): `boolean` Verify an operator autobond: payload binding, address ownership, and the WOTS signature over the payload. verifyPoolOperatorIdentity | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/verifyPoolOperatorIdentity | PoolOperatorIdentity # Function: verifyPoolOperatorIdentity() > **verifyPoolOperatorIdentity**(`params`): [`LiquidityBondVerifyResult`](. verifyReceiptOwnerIdentity | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/verifyReceiptOwnerIdentity | ReceiptOwnerIdentity # Function: verifyReceiptOwnerIdentity() > **verifyReceiptOwnerIdentity**(`params`): [`LiquidityBondVerifyResult`](. verifyRegistryRoot | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/verifyRegistryRoot | RegistryRoot # Function: verifyRegistryRoot() > **verifyRegistryRoot**(`registry`, `root`, `signature`, `verifier`, `opts? verifyRegistryTransition | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/verifyRegistryTransition | RegistryTransition # Function: verifyRegistryTransition() > **verifyRegistryTransition**(`registry`, `transition`, `verifier`, `opts? verifyWithdrawalAllowed | https://docs.totem.ing/api/totemsdk-liquidity-bond/functions/verifyWithdrawalAllowed | WithdrawalAllowed # Function: verifyWithdrawalAllowed() > **verifyWithdrawalAllowed**(`params`): [`LiquidityBondVerifyResult`](. ComputePoolUtilisationParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/ComputePoolUtilisationParams | ComputePoolUtilisationParams # Interface: ComputePoolUtilisationParams ## Properties ### pool > **pool**: [`LiquidityPoolManifest`](LiquidityPoolManifest. ComputePositionRiskScoreParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/ComputePositionRiskScoreParams | ComputePositionRiskScoreParams # Interface: ComputePositionRiskScoreParams ## Properties ### now? CreateLiquidityAllocationParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/CreateLiquidityAllocationParams | CreateLiquidityAllocationParams # Interface: CreateLiquidityAllocationParams ## Properties ### allocationType > **allocationType**: [`AllocationType`](. CreateLiquidityCommitmentParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/CreateLiquidityCommitmentParams | CreateLiquidityCommitmentParams # Interface: CreateLiquidityCommitmentParams ## Properties ### amount > **amount**: `bigint` *** ### asset > **asset**: `string` *** ### createdAt? CreateLiquidityPoolManifestParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/CreateLiquidityPoolManifestParams | CreateLiquidityPoolManifestParams # Interface: CreateLiquidityPoolManifestParams ## Properties ### asset > **asset**: `string` *** ### createdAt? CreateLiquidityPositionParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/CreateLiquidityPositionParams | CreateLiquidityPositionParams # Interface: CreateLiquidityPositionParams ## Properties ### commitment > **commitment**: [`LiquidityCommitment`](LiquidityCommitment. CreateWithdrawalIntentParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/CreateWithdrawalIntentParams | CreateWithdrawalIntentParams # Interface: CreateWithdrawalIntentParams ## Properties ### amount > **amount**: `bigint` *** ### metadata? DurableLiquidityBondStore | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/DurableLiquidityBondStore | DurableLiquidityBondStore # Interface: DurableLiquidityBondStore ## Methods ### attachAllocation() > **attachAllocation**(`allocation`): `Promise`\<`void`\> #### Parameters ##### allocation [`LiquidityAllocation`](LiquidityAllocation. DurableLiquidityBondStoreOptions | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/DurableLiquidityBondStoreOptions | DurableLiquidityBondStoreOptions # Interface: DurableLiquidityBondStoreOptions ## Properties ### namespace? FeePayoutRef | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/FeePayoutRef | FeePayoutRef # Interface: FeePayoutRef A settled payout that a claim/compound is bound to (prevents claim-then-fail). FeeProofVerifier | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/FeeProofVerifier | FeeProofVerifier # Interface: FeeProofVerifier Verifier for a fee's earn-proof. IdentityChallengeProof | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/IdentityChallengeProof | IdentityChallengeProof # Interface: IdentityChallengeProof A signature-backed identity proof (#10/#32): the claimed address proves control by signing a domain-separated challenge with its WOTS key. IssueLiquidityReceiptParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/IssueLiquidityReceiptParams | IssueLiquidityReceiptParams # Interface: IssueLiquidityReceiptParams ## Properties ### expiresAt? LiquidityAllocation | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/LiquidityAllocation | LiquidityAllocation # Interface: LiquidityAllocation ## Properties ### allocationId > **allocationId**: `string` *** ### allocationType > **allocationType**: [`AllocationType`](. LiquidityBondPolicy | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/LiquidityBondPolicy | LiquidityBondPolicy # Interface: LiquidityBondPolicy ## Properties ### acceptedAssets? LiquidityBondRegistryState | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/LiquidityBondRegistryState | LiquidityBondRegistryState # Interface: LiquidityBondRegistryState ## Properties ### allocations > **allocations**: `Record`\<`string`, [`LiquidityAllocation`](LiquidityAllocation. LiquidityBondVerifyResult | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/LiquidityBondVerifyResult | LiquidityBondVerifyResult # Interface: LiquidityBondVerifyResult ## Properties ### code? LiquidityChainFundingVerifier | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/LiquidityChainFundingVerifier | LiquidityChainFundingVerifier # Interface: LiquidityChainFundingVerifier Minimal on-chain funding verifier. LiquidityCommitment | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/LiquidityCommitment | LiquidityCommitment # Interface: LiquidityCommitment ## Properties ### amount > **amount**: `bigint` *** ### asset > **asset**: `string` *** ### commitmentId > **commitmentId**: `string` *** ### createdAt > **createdAt**: `number` *** ### expiresAt? LiquidityFeePolicy | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/LiquidityFeePolicy | LiquidityFeePolicy # Interface: LiquidityFeePolicy ## Properties ### feeAsset? LiquidityFeeRecord | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/LiquidityFeeRecord | LiquidityFeeRecord # Interface: LiquidityFeeRecord ## Properties ### earnProof? LiquidityFunding | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/LiquidityFunding | LiquidityFunding # Interface: LiquidityFunding Structured funding proof. LiquidityLockTerms | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/LiquidityLockTerms | LiquidityLockTerms # Interface: LiquidityLockTerms ## Properties ### earlyWithdrawalAllowed? LiquidityPoolManifest | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/LiquidityPoolManifest | LiquidityPoolManifest # Interface: LiquidityPoolManifest ## Properties ### asset > **asset**: `string` *** ### createdAt > **createdAt**: `number` *** ### edgeService? LiquidityPosition | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/LiquidityPosition | LiquidityPosition # Interface: LiquidityPosition ## Properties ### allocatedAmount? LiquidityProofRef | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/LiquidityProofRef | LiquidityProofRef # Interface: LiquidityProofRef ## Properties ### createdAt > **createdAt**: `number` *** ### expiresAt? LiquidityProviderBondVerifier | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/LiquidityProviderBondVerifier | LiquidityProviderBondVerifier # Interface: LiquidityProviderBondVerifier Verifier that confirms a provider's bond coin exists and is unspent on-chain. LiquidityReceipt | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/LiquidityReceipt | LiquidityReceipt # Interface: LiquidityReceipt ## Properties ### amount > **amount**: `bigint` *** ### asset > **asset**: `string` *** ### consumedAt? LiquidityRiskPolicy | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/LiquidityRiskPolicy | LiquidityRiskPolicy # Interface: LiquidityRiskPolicy ## Properties ### acceptedAssets? OperatorAutobond | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/OperatorAutobond | OperatorAutobond # Interface: OperatorAutobond Operator autobond (#5): a WOTS signature by the pool operator over the load-bearing pool parameters (poolId, asset, totalCapacity, lockTerms, feePolicy). ProviderBondRef | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/ProviderBondRef | ProviderBondRef # Interface: ProviderBondRef ## Properties ### bondCoinId? RecordLiquidityFeeParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/RecordLiquidityFeeParams | RecordLiquidityFeeParams # Interface: RecordLiquidityFeeParams ## Properties ### earnProof? RegistryOperation | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/RegistryOperation | RegistryOperation # Interface: RegistryOperation Description of what changed in a registry transition. RegistryRootOptions | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/RegistryRootOptions | RegistryRootOptions # Interface: RegistryRootOptions ## Properties ### domain? RegistryRootPort | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/RegistryRootPort | RegistryRootPort # Interface: RegistryRootPort A channel program can carry a `RegistryRootPort` so an on-chain program can recompute/verify the pool anchor without pulling the full registry in. RegistryRootVerifier | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/RegistryRootVerifier | RegistryRootVerifier # Interface: RegistryRootVerifier Verifier used to check a registry root signature. RegistrySignedTransition | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/RegistrySignedTransition | RegistrySignedTransition # Interface: RegistrySignedTransition ## Properties ### delta > **delta**: [`RegistryTransitionDelta`](RegistryTransitionDelta. RegistryTransitionDelta | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/RegistryTransitionDelta | RegistryTransitionDelta # Interface: RegistryTransitionDelta ## Properties ### op > **op**: [`RegistryOperation`](RegistryOperation. RegistryTransitionSigner | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/RegistryTransitionSigner | RegistryTransitionSigner # Interface: RegistryTransitionSigner Signer used to authorize registry transitions. ValidateLiquidityAgainstPolicyParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/ValidateLiquidityAgainstPolicyParams | ValidateLiquidityAgainstPolicyParams # Interface: ValidateLiquidityAgainstPolicyParams ## Properties ### policy > **policy**: [`LiquidityBondPolicy`](LiquidityBondPolicy. VerifyLiquidityAllocationParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/VerifyLiquidityAllocationParams | VerifyLiquidityAllocationParams # Interface: VerifyLiquidityAllocationParams ## Properties ### allocation > **allocation**: [`LiquidityAllocation`](LiquidityAllocation. VerifyLiquidityCommitmentParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/VerifyLiquidityCommitmentParams | VerifyLiquidityCommitmentParams # Interface: VerifyLiquidityCommitmentParams ## Properties ### chainProvider? VerifyLiquidityFeeRecordParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/VerifyLiquidityFeeRecordParams | VerifyLiquidityFeeRecordParams # Interface: VerifyLiquidityFeeRecordParams ## Properties ### feeProofVerifier? VerifyLiquidityPoolManifestParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/VerifyLiquidityPoolManifestParams | VerifyLiquidityPoolManifestParams # Interface: VerifyLiquidityPoolManifestParams ## Properties ### manifest > **manifest**: [`LiquidityPoolManifest`](LiquidityPoolManifest. VerifyLiquidityPositionParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/VerifyLiquidityPositionParams | VerifyLiquidityPositionParams # Interface: VerifyLiquidityPositionParams ## Properties ### now? VerifyLiquidityReceiptParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/VerifyLiquidityReceiptParams | VerifyLiquidityReceiptParams # Interface: VerifyLiquidityReceiptParams ## Properties ### position > **position**: [`LiquidityPosition`](LiquidityPosition. VerifyLpIdentityParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/VerifyLpIdentityParams | VerifyLpIdentityParams # Interface: VerifyLpIdentityParams ## Properties ### commitment > **commitment**: [`LiquidityCommitment`](LiquidityCommitment. VerifyPoolOperatorIdentityParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/VerifyPoolOperatorIdentityParams | VerifyPoolOperatorIdentityParams # Interface: VerifyPoolOperatorIdentityParams ## Properties ### identityGraph? VerifyReceiptOwnerIdentityParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/VerifyReceiptOwnerIdentityParams | VerifyReceiptOwnerIdentityParams # Interface: VerifyReceiptOwnerIdentityParams ## Properties ### identityGraph? VerifyWithdrawalAllowedParams | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/VerifyWithdrawalAllowedParams | VerifyWithdrawalAllowedParams # Interface: VerifyWithdrawalAllowedParams ## Properties ### intent > **intent**: [`WithdrawalIntent`](WithdrawalIntent. WithdrawalIntent | https://docs.totem.ing/api/totemsdk-liquidity-bond/interfaces/WithdrawalIntent | WithdrawalIntent # Interface: WithdrawalIntent ## Properties ### amount > **amount**: `bigint` *** ### approvedAt? AllocationStatus | https://docs.totem.ing/api/totemsdk-liquidity-bond/type-aliases/AllocationStatus | AllocationStatus AllocationType | https://docs.totem.ing/api/totemsdk-liquidity-bond/type-aliases/AllocationType | AllocationType CommitmentStatus | https://docs.totem.ing/api/totemsdk-liquidity-bond/type-aliases/CommitmentStatus | CommitmentStatus EarnableFeeSource | https://docs.totem.ing/api/totemsdk-liquidity-bond/type-aliases/EarnableFeeSource | EarnableFeeSource # Type Alias: EarnableFeeSource > **EarnableFeeSource** = `"route-fee"` \| `"rfq-spread"` \| `"merchant-fee"` Fee sources that must prove real earnings (HTLC fulfillment / signed route record). FeeModel | https://docs.totem.ing/api/totemsdk-liquidity-bond/type-aliases/FeeModel | FeeModel FeeSource | https://docs.totem.ing/api/totemsdk-liquidity-bond/type-aliases/FeeSource | FeeSource LiquidityAsset | https://docs.totem.ing/api/totemsdk-liquidity-bond/type-aliases/LiquidityAsset | LiquidityAsset LiquidityBondVerifyCode | https://docs.totem.ing/api/totemsdk-liquidity-bond/type-aliases/LiquidityBondVerifyCode | LiquidityBondVerifyCode LiquidityPoolType | https://docs.totem.ing/api/totemsdk-liquidity-bond/type-aliases/LiquidityPoolType | LiquidityPoolType LiquidityPositionStatus | https://docs.totem.ing/api/totemsdk-liquidity-bond/type-aliases/LiquidityPositionStatus | LiquidityPositionStatus LiquidityPurpose | https://docs.totem.ing/api/totemsdk-liquidity-bond/type-aliases/LiquidityPurpose | LiquidityPurpose LockType | https://docs.totem.ing/api/totemsdk-liquidity-bond/type-aliases/LockType | LockType PoolWriterRegistry | https://docs.totem.ing/api/totemsdk-liquidity-bond/type-aliases/PoolWriterRegistry | PoolWriterRegistry # Type Alias: PoolWriterRegistry > **PoolWriterRegistry** = `Record`\<`string`, `string`\> Per-pool writer registry (#34): each pool has exactly one authorized signer. ProofRefType | https://docs.totem.ing/api/totemsdk-liquidity-bond/type-aliases/ProofRefType | ProofRefType WithdrawalStatus | https://docs.totem.ing/api/totemsdk-liquidity-bond/type-aliases/WithdrawalStatus | WithdrawalStatus DEFAULT_LIQUIDITY_BOND_TOPIC_PREFIX | https://docs.totem.ing/api/totemsdk-liquidity-bond/variables/DEFAULT_LIQUIDITY_BOND_TOPIC_PREFIX | DEFAULT\_LIQUIDITY\_BOND\_TOPIC\_PREFIX # Variable: DEFAULT\_LIQUIDITY\_BOND\_TOPIC\_PREFIX > `const` **DEFAULT\_LIQUIDITY\_BOND\_TOPIC\_PREFIX**: `"totem. DEFAULT_LIQUIDITY_RISK_POLICY | https://docs.totem.ing/api/totemsdk-liquidity-bond/variables/DEFAULT_LIQUIDITY_RISK_POLICY | DEFAULT_LIQUIDITY_RISK_POLICY DEFAULT_MINIMA_TOKEN_ID | https://docs.totem.ing/api/totemsdk-liquidity-bond/variables/DEFAULT_MINIMA_TOKEN_ID | DEFAULT_MINIMA_TOKEN_ID DEFAULT_REGISTRY_ROOT_DOMAIN | https://docs.totem.ing/api/totemsdk-liquidity-bond/variables/DEFAULT_REGISTRY_ROOT_DOMAIN | DEFAULT_REGISTRY_ROOT_DOMAIN IDENTITY_CHALLENGE_DOMAIN | https://docs.totem.ing/api/totemsdk-liquidity-bond/variables/IDENTITY_CHALLENGE_DOMAIN | IDENTITY_CHALLENGE_DOMAIN OPERATOR_AUTOBOND_DOMAIN | https://docs.totem.ing/api/totemsdk-liquidity-bond/variables/OPERATOR_AUTOBOND_DOMAIN | OPERATOR_AUTOBOND_DOMAIN RECEIPT_HASH_DOMAIN | https://docs.totem.ing/api/totemsdk-liquidity-bond/variables/RECEIPT_HASH_DOMAIN | RECEIPT_HASH_DOMAIN WITHDRAWAL_ID_DOMAIN | https://docs.totem.ing/api/totemsdk-liquidity-bond/variables/WITHDRAWAL_ID_DOMAIN | WITHDRAWAL_ID_DOMAIN registryRootPort | https://docs.totem.ing/api/totemsdk-liquidity-bond/variables/registryRootPort | RootPort # Variable: registryRootPort > `const` **registryRootPort**: [`RegistryRootPort`](. addLocationClaimToGraph | https://docs.totem.ing/api/totemsdk-location-proof/functions/addLocationClaimToGraph | LocationClaimToGraph # Function: addLocationClaimToGraph() > **addLocationClaimToGraph**(`graph`, `claim`): `ProofGraph` Add a location claim as a 'custom' node to a proof graph (immutable — returns a new graph). addLocationProofToGraph | https://docs.totem.ing/api/totemsdk-location-proof/functions/addLocationProofToGraph | LocationProofToGraph # Function: addLocationProofToGraph() > **addLocationProofToGraph**(`graph`, `signed`): `ProofGraph` Index a signed location proof into a proof graph (immutable — returns a new graph). canonicalJson | https://docs.totem.ing/api/totemsdk-location-proof/functions/canonicalJson | Json # Function: canonicalJson() > **canonicalJson**(`value`): `string` Deterministic canonical JSON with recursively sorted keys. computeLocationClaimId | https://docs.totem.ing/api/totemsdk-location-proof/functions/computeLocationClaimId | LocationClaimId # Function: computeLocationClaimId() > **computeLocationClaimId**(`input`): `string` Compute a stable URI-style claim ID: "totem:location:". computeMovementTrailId | https://docs.totem.ing/api/totemsdk-location-proof/functions/computeMovementTrailId | MovementTrailId # Function: computeMovementTrailId() > **computeMovementTrailId**(`input`): `string` Compute a stable URI-style movement trail ID: "totem:movement:". computeSpeedMps | https://docs.totem.ing/api/totemsdk-location-proof/functions/computeSpeedMps | SpeedMps # Function: computeSpeedMps() > **computeSpeedMps**(`a`, `b`): `number` Average speed between two samples in m/s. createLocationClaim | https://docs.totem.ing/api/totemsdk-location-proof/functions/createLocationClaim | LocationClaim # Function: createLocationClaim() > **createLocationClaim**(`input`): [`LocationClaim`](. createMovementTrail | https://docs.totem.ing/api/totemsdk-location-proof/functions/createMovementTrail | MovementTrail # Function: createMovementTrail() > **createMovementTrail**(`params`): [`MovementTrail`](. createUnsignedLocationProof | https://docs.totem.ing/api/totemsdk-location-proof/functions/createUnsignedLocationProof | UnsignedLocationProof # Function: createUnsignedLocationProof() > **createUnsignedLocationProof**(`params`): `UnsignedProof` Create an unsigned attestation proof for a location claim. detectImpossibleJumps | https://docs.totem.ing/api/totemsdk-location-proof/functions/detectImpossibleJumps | ImpossibleJumps # Function: detectImpossibleJumps() > **detectImpossibleJumps**(`samples`, `options? distanceMeters | https://docs.totem.ing/api/totemsdk-location-proof/functions/distanceMeters | Meters # Function: distanceMeters() > **distanceMeters**(`a`, `b`): `number` Great-circle distance between two points using the Haversine formula. hashLocationClaim | https://docs.totem.ing/api/totemsdk-location-proof/functions/hashLocationClaim | LocationClaim # Function: hashLocationClaim() > **hashLocationClaim**(`claim`): `string` Hash a complete LocationClaim (excluding claimId and mutable fields) to lowercase SHA3-256 hex without a 0x prefix. hashMovementTrail | https://docs.totem.ing/api/totemsdk-location-proof/functions/hashMovementTrail | MovementTrail # Function: hashMovementTrail() > **hashMovementTrail**(`trail`): `string` Hash a complete MovementTrail (excluding trailId and derived fields) to lowercase SHA3-256 hex without a 0x prefix. isChallengeExpired | https://docs.totem.ing/api/totemsdk-location-proof/functions/isChallengeExpired | ChallengeExpired # Function: isChallengeExpired() > **isChallengeExpired**(`challenge`, `now`): `boolean` ## Parameters ### challenge [`LocationChallenge`](. locationClaimToEvidenceRef | https://docs.totem.ing/api/totemsdk-location-proof/functions/locationClaimToEvidenceRef | ClaimToEvidenceRef # Function: locationClaimToEvidenceRef() > **locationClaimToEvidenceRef**(`claim`): `EvidenceRef` Convert a LocationClaim into an EvidenceRef for inclusion in a proof. locationClaimToProofGraphNode | https://docs.totem.ing/api/totemsdk-location-proof/functions/locationClaimToProofGraphNode | ClaimToProofGraphNode # Function: locationClaimToProofGraphNode() > **locationClaimToProofGraphNode**(`claim`): `ProofGraphNode` Build a ProofGraphNode for a location claim. locationProofToGraphEdges | https://docs.totem.ing/api/totemsdk-location-proof/functions/locationProofToGraphEdges | ProofToGraphEdges # Function: locationProofToGraphEdges() > **locationProofToGraphEdges**(`signed`): `ProofGraphEdge`[] Build ProofGraphEdges for a signed location proof: about proof → subject references proof → each evidence ref supports each evidence ref → proof Edge IDs are deterministic (content-derived in @totemsdk/proofgraph). movementTrailToEvidenceRef | https://docs.totem.ing/api/totemsdk-location-proof/functions/movementTrailToEvidenceRef | TrailToEvidenceRef # Function: movementTrailToEvidenceRef() > **movementTrailToEvidenceRef**(`trail`): `EvidenceRef` Convert a MovementTrail into an EvidenceRef for inclusion in a proof. scoreLocationClaim | https://docs.totem.ing/api/totemsdk-location-proof/functions/scoreLocationClaim | LocationClaim # Function: scoreLocationClaim() > **scoreLocationClaim**(`claim`, `options? signLocationProof | https://docs.totem.ing/api/totemsdk-location-proof/functions/signLocationProof | LocationProof # Function: signLocationProof() > **signLocationProof**(`unsigned`, `seed`, `keyIndex`): `SignedProof` Sign an unsigned location proof with a WOTS key. signLocationProofWithLease | https://docs.totem.ing/api/totemsdk-location-proof/functions/signLocationProofWithLease | LocationProofWithLease # Function: signLocationProofWithLease() > **signLocationProofWithLease**(`unsigned`, `seed`, `leaseProvider`, `options? toHex | https://docs.totem.ing/api/totemsdk-location-proof/functions/toHex | toHex validateGeoPoint | https://docs.totem.ing/api/totemsdk-location-proof/functions/validateGeoPoint | GeoPoint # Function: validateGeoPoint() > **validateGeoPoint**(`point`): [`LocationValidationResult`](. validateLocationClaim | https://docs.totem.ing/api/totemsdk-location-proof/functions/validateLocationClaim | LocationClaim # Function: validateLocationClaim() > **validateLocationClaim**(`claim`): [`LocationValidationResult`](. validateMovementTrail | https://docs.totem.ing/api/totemsdk-location-proof/functions/validateMovementTrail | MovementTrail # Function: validateMovementTrail() > **validateMovementTrail**(`trail`): [`LocationValidationResult`](. verifyLocationProof | https://docs.totem.ing/api/totemsdk-location-proof/functions/verifyLocationProof | LocationProof # Function: verifyLocationProof() > **verifyLocationProof**(`signed`, `options? CreateLocationProofParams | https://docs.totem.ing/api/totemsdk-location-proof/interfaces/CreateLocationProofParams | CreateLocationProofParams # Interface: CreateLocationProofParams ## Properties ### claim > **claim**: [`LocationClaim`](LocationClaim. CreateMovementTrailParams | https://docs.totem.ing/api/totemsdk-location-proof/interfaces/CreateMovementTrailParams | CreateMovementTrailParams # Interface: CreateMovementTrailParams ## Properties ### deviceId > **deviceId**: `string` *** ### maxSpeedMps? GeoPoint | https://docs.totem.ing/api/totemsdk-location-proof/interfaces/GeoPoint | GeoPoint # Interface: GeoPoint ## Properties ### accuracyM? ImpossibleJumpResult | https://docs.totem.ing/api/totemsdk-location-proof/interfaces/ImpossibleJumpResult | ImpossibleJumpResult LocationChallenge | https://docs.totem.ing/api/totemsdk-location-proof/interfaces/LocationChallenge | LocationChallenge # Interface: LocationChallenge ## Properties ### expiresAt? LocationClaim | https://docs.totem.ing/api/totemsdk-location-proof/interfaces/LocationClaim | LocationClaim # Interface: LocationClaim ## Properties ### challenge? LocationConfidenceOptions | https://docs.totem.ing/api/totemsdk-location-proof/interfaces/LocationConfidenceOptions | LocationConfidenceOptions # Interface: LocationConfidenceOptions ## Properties ### accuracyThresholdM? LocationConfidenceResult | https://docs.totem.ing/api/totemsdk-location-proof/interfaces/LocationConfidenceResult | LocationConfidenceResult LocationCorroboration | https://docs.totem.ing/api/totemsdk-location-proof/interfaces/LocationCorroboration | LocationCorroboration # Interface: LocationCorroboration ## Properties ### beaconsSeen? LocationProofVerifyResult | https://docs.totem.ing/api/totemsdk-location-proof/interfaces/LocationProofVerifyResult | LocationProofVerifyResult # Interface: LocationProofVerifyResult ## Properties ### claimId? LocationSource | https://docs.totem.ing/api/totemsdk-location-proof/interfaces/LocationSource | LocationSource # Interface: LocationSource ## Properties ### fixType? LocationValidationResult | https://docs.totem.ing/api/totemsdk-location-proof/interfaces/LocationValidationResult | LocationValidationResult MotionOptions | https://docs.totem.ing/api/totemsdk-location-proof/interfaces/MotionOptions | MotionOptions # Interface: MotionOptions ## Properties ### maxSpeedMps? MotionSample | https://docs.totem.ing/api/totemsdk-location-proof/interfaces/MotionSample | MotionSample # Interface: MotionSample ## Properties ### accuracyM? MovementTrail | https://docs.totem.ing/api/totemsdk-location-proof/interfaces/MovementTrail | MovementTrail # Interface: MovementTrail ## Properties ### deviceId > **deviceId**: `string` *** ### endedAt > **endedAt**: `number` *** ### impossibleJumpDetected? DeviceClass | https://docs.totem.ing/api/totemsdk-location-proof/type-aliases/DeviceClass | DeviceClass LocationSourceType | https://docs.totem.ing/api/totemsdk-location-proof/type-aliases/LocationSourceType | LocationSourceType # Type Alias: LocationSourceType > **LocationSourceType** = `"gnss"` \| `"gps"` \| `"rtk"` \| `"cell"` \| `"wifi"` \| `"ble"` \| `"lorawan"` \| `"gateway"` \| `"network"` \| `"manual"` \| `"derived"` \| `"other"` @totemsdk/location-proof — Type definitions Pure schema — device-neutral signed location and movement claims. FrameParser | https://docs.totem.ing/api/totemsdk-lookup-client/classes/FrameParser | FrameParser # Class: FrameParser Accumulates raw incoming bytes and slices out complete length-prefixed frames. LookupClient | https://docs.totem.ing/api/totemsdk-lookup-client/classes/LookupClient | LookupClient # Class: LookupClient ## Constructors ### Constructor > **new LookupClient**(`_config`): `LookupClient` #### Parameters ##### \_config [`LookupClientConfig`](. LookupClientError | https://docs.totem.ing/api/totemsdk-lookup-client/classes/LookupClientError | LookupClientError # Class: LookupClientError ## Extends - `Error` ## Constructors ### Constructor > **new LookupClientError**(`code`, `message`): `LookupClientError` #### Parameters ##### code `string` ##### message `string` #### Returns `LookupClientError` #### Overrides `Error. LookupClientProvider | https://docs.totem.ing/api/totemsdk-lookup-client/classes/LookupClientProvider | LookupClientProvider # Class: LookupClientProvider ## Implements - `ChainStateProvider` ## Constructors ### Constructor > **new LookupClientProvider**(`_client`): `LookupClientProvider` #### Parameters ##### \_client [`LookupClient`](LookupClient. connectLookupNode | https://docs.totem.ing/api/totemsdk-lookup-client/functions/connectLookupNode | LookupNode # Function: connectLookupNode() > **connectLookupNode**(`config`): `Promise`\<[`LookupClient`](. createInMemoryPair | https://docs.totem.ing/api/totemsdk-lookup-client/functions/createInMemoryPair | InMemoryPair # Function: createInMemoryPair() > **createInMemoryPair**(): \[`InMemoryTransport`, `InMemoryTransport`\] Create a linked pair of in-memory transports. CoinUpdateEvent | https://docs.totem.ing/api/totemsdk-lookup-client/interfaces/CoinUpdateEvent | CoinUpdateEvent ITransport | https://docs.totem.ing/api/totemsdk-lookup-client/interfaces/ITransport | ITransport # Interface: ITransport Canonical bidirectional byte-stream transport contract. LookupClientConfig | https://docs.totem.ing/api/totemsdk-lookup-client/interfaces/LookupClientConfig | LookupClientConfig # Interface: LookupClientConfig ## Properties ### hyperswarmTopic? CoinUpdateCallback | https://docs.totem.ing/api/totemsdk-lookup-client/type-aliases/CoinUpdateCallback | CoinUpdateCallback # Type Alias: CoinUpdateCallback > **CoinUpdateCallback** = (`event`) => `void` ## Parameters ### event [`CoinUpdateEvent`](. Unsubscribe | https://docs.totem.ing/api/totemsdk-lookup-client/type-aliases/Unsubscribe | Unsubscribe AgentRegistry | https://docs.totem.ing/api/totemsdk-lookup-node/classes/AgentRegistry | AgentRegistry # Class: AgentRegistry ## Constructors ### Constructor > **new AgentRegistry**(`store`, `requireSignature? AppRegistry | https://docs.totem.ing/api/totemsdk-lookup-node/classes/AppRegistry | AppRegistry # Class: AppRegistry ## Constructors ### Constructor > **new AppRegistry**(`store`, `requireSignature? HyperswarmManager | https://docs.totem.ing/api/totemsdk-lookup-node/classes/HyperswarmManager | HyperswarmManager # Class: HyperswarmManager ## Constructors ### Constructor > **new HyperswarmManager**(`node`, `config`): `HyperswarmManager` #### Parameters ##### node [`LookupNode`](LookupNode. HyperswarmTransport | https://docs.totem.ing/api/totemsdk-lookup-node/classes/HyperswarmTransport | HyperswarmTransport # Class: HyperswarmTransport Adapts a Node. LeaseCoordinator | https://docs.totem.ing/api/totemsdk-lookup-node/classes/LeaseCoordinator | LeaseCoordinator # Class: LeaseCoordinator ## Constructors ### Constructor > **new LeaseCoordinator**(`nodeId`, `config`): `LeaseCoordinator` #### Parameters ##### nodeId `string` ##### config [`LeaseConfig`](. LookupNode | https://docs.totem.ing/api/totemsdk-lookup-node/classes/LookupNode | LookupNode # Class: LookupNode @totemsdk/lookup-node — public API ## Implements - [`NodeDispatcher`](. SqliteStorageAdapter | https://docs.totem.ing/api/totemsdk-lookup-node/classes/SqliteStorageAdapter | SqliteStorageAdapter # Class: SqliteStorageAdapter Wraps SqliteStore's durable KV store to implement the `StorageAdapter` interface expected by `LocalLeaseProvider` and other @totemsdk/core consumers. SqliteStore | https://docs.totem.ing/api/totemsdk-lookup-node/classes/SqliteStore | SqliteStore # Class: SqliteStore ## Constructors ### Constructor > **new SqliteStore**(`dbPath`): `SqliteStore` #### Parameters ##### dbPath `string` #### Returns `SqliteStore` ## Methods ### agentDeleteExpired() > **agentDeleteExpired**(`now`): `void` #### Parameters ##### now `number` #### Returns `void` *** ### agentQuery() > **agentQuery**(`now`): [`AgentRow`](. TrustIndex | https://docs.totem.ing/api/totemsdk-lookup-node/classes/TrustIndex | TrustIndex # Class: TrustIndex ## Constructors ### Constructor > **new TrustIndex**(`store`, `config? TxPoWRelay | https://docs.totem.ing/api/totemsdk-lookup-node/classes/TxPoWRelay | TxPoWRelay # Class: TxPoWRelay ## Constructors ### Constructor > **new TxPoWRelay**(`provider`, `config`, `store? WatchlistManager | https://docs.totem.ing/api/totemsdk-lookup-node/classes/WatchlistManager | WatchlistManager # Class: WatchlistManager ## Constructors ### Constructor > **new WatchlistManager**(`_config`): `WatchlistManager` #### Parameters ##### \_config `WatchlistManagerConfig` #### Returns `WatchlistManager` ## Methods ### forcePoll() > **forcePoll**(): `Promise`\<`void`\> Exposed for testing: trigger a poll manually. createLookupNode | https://docs.totem.ing/api/totemsdk-lookup-node/functions/createLookupNode | LookupNode # Function: createLookupNode() > **createLookupNode**(`config`): [`LookupNode`](. AgentRegistryConfig | https://docs.totem.ing/api/totemsdk-lookup-node/interfaces/AgentRegistryConfig | AgentRegistryConfig # Interface: AgentRegistryConfig ## Properties ### enabled > **enabled**: `true` *** ### expiryCheckIntervalMs? AgentRow | https://docs.totem.ing/api/totemsdk-lookup-node/interfaces/AgentRow | AgentRow # Interface: AgentRow ## Properties ### capabilityId > **capabilityId**: `string` *** ### expiresAt > **expiresAt**: `number` *** ### latencyMs? AppRegistryConfig | https://docs.totem.ing/api/totemsdk-lookup-node/interfaces/AppRegistryConfig | AppRegistryConfig # Interface: AppRegistryConfig ## Properties ### enabled > **enabled**: `true` *** ### requireSignature? AppRow | https://docs.totem.ing/api/totemsdk-lookup-node/interfaces/AppRow | AppRow # Interface: AppRow ## Properties ### appId > **appId**: `string` *** ### authorAddress? HyperswarmManagerConfig | https://docs.totem.ing/api/totemsdk-lookup-node/interfaces/HyperswarmManagerConfig | HyperswarmManagerConfig # Interface: HyperswarmManagerConfig ## Properties ### announce? ITransport | https://docs.totem.ing/api/totemsdk-lookup-node/interfaces/ITransport | ITransport LeaseConfig | https://docs.totem.ing/api/totemsdk-lookup-node/interfaces/LeaseConfig | LeaseConfig # Interface: LeaseConfig ## Properties ### enabled > **enabled**: `true` *** ### storage? LookupNodeConfig | https://docs.totem.ing/api/totemsdk-lookup-node/interfaces/LookupNodeConfig | LookupNodeConfig # Interface: LookupNodeConfig ## Properties ### agentRegistry? MegaMMRConfig | https://docs.totem.ing/api/totemsdk-lookup-node/interfaces/MegaMMRConfig | MegaMMRConfig # Interface: MegaMMRConfig MegaMMR / indexer mode configuration. NodeDispatcher | https://docs.totem.ing/api/totemsdk-lookup-node/interfaces/NodeDispatcher | NodeDispatcher # Interface: NodeDispatcher ## Properties ### agentRegistry? RelayConfig | https://docs.totem.ing/api/totemsdk-lookup-node/interfaces/RelayConfig | RelayConfig # Interface: RelayConfig ## Properties ### enabled > **enabled**: `true` *** ### maxDedupSize? SqliteConfig | https://docs.totem.ing/api/totemsdk-lookup-node/interfaces/SqliteConfig | SqliteConfig # Interface: SqliteConfig SQLite storage configuration. TrustIndexConfig | https://docs.totem.ing/api/totemsdk-lookup-node/interfaces/TrustIndexConfig | TrustIndexConfig # Interface: TrustIndexConfig ## Properties ### enabled > **enabled**: `true` *** ### requireVerifiedSignature? TrustRow | https://docs.totem.ing/api/totemsdk-lookup-node/interfaces/TrustRow | TrustRow # Interface: TrustRow ## Properties ### comment? FramingError | https://docs.totem.ing/api/totemsdk-lookup-protocol/classes/FramingError | FramingError # Class: FramingError ## Extends - `Error` ## Constructors ### Constructor > **new FramingError**(`message`): `FramingError` #### Parameters ##### message `string` #### Returns `FramingError` #### Overrides `Error. checkVersion | https://docs.totem.ing/api/totemsdk-lookup-protocol/functions/checkVersion | Version # Function: checkVersion() > **checkVersion**(`incomingVersion`): [`VersionCheckResult`](. decodeMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/functions/decodeMessage | Message # Function: decodeMessage() > **decodeMessage**(`buf`): [`LookupMessage`](. encodeMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/functions/encodeMessage | Message # Function: encodeMessage() > **encodeMessage**(`msg`): `Uint8Array` Encode a LookupMessage to a framed Uint8Array. messageDigest | https://docs.totem.ing/api/totemsdk-lookup-protocol/functions/messageDigest | Digest # Function: messageDigest() > **messageDigest**(`msg`): `Uint8Array` Compute a canonical digest over the message for signing/verification. peekFrameLength | https://docs.totem.ing/api/totemsdk-lookup-protocol/functions/peekFrameLength | FrameLength # Function: peekFrameLength() > **peekFrameLength**(`buf`): `number` \| `null` Read the declared body length from the first 4 bytes of a stream buffer. signMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/functions/signMessage | Message # Function: signMessage() > **signMessage**\<`T`\>(`msg`, `sign`): `Promise`\<`T` & `object`\> Attach a signature to a message. verifyMessageAuth | https://docs.totem.ing/api/totemsdk-lookup-protocol/functions/verifyMessageAuth | MessageAuth # Function: verifyMessageAuth() > **verifyMessageAuth**(`msg`, `publicKey`, `verify`): `Promise`\<`boolean`\> Verify the `sig` field of a message against a known public key. AgentAnnounceMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/AgentAnnounceMessage | AgentAnnounceMessage # Interface: AgentAnnounceMessage ## Extends - `BaseMessage` ## Properties ### id? AgentQueryMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/AgentQueryMessage | AgentQueryMessage # Interface: AgentQueryMessage ## Extends - `BaseMessage` ## Properties ### id? AgentResultMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/AgentResultMessage | AgentResultMessage # Interface: AgentResultMessage ## Extends - `BaseMessage` ## Properties ### id? AppAnnounceMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/AppAnnounceMessage | AppAnnounceMessage # Interface: AppAnnounceMessage ## Extends - `BaseMessage` ## Properties ### id? AppQueryMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/AppQueryMessage | AppQueryMessage # Interface: AppQueryMessage ## Extends - `BaseMessage` ## Properties ### id? AppResultMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/AppResultMessage | AppResultMessage # Interface: AppResultMessage ## Extends - `BaseMessage` ## Properties ### id? AuthChallengeMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/AuthChallengeMessage | AuthChallengeMessage # Interface: AuthChallengeMessage ## Extends - `BaseMessage` ## Properties ### id? AuthResponseMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/AuthResponseMessage | AuthResponseMessage # Interface: AuthResponseMessage ## Extends - `BaseMessage` ## Properties ### id? BroadcastTxPoWMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/BroadcastTxPoWMessage | BroadcastTxPoWMessage # Interface: BroadcastTxPoWMessage ## Extends - `BaseMessage` ## Properties ### id? CoinUpdateMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/CoinUpdateMessage | CoinUpdateMessage # Interface: CoinUpdateMessage ## Extends - `BaseMessage` ## Properties ### id? ErrorMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/ErrorMessage | ErrorMessage # Interface: ErrorMessage ## Extends - `BaseMessage` ## Properties ### id? GetCoinMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/GetCoinMessage | GetCoinMessage # Interface: GetCoinMessage ## Extends - `BaseMessage` ## Properties ### id? GetCoinsMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/GetCoinsMessage | GetCoinsMessage # Interface: GetCoinsMessage ## Extends - `BaseMessage` ## Properties ### id? GetProofMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/GetProofMessage | GetProofMessage # Interface: GetProofMessage ## Extends - `BaseMessage` ## Properties ### id? GetTipMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/GetTipMessage | GetTipMessage # Interface: GetTipMessage ## Extends - `BaseMessage` ## Properties ### id? GetTokenMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/GetTokenMessage | GetTokenMessage # Interface: GetTokenMessage ## Extends - `BaseMessage` ## Properties ### id? HelloMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/HelloMessage | HelloMessage # Interface: HelloMessage ## Extends - `BaseMessage` ## Properties ### id? LeaseBurnMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/LeaseBurnMessage | LeaseBurnMessage # Interface: LeaseBurnMessage ## Extends - `BaseMessage` ## Properties ### id? LeaseCommitMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/LeaseCommitMessage | LeaseCommitMessage # Interface: LeaseCommitMessage ## Extends - `BaseMessage` ## Properties ### id? LeaseReserveMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/LeaseReserveMessage | LeaseReserveMessage # Interface: LeaseReserveMessage ## Extends - `BaseMessage` ## Properties ### id? LeaseWatermarkMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/LeaseWatermarkMessage | LeaseWatermarkMessage # Interface: LeaseWatermarkMessage ## Extends - `BaseMessage` ## Properties ### id? PingMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/PingMessage | PingMessage # Interface: PingMessage ## Extends - `BaseMessage` ## Properties ### id? PolicyAnnounceMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/PolicyAnnounceMessage | PolicyAnnounceMessage # Interface: PolicyAnnounceMessage ## Extends - `BaseMessage` ## Properties ### id? PolicyQueryMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/PolicyQueryMessage | PolicyQueryMessage # Interface: PolicyQueryMessage ## Extends - `BaseMessage` ## Properties ### id? PolicyResultMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/PolicyResultMessage | PolicyResultMessage # Interface: PolicyResultMessage ## Extends - `BaseMessage` ## Properties ### id? PolicySignCancelMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/PolicySignCancelMessage | PolicySignCancelMessage # Interface: PolicySignCancelMessage ## Extends - `BaseMessage` ## Properties ### id? PolicySignRequestMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/PolicySignRequestMessage | PolicySignRequestMessage # Interface: PolicySignRequestMessage ## Extends - `BaseMessage` ## Properties ### id? PolicySignResponseMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/PolicySignResponseMessage | PolicySignResponseMessage # Interface: PolicySignResponseMessage ## Extends - `BaseMessage` ## Properties ### id? PolicyUpdateMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/PolicyUpdateMessage | PolicyUpdateMessage # Interface: PolicyUpdateMessage ## Extends - `BaseMessage` ## Properties ### id? PolicyWatchMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/PolicyWatchMessage | PolicyWatchMessage # Interface: PolicyWatchMessage ## Extends - `BaseMessage` ## Properties ### id? PongMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/PongMessage | PongMessage # Interface: PongMessage ## Extends - `BaseMessage` ## Properties ### id? ProofResponseMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/ProofResponseMessage | ProofResponseMessage # Interface: ProofResponseMessage ## Extends - `BaseMessage` ## Properties ### id? SignFn | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/SignFn | SignFn TrustQueryMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/TrustQueryMessage | TrustQueryMessage # Interface: TrustQueryMessage ## Extends - `BaseMessage` ## Properties ### id? TrustRecordMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/TrustRecordMessage | TrustRecordMessage # Interface: TrustRecordMessage ## Extends - `BaseMessage` ## Properties ### id? VerifyFn | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/VerifyFn | VerifyFn VersionCheckResult | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/VersionCheckResult | VersionCheckResult # Interface: VersionCheckResult ## Properties ### compatible > **compatible**: `boolean` *** ### mismatch? VersionMismatchMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/VersionMismatchMessage | VersionMismatchMessage # Interface: VersionMismatchMessage ## Extends - `BaseMessage` ## Properties ### id? WatchRegisterMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/WatchRegisterMessage | WatchRegisterMessage # Interface: WatchRegisterMessage ## Extends - `BaseMessage` ## Properties ### id? WatchRemoveMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/interfaces/WatchRemoveMessage | WatchRemoveMessage # Interface: WatchRemoveMessage ## Extends - `BaseMessage` ## Properties ### id? LookupMessage | https://docs.totem.ing/api/totemsdk-lookup-protocol/type-aliases/LookupMessage | LookupMessage # Type Alias: LookupMessage > **LookupMessage** = [`HelloMessage`](. MessageType | https://docs.totem.ing/api/totemsdk-lookup-protocol/type-aliases/MessageType | MessageType MAX_FRAME_BODY_LENGTH | https://docs.totem.ing/api/totemsdk-lookup-protocol/variables/MAX_FRAME_BODY_LENGTH | MAX_FRAME_BODY_LENGTH PROTOCOL_VERSION | https://docs.totem.ing/api/totemsdk-lookup-protocol/variables/PROTOCOL_VERSION | PROTOCOL_VERSION computeManifestId | https://docs.totem.ing/api/totemsdk-manifest/functions/computeManifestId | ManifestId # Function: computeManifestId() > **computeManifestId**(`manifest`): `string` ## Parameters ### manifest [`Manifest`](. decodeManifest | https://docs.totem.ing/api/totemsdk-manifest/functions/decodeManifest | Manifest # Function: decodeManifest() > **decodeManifest**(`bytes`): [`SignedManifest`](. encodeManifest | https://docs.totem.ing/api/totemsdk-manifest/functions/encodeManifest | Manifest # Function: encodeManifest() > **encodeManifest**(`signed`): `Uint8Array` ## Parameters ### signed [`SignedManifest`](. isAppManifest | https://docs.totem.ing/api/totemsdk-manifest/functions/isAppManifest | isAppManifest isCapabilityManifest | https://docs.totem.ing/api/totemsdk-manifest/functions/isCapabilityManifest | isCapabilityManifest isDAppManifest | https://docs.totem.ing/api/totemsdk-manifest/functions/isDAppManifest | isDAppManifest isEdgeServiceManifest | https://docs.totem.ing/api/totemsdk-manifest/functions/isEdgeServiceManifest | isEdgeServiceManifest signManifest | https://docs.totem.ing/api/totemsdk-manifest/functions/signManifest | Manifest # Function: signManifest() > **signManifest**\<`T`\>(`manifest`, `seed`, `keyIndex`): `Promise`\<[`SignedManifest`](. verifyManifest | https://docs.totem.ing/api/totemsdk-manifest/functions/verifyManifest | Manifest # Function: verifyManifest() > **verifyManifest**(`signed`): [`VerifyResult`](. AppManifest | https://docs.totem.ing/api/totemsdk-manifest/interfaces/AppManifest | AppManifest # Interface: AppManifest ## Properties ### appId > **appId**: `string` *** ### authorAddress > **authorAddress**: `string` *** ### category > **category**: `string`[] *** ### description > **description**: `string` *** ### iconCid? CapabilityManifest | https://docs.totem.ing/api/totemsdk-manifest/interfaces/CapabilityManifest | CapabilityManifest # Interface: CapabilityManifest ## Properties ### agentAddress > **agentAddress**: `string` *** ### agentIdentityKey > **agentIdentityKey**: `string` *** ### capabilityId > **capabilityId**: `string` *** ### capabilityName > **capabilityName**: `string` *** ### description > **description**: `string` *** ### expiresAt > **expiresAt**: `number` *** ### inputSchema > **inputSchema**: `object` *** ### maxCallsPerMinute? DAppAbiEntry | https://docs.totem.ing/api/totemsdk-manifest/interfaces/DAppAbiEntry | DAppAbiEntry # Interface: DAppAbiEntry ## Properties ### description > **description**: `string` *** ### name > **name**: `string` *** ### params > **params**: `object`[] #### description? DAppManifest | https://docs.totem.ing/api/totemsdk-manifest/interfaces/DAppManifest | DAppManifest # Interface: DAppManifest ## Properties ### abi > **abi**: [`DAppAbiEntry`](DAppAbiEntry. EdgeServiceManifest | https://docs.totem.ing/api/totemsdk-manifest/interfaces/EdgeServiceManifest | EdgeServiceManifest # Interface: EdgeServiceManifest ## Properties ### capabilities > **capabilities**: `string`[] *** ### description > **description**: `string` *** ### endpoints? SignedManifest | https://docs.totem.ing/api/totemsdk-manifest/interfaces/SignedManifest | SignedManifest # Interface: SignedManifest\ Wraps any manifest with a WOTS signature. VerifyResult | https://docs.totem.ing/api/totemsdk-manifest/interfaces/VerifyResult | VerifyResult # Interface: VerifyResult ## Properties ### reason? AppPermission | https://docs.totem.ing/api/totemsdk-manifest/type-aliases/AppPermission | AppPermission # Type Alias: AppPermission > **AppPermission** = `"wallet:read-balance"` \| `"wallet:request-payment"` \| `"omnia:open-channel"` \| `"omnia:update-channel"` \| `"lookup:watch-address"` \| `"kissvm:evaluate"` \| `"qvac:call-agent"` @totemsdk/manifest — Manifest type definitions Four manifest categories for the MVP: AppManifest — human-facing Pear app CapabilityManifest — ephemeral AI/agent service DAppManifest — KISSVM contract / covenant EdgeServiceManifest — any persistent Totem Edge service No network, no blockchain, no Hyperswarm — pure schema. EdgeServiceType | https://docs.totem.ing/api/totemsdk-manifest/type-aliases/EdgeServiceType | EdgeServiceType Manifest | https://docs.totem.ing/api/totemsdk-manifest/type-aliases/Manifest | Manifest # Type Alias: Manifest > **Manifest** = [`AppManifest`](. MANIFEST_VERSION | https://docs.totem.ing/api/totemsdk-manifest/variables/MANIFEST_VERSION | MANIFEST_VERSION SERVER_INFO | https://docs.totem.ing/api/totemsdk-mcp-server/variables/SERVER_INFO | SERVER\_INFO # Variable: SERVER\_INFO > `const` **SERVER\_INFO**: `object` ## Type Declaration ### capabilities > `readonly` **capabilities**: `object` #### capabilities. sdkIndex | https://docs.totem.ing/api/totemsdk-mcp-server/variables/sdkIndex | sdkIndex MinimaRpcError | https://docs.totem.ing/api/totemsdk-minima-rpc/classes/MinimaRpcError | MinimaRpcError # Class: MinimaRpcError ## Extends - `Error` ## Constructors ### Constructor > **new MinimaRpcError**(`message`, `command`, `minimaError? buildCommandString | https://docs.totem.ing/api/totemsdk-minima-rpc/functions/buildCommandString | CommandString # Function: buildCommandString() > **buildCommandString**(`method`, `params? createMinimaRpcClient | https://docs.totem.ing/api/totemsdk-minima-rpc/functions/createMinimaRpcClient | MinimaRpcClient # Function: createMinimaRpcClient() > **createMinimaRpcClient**(`config`): [`MinimaRpcClient`](. postCommand | https://docs.totem.ing/api/totemsdk-minima-rpc/functions/postCommand | Command # Function: postCommand() > **postCommand**(`config`, `commandString`): `Promise`\<`unknown`\> Send a single POST to the Minima RPC endpoint and return the parsed envelope. AddressInfo | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/AddressInfo | AddressInfo Balance | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/Balance | Balance # Interface: Balance ## Properties ### coins > **coins**: `number` *** ### confirmed > **confirmed**: `string` *** ### details? BalanceQuery | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/BalanceQuery | BalanceQuery # Interface: BalanceQuery ## Properties ### address? BurnInfo | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/BurnInfo | BurnInfo ChainTip | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/ChainTip | ChainTip # Interface: ChainTip ## Properties ### block > **block**: `number` *** ### hash > **hash**: `string` *** ### time > **time**: `string` *** ### txpow? Coin | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/Coin | Coin CoinCheckResult | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/CoinCheckResult | CoinCheckResult # Interface: CoinCheckResult ## Properties ### coin? CoinExportResult | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/CoinExportResult | CoinExportResult # Interface: CoinExportResult ## Properties ### coinid > **coinid**: `string` *** ### coinproof? CoinsQuery | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/CoinsQuery | CoinsQuery # Interface: CoinsQuery ## Properties ### address? HistoryEntry | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/HistoryEntry | HistoryEntry # Interface: HistoryEntry ## Properties ### burn > **burn**: `string` *** ### hasbody > **hasbody**: `boolean` *** ### header > **header**: `unknown` *** ### size > **size**: `number` *** ### superblock > **superblock**: `number` *** ### txbody? HistoryQuery | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/HistoryQuery | HistoryQuery # Interface: HistoryQuery ## Properties ### action? MMRProof | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/MMRProof | MMRProof # Interface: MMRProof ## Properties ### coinid > **coinid**: `string` *** ### data > **data**: `object` #### coin > **coin**: `unknown` #### proof > **proof**: `object` ##### proof. MegaMMRInfo | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/MegaMMRInfo | MegaMMRInfo MinimaEnvelope | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/MinimaEnvelope | MinimaEnvelope # Interface: MinimaEnvelope ## Properties ### command > **command**: `string` *** ### error? MinimaRpcClient | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/MinimaRpcClient | MinimaRpcClient # Interface: MinimaRpcClient ## Methods ### balance() > **balance**(`params? MinimaRpcConfig | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/MinimaRpcConfig | MinimaRpcConfig # Interface: MinimaRpcConfig Totem/Minima RPC types Minima node HTTP RPC response shapes and client config. NodeStatus | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/NodeStatus | NodeStatus # Interface: NodeStatus ## Properties ### chain > **chain**: `object` #### block > **block**: `number` #### branches > **branches**: `number` #### difficulty > **difficulty**: `string` #### hash > **hash**: `string` #### length > **length**: `number` #### size > **size**: `number` #### speed > **speed**: `string` #### time > **time**: `string` #### weight > **weight**: `string` *** ### coins > **coins**: `number` *** ### data > **data**: `string` *** ### length > **length**: `number` *** ### locked > **locked**: `boolean` *** ### memory > **memory**: `object` #### disk > **disk**: `string` #### files > **files**: `object` ##### files. SendParams | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/SendParams | SendParams # Interface: SendParams ## Properties ### address > **address**: `string` *** ### amount > **amount**: `string` *** ### burn? TokenInfo | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/TokenInfo | TokenInfo # Interface: TokenInfo ## Properties ### coins > **coins**: `number` *** ### confirmed > **confirmed**: `string` *** ### description? TxnCheckResult | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/TxnCheckResult | TxnCheckResult # Interface: TxnCheckResult ## Properties ### signatures? TxnInputParams | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/TxnInputParams | TxnInputParams # Interface: TxnInputParams ## Properties ### address? TxnListResult | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/TxnListResult | TxnListResult # Interface: TxnListResult ## Properties ### transaction? TxnMineParams | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/TxnMineParams | TxnMineParams # Interface: TxnMineParams ## Properties ### data? TxnOutputParams | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/TxnOutputParams | TxnOutputParams # Interface: TxnOutputParams ## Properties ### address > **address**: `string` *** ### amount > **amount**: `string` *** ### id > **id**: `string` *** ### storestate? TxnPostParams | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/TxnPostParams | TxnPostParams # Interface: TxnPostParams ## Properties ### auto? TxnPostResult | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/TxnPostResult | TxnPostResult # Interface: TxnPostResult ## Properties ### hasproof? TxnScriptParams | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/TxnScriptParams | TxnScriptParams TxnSignParams | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/TxnSignParams | TxnSignParams # Interface: TxnSignParams ## Properties ### id > **id**: `string` *** ### publickey? TxnStateParams | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/TxnStateParams | TxnStateParams WebhookEntry | https://docs.totem.ing/api/totemsdk-minima-rpc/interfaces/WebhookEntry | WebhookEntry # Interface: WebhookEntry ## Properties ### filter? BalanceConservationError | https://docs.totem.ing/api/totemsdk-omnia/classes/BalanceConservationError | BalanceConservationError # Class: BalanceConservationError ## Extends - `Error` ## Constructors ### Constructor > **new BalanceConservationError**(`expected`, `got`): `BalanceConservationError` #### Parameters ##### expected `bigint` ##### got `bigint` #### Returns `BalanceConservationError` #### Overrides `Error. ChannelCapacityError | https://docs.totem.ing/api/totemsdk-omnia/classes/ChannelCapacityError | ChannelCapacityError # Class: ChannelCapacityError ## Extends - `Error` ## Constructors ### Constructor > **new ChannelCapacityError**(`used`, `capacity`): `ChannelCapacityError` #### Parameters ##### used `number` ##### capacity `number` #### Returns `ChannelCapacityError` #### Overrides `Error. ChannelStatusError | https://docs.totem.ing/api/totemsdk-omnia/classes/ChannelStatusError | ChannelStatusError # Class: ChannelStatusError ## Extends - `Error` ## Constructors ### Constructor > **new ChannelStatusError**(`expected`, `actual`): `ChannelStatusError` #### Parameters ##### expected `string` \| `string`[] ##### actual `string` #### Returns `ChannelStatusError` #### Overrides `Error. DoubleSignError | https://docs.totem.ing/api/totemsdk-omnia/classes/DoubleSignError | DoubleSignError # Class: DoubleSignError ## Extends - `Error` ## Constructors ### Constructor > **new DoubleSignError**(`sequence`): `DoubleSignError` #### Parameters ##### sequence `number` #### Returns `DoubleSignError` #### Overrides `Error. FramingError | https://docs.totem.ing/api/totemsdk-omnia/classes/FramingError | FramingError # Class: FramingError ## Extends - `Error` ## Constructors ### Constructor > **new FramingError**(`message`): `FramingError` #### Parameters ##### message `string` #### Returns `FramingError` #### Overrides `Error. HostedRelaySwarmImpl | https://docs.totem.ing/api/totemsdk-omnia/classes/HostedRelaySwarmImpl | HostedRelaySwarmImpl # Class: HostedRelaySwarmImpl ## Implements - [`OmniaSwarm`](. OmniaFrameParser | https://docs.totem.ing/api/totemsdk-omnia/classes/OmniaFrameParser | OmniaFrameParser # Class: OmniaFrameParser Accumulates raw incoming bytes and slices out complete length-prefixed OmniaMessage frames. OmniaPeerImpl | https://docs.totem.ing/api/totemsdk-omnia/classes/OmniaPeerImpl | OmniaPeerImpl # Class: OmniaPeerImpl ## Implements - [`OmniaPeer`](. OmniaStream | https://docs.totem.ing/api/totemsdk-omnia/classes/OmniaStream | OmniaStream # Class: OmniaStream ## Constructors ### Constructor > **new OmniaStream**(`_stream`): `OmniaStream` #### Parameters ##### \_stream `IStreamTransport` #### Returns `OmniaStream` ## Methods ### destroy() > **destroy**(): `void` #### Returns `void` *** ### onClose() > **onClose**(`cb`): [`Unsubscribe`](. OmniaSwarmImpl | https://docs.totem.ing/api/totemsdk-omnia/classes/OmniaSwarmImpl | OmniaSwarmImpl # Class: OmniaSwarmImpl ## Implements - [`OmniaSwarm`](. SequenceError | https://docs.totem.ing/api/totemsdk-omnia/classes/SequenceError | SequenceError # Class: SequenceError ## Extends - `Error` ## Constructors ### Constructor > **new SequenceError**(`current`, `proposed`): `SequenceError` #### Parameters ##### current `number` ##### proposed `number` #### Returns `SequenceError` #### Overrides `Error. SigningIndexMonotonicityError | https://docs.totem.ing/api/totemsdk-omnia/classes/SigningIndexMonotonicityError | SigningIndexMonotonicityError # Class: SigningIndexMonotonicityError ## Extends - `Error` ## Constructors ### Constructor > **new SigningIndexMonotonicityError**(`partyId`, `flatIndex`, `previousFlatIndex`): `SigningIndexMonotonicityError` #### Parameters ##### partyId `string` ##### flatIndex `number` ##### previousFlatIndex `number` #### Returns `SigningIndexMonotonicityError` #### Overrides `Error. acceptChannel | https://docs.totem.ing/api/totemsdk-omnia/functions/acceptChannel | Channel # Function: acceptChannel() > **acceptChannel**(`proposal`, `provider? activateChannel | https://docs.totem.ing/api/totemsdk-omnia/functions/activateChannel | Channel # Function: activateChannel() > **activateChannel**(`channel`): [`OmniaChannel`](. addClosePackageSignature | https://docs.totem.ing/api/totemsdk-omnia/functions/addClosePackageSignature | ClosePackageSignature # Function: addClosePackageSignature() > **addClosePackageSignature**(`closePackage`, `partyId`, `updateSignature`, `updateIndices`, `settlementSignature`, `settlementIndices`): [`SignedClosePackage`](. addHTLC | https://docs.totem.ing/api/totemsdk-omnia/functions/addHTLC | HTLC # Function: addHTLC() > **addHTLC**(`channel`, `params`, `leaseProvider`, `signer? applyProgramTransition | https://docs.totem.ing/api/totemsdk-omnia/functions/applyProgramTransition | ProgramTransition # Function: applyProgramTransition() > **applyProgramTransition**(`channel`, `params`, `leaseProvider`, `signer? assertBroadcastProofs | https://docs.totem.ing/api/totemsdk-omnia/functions/assertBroadcastProofs | BroadcastProofs # Function: assertBroadcastProofs() > **assertBroadcastProofs**(`proofs? assertProgramStatePort | https://docs.totem.ing/api/totemsdk-omnia/functions/assertProgramStatePort | assertProgramStatePort assessCapacity | https://docs.totem.ing/api/totemsdk-omnia/functions/assessCapacity | Capacity # Function: assessCapacity() > **assessCapacity**(`used`): `object` ## Parameters ### used `number` ## Returns `object` ### nearExhaustion > **nearExhaustion**: `boolean` ### warning? attachCounterpartySignature | https://docs.totem.ing/api/totemsdk-omnia/functions/attachCounterpartySignature | CounterpartySignature # Function: attachCounterpartySignature() > **attachCounterpartySignature**(`channel`, `partialState`, `counterPartyId`, `counterSignature`, `counterIndices`, `counterClosePackage? bindPeerIntegration | https://docs.totem.ing/api/totemsdk-omnia/functions/bindPeerIntegration | PeerIntegration # Function: bindPeerIntegration() > **bindPeerIntegration**(`peer`, `store`, `config? broadcastTopic | https://docs.totem.ing/api/totemsdk-omnia/functions/broadcastTopic | Topic # Function: broadcastTopic() > **broadcastTopic**(`topic`): `Buffer` Derive a 32-byte Hyperswarm topic Buffer from an arbitrary topic string. buildAndHashEltooScript | https://docs.totem.ing/api/totemsdk-omnia/functions/buildAndHashEltooScript | AndHashEltooScript # Function: buildAndHashEltooScript() > **buildAndHashEltooScript**(`parties`): `object` ## Parameters ### parties [`ChannelParticipant`](. buildDisputePayload | https://docs.totem.ing/api/totemsdk-omnia/functions/buildDisputePayload | DisputePayload # Function: buildDisputePayload() > **buildDisputePayload**(`channel`, `evidence? buildEltooScript | https://docs.totem.ing/api/totemsdk-omnia/functions/buildEltooScript | EltooScript # Function: buildEltooScript() > **buildEltooScript**(`parties`): `string` ## Parameters ### parties [`ChannelParticipant`](. buildFundingTx | https://docs.totem.ing/api/totemsdk-omnia/functions/buildFundingTx | FundingTx # Function: buildFundingTx() > **buildFundingTx**(`fundingScript`, `fundingScriptAddress`, `totalValue`, `tokenId`, `tokenScale`, `inputCoinIds`, `inputAmounts`, `inputAddresses`): [`OmniaTxDraft`](. buildHtlcFulfillmentReceipt | https://docs.totem.ing/api/totemsdk-omnia/functions/buildHtlcFulfillmentReceipt | HtlcFulfillmentReceipt # Function: buildHtlcFulfillmentReceipt() > **buildHtlcFulfillmentReceipt**(`channel`, `htlc`, `sequence`, `fulfilledAt? buildProgramTransitionStateUpdateMessage | https://docs.totem.ing/api/totemsdk-omnia/functions/buildProgramTransitionStateUpdateMessage | ProgramTransitionStateUpdateMessage # Function: buildProgramTransitionStateUpdateMessage() > **buildProgramTransitionStateUpdateMessage**(`channel`, `signedState`, `nonce`): [`OmniaMessage`](. buildProgramUpdateTx | https://docs.totem.ing/api/totemsdk-omnia/functions/buildProgramUpdateTx | ProgramUpdateTx # Function: buildProgramUpdateTx() > **buildProgramUpdateTx**(`channel`, `sequence`, `balances`, `pendingHTLCs`, `transition? buildRegistryRootTransition | https://docs.totem.ing/api/totemsdk-omnia/functions/buildRegistryRootTransition | RegistryRootTransition # Function: buildRegistryRootTransition() > **buildRegistryRootTransition**(`input`): [`ProgramTransition`](. buildSettlementTx | https://docs.totem.ing/api/totemsdk-omnia/functions/buildSettlementTx | SettlementTx # Function: buildSettlementTx() > **buildSettlementTx**(`channel`, `state`, `partyAddresses`, `opts? buildTxPoWPayload | https://docs.totem.ing/api/totemsdk-omnia/functions/buildTxPoWPayload | TxPoWPayload # Function: buildTxPoWPayload() > **buildTxPoWPayload**(`txBytes`, `witnessBytes`): `Uint8Array` Wrap pre-serialized Minima TX + witness bytes in a `@totemsdk/txpow` body ready for PoW mining and chain broadcast. buildUnsignedClosePackage | https://docs.totem.ing/api/totemsdk-omnia/functions/buildUnsignedClosePackage | UnsignedClosePackage # Function: buildUnsignedClosePackage() > **buildUnsignedClosePackage**(`channel`, `state`, `partyAddresses? buildUpdateTx | https://docs.totem.ing/api/totemsdk-omnia/functions/buildUpdateTx | UpdateTx # Function: buildUpdateTx() > **buildUpdateTx**(`channel`, `newSequence`, `newBalances`, `pendingHTLCs`, `programStateVariables? canonicalizeProgramTransition | https://docs.totem.ing/api/totemsdk-omnia/functions/canonicalizeProgramTransition | ProgramTransition # Function: canonicalizeProgramTransition() > **canonicalizeProgramTransition**(`transition? channelTopic | https://docs.totem.ing/api/totemsdk-omnia/functions/channelTopic | Topic # Function: channelTopic() > **channelTopic**(`channelId`): `Buffer` Derive the 32-byte Hyperswarm topic Buffer for a given channel ID. closePackageSignatureBytes | https://docs.totem.ing/api/totemsdk-omnia/functions/closePackageSignatureBytes | PackageSignatureBytes # Function: closePackageSignatureBytes() > **closePackageSignatureBytes**(`state`, `tx`): `Uint8Array`\<`ArrayBufferLike`\>[] ## Parameters ### state [`SignedChannelState`](. computeHtlcFulfillmentReceiptHash | https://docs.totem.ing/api/totemsdk-omnia/functions/computeHtlcFulfillmentReceiptHash | HtlcFulfillmentReceiptHash # Function: computeHtlcFulfillmentReceiptHash() > **computeHtlcFulfillmentReceiptHash**(`receipt`): `string` ## Parameters ### receipt [`HtlcFulfillmentReceipt`](. computeOmniaTxDigest | https://docs.totem.ing/api/totemsdk-omnia/functions/computeOmniaTxDigest | OmniaTxDigest # Function: computeOmniaTxDigest() > **computeOmniaTxDigest**(`draft`): `Uint8Array` ## Parameters ### draft [`OmniaTxDraft`](. computeProgramUpdateDigest | https://docs.totem.ing/api/totemsdk-omnia/functions/computeProgramUpdateDigest | ProgramUpdateDigest # Function: computeProgramUpdateDigest() > **computeProgramUpdateDigest**(`channel`, `sequence`, `balances`, `pendingHTLCs`, `transition? computeProgramUpdateDigestHex | https://docs.totem.ing/api/totemsdk-omnia/functions/computeProgramUpdateDigestHex | ProgramUpdateDigestHex # Function: computeProgramUpdateDigestHex() > **computeProgramUpdateDigestHex**(`channel`, `sequence`, `balances`, `pendingHTLCs`, `transition? computeStateCommitment | https://docs.totem.ing/api/totemsdk-omnia/functions/computeStateCommitment | StateCommitment # Function: computeStateCommitment() > **computeStateCommitment**(`sequence`, `balances`, `pendingHTLCs`): `Uint8Array` Canonical state commitment — the 32-byte digest that is WOTS-signed and WOTS-verified for every channel update. computeStateCommitmentV2 | https://docs.totem.ing/api/totemsdk-omnia/functions/computeStateCommitmentV2 | StateCommitmentV2 # Function: computeStateCommitmentV2() > **computeStateCommitmentV2**(`channel`, `sequence`, `balances`, `pendingHTLCs`, `opts? computeTxDraftDigest | https://docs.totem.ing/api/totemsdk-omnia/functions/computeTxDraftDigest | TxDraftDigest # Function: computeTxDraftDigest() > **computeTxDraftDigest**(`draft`): `Uint8Array` ## Parameters ### draft [`OmniaTxDraft`](. createChannel | https://docs.totem.ing/api/totemsdk-omnia/functions/createChannel | Channel # Function: createChannel() > **createChannel**(`params`, `chainProvider`): `Promise`\<\{ `channel`: [`OmniaChannel`](. createOmniaIntegration | https://docs.totem.ing/api/totemsdk-omnia/functions/createOmniaIntegration | OmniaIntegration # Function: createOmniaIntegration() > **createOmniaIntegration**(`swarm`, `store`, `config? createOmniaSwarm | https://docs.totem.ing/api/totemsdk-omnia/functions/createOmniaSwarm | OmniaSwarm # Function: createOmniaSwarm() > **createOmniaSwarm**(`config? createOmniaSwarmFromInstance | https://docs.totem.ing/api/totemsdk-omnia/functions/createOmniaSwarmFromInstance | OmniaSwarmFromInstance # Function: createOmniaSwarmFromInstance() > **createOmniaSwarmFromInstance**(`swarm`, `config? createOmniaSwarmFromRelayUrl | https://docs.totem.ing/api/totemsdk-omnia/functions/createOmniaSwarmFromRelayUrl | OmniaSwarmFromRelayUrl # Function: createOmniaSwarmFromRelayUrl() > **createOmniaSwarmFromRelayUrl**(`relayUrl`, `config? decrementCounter | https://docs.totem.ing/api/totemsdk-omnia/functions/decrementCounter | Counter # Function: decrementCounter() > **decrementCounter**(`channel`, `by`, `leaseProvider`, `signer? deserializeChannelSnapshot | https://docs.totem.ing/api/totemsdk-omnia/functions/deserializeChannelSnapshot | ChannelSnapshot # Function: deserializeChannelSnapshot() > **deserializeChannelSnapshot**(`json`): [`OmniaChannelSnapshot`](. deserializeTxDraft | https://docs.totem.ing/api/totemsdk-omnia/functions/deserializeTxDraft | TxDraft # Function: deserializeTxDraft() > **deserializeTxDraft**(`hex`): [`OmniaTxDraft`](. encodeOmniaMessage | https://docs.totem.ing/api/totemsdk-omnia/functions/encodeOmniaMessage | OmniaMessage # Function: encodeOmniaMessage() > **encodeOmniaMessage**(`msg`): `Uint8Array` Encode an OmniaMessage to a length-prefixed frame. enforceUpdateGuards | https://docs.totem.ing/api/totemsdk-omnia/functions/enforceUpdateGuards | UpdateGuards # Function: enforceUpdateGuards() > **enforceUpdateGuards**(`channelId`, `newSequence`, `payloadHash`, `pendingProposal? executeIntent | https://docs.totem.ing/api/totemsdk-omnia/functions/executeIntent | Intent # Function: executeIntent() > **executeIntent**(`channel`, `intent`, `policy`, `leaseProvider`, `signer? finalizeUnilateralClose | https://docs.totem.ing/api/totemsdk-omnia/functions/finalizeUnilateralClose | UnilateralClose # Function: finalizeUnilateralClose() > **finalizeUnilateralClose**(`channel`, `chainProvider`, `broadcastProofs? flatSigningIndex | https://docs.totem.ing/api/totemsdk-omnia/functions/flatSigningIndex | flatSigningIndex fulfillHTLC | https://docs.totem.ing/api/totemsdk-omnia/functions/fulfillHTLC | HTLC # Function: fulfillHTLC() > **fulfillHTLC**(`channel`, `htlcId`, `preimage`, `leaseProvider`, `signer? getChannelReceipt | https://docs.totem.ing/api/totemsdk-omnia/functions/getChannelReceipt | ChannelReceipt # Function: getChannelReceipt() > **getChannelReceipt**(`channel`, `state`): [`ChannelReceipt`](. getStateBigInt | https://docs.totem.ing/api/totemsdk-omnia/functions/getStateBigInt | StateBigInt # Function: getStateBigInt() > **getStateBigInt**(`state`, `port`, `fallback? getStateValue | https://docs.totem.ing/api/totemsdk-omnia/functions/getStateValue | StateValue # Function: getStateValue() > **getStateValue**(`state`, `port`): [`StateValue`](. incrementCounter | https://docs.totem.ing/api/totemsdk-omnia/functions/incrementCounter | Counter # Function: incrementCounter() > **incrementCounter**(`channel`, `by`, `leaseProvider`, `signer? markChannelClosed | https://docs.totem.ing/api/totemsdk-omnia/functions/markChannelClosed | ChannelClosed # Function: markChannelClosed() > **markChannelClosed**(`channel`): [`OmniaChannel`](. markChannelClosing | https://docs.totem.ing/api/totemsdk-omnia/functions/markChannelClosing | ChannelClosing # Function: markChannelClosing() > **markChannelClosing**(`channel`, `mode`): [`OmniaChannel`](. mergeClosePackages | https://docs.totem.ing/api/totemsdk-omnia/functions/mergeClosePackages | ClosePackages # Function: mergeClosePackages() > **mergeClosePackages**(`localPackage`, `counterpartyPackage`): [`SignedClosePackage`](. minimaOutputCoinIdsForDraft | https://docs.totem.ing/api/totemsdk-omnia/functions/minimaOutputCoinIdsForDraft | OutputCoinIdsForDraft # Function: minimaOutputCoinIdsForDraft() > **minimaOutputCoinIdsForDraft**(`draft`): `string`[] ## Parameters ### draft [`OmniaTxDraft`](. normalizeScript | https://docs.totem.ing/api/totemsdk-omnia/functions/normalizeScript | normalizeScript omniaDraftToCanonicalMinimaBytes | https://docs.totem.ing/api/totemsdk-omnia/functions/omniaDraftToCanonicalMinimaBytes | DraftToCanonicalMinimaBytes # Function: omniaDraftToCanonicalMinimaBytes() > **omniaDraftToCanonicalMinimaBytes**(`draft`): `Uint8Array` ## Parameters ### draft [`OmniaTxDraft`](. omniaDraftToMinimaBytes | https://docs.totem.ing/api/totemsdk-omnia/functions/omniaDraftToMinimaBytes | DraftToMinimaBytes # Function: omniaDraftToMinimaBytes() > **omniaDraftToMinimaBytes**(`draft`): `Uint8Array` Convert an `OmniaTxDraft` to canonical Minima binary TX bytes using `@totemsdk/core`'s `serializeTransaction`. peerTopic | https://docs.totem.ing/api/totemsdk-omnia/functions/peerTopic | Topic # Function: peerTopic() > **peerTopic**(`pubkey`): `Buffer` Derive a 32-byte Hyperswarm topic Buffer for peer-to-peer rendezvous. programNumberState | https://docs.totem.ing/api/totemsdk-omnia/functions/programNumberState | NumberState # Function: programNumberState() > **programNumberState**(`port`, `value`): [`StateValue`](. proposeSettlement | https://docs.totem.ing/api/totemsdk-omnia/functions/proposeSettlement | Settlement # Function: proposeSettlement() > **proposeSettlement**(`channel`, `leaseProvider`, `opts? recordMeterReading | https://docs.totem.ing/api/totemsdk-omnia/functions/recordMeterReading | MeterReading # Function: recordMeterReading() > **recordMeterReading**(`channel`, `reading`, `unitPrice`, `leaseProvider`, `signer? recoverChannel | https://docs.totem.ing/api/totemsdk-omnia/functions/recoverChannel | Channel # Function: recoverChannel() > **recoverChannel**(`jsonOrSnapshot`): [`OmniaChannel`](. recoverChannelSnapshot | https://docs.totem.ing/api/totemsdk-omnia/functions/recoverChannelSnapshot | ChannelSnapshot # Function: recoverChannelSnapshot() > **recoverChannelSnapshot**(`jsonOrSnapshot`): [`ChannelRecoveryResult`](. registerChannelProgram | https://docs.totem.ing/api/totemsdk-omnia/functions/registerChannelProgram | ChannelProgram # Function: registerChannelProgram() > **registerChannelProgram**(`program`): `void` ## Parameters ### program [`ChannelProgram`](. replaceUnilateralCloseState | https://docs.totem.ing/api/totemsdk-omnia/functions/replaceUnilateralCloseState | UnilateralCloseState # Function: replaceUnilateralCloseState() > **replaceUnilateralCloseState**(`channel`, `newerState`): [`OmniaChannel`](. resetChannelWatermarks | https://docs.totem.ing/api/totemsdk-omnia/functions/resetChannelWatermarks | ChannelWatermarks # Function: \_resetChannelWatermarks() > **\_resetChannelWatermarks**(): `void` Reset all channel sequence watermarks. resolveChannelProgram | https://docs.totem.ing/api/totemsdk-omnia/functions/resolveChannelProgram | ChannelProgram # Function: resolveChannelProgram() > **resolveChannelProgram**(`program? scriptAddress | https://docs.totem.ing/api/totemsdk-omnia/functions/scriptAddress | scriptAddress sendProgramTransitionStateUpdate | https://docs.totem.ing/api/totemsdk-omnia/functions/sendProgramTransitionStateUpdate | ProgramTransitionStateUpdate # Function: sendProgramTransitionStateUpdate() > **sendProgramTransitionStateUpdate**(`peer`, `channel`, `signedState`, `nonce`): `Promise`\<`void`\> ## Parameters ### peer [`OmniaPeer`](. serializeChannelSnapshot | https://docs.totem.ing/api/totemsdk-omnia/functions/serializeChannelSnapshot | ChannelSnapshot # Function: serializeChannelSnapshot() > **serializeChannelSnapshot**(`channelOrSnapshot`): `string` ## Parameters ### channelOrSnapshot [`OmniaChannel`](. serializeOmniaWitness | https://docs.totem.ing/api/totemsdk-omnia/functions/serializeOmniaWitness | OmniaWitness # Function: serializeOmniaWitness() > **serializeOmniaWitness**(`options`): `Uint8Array` ## Parameters ### options [`OmniaWitnessOptions`](. serializeProgramTransition | https://docs.totem.ing/api/totemsdk-omnia/functions/serializeProgramTransition | ProgramTransition # Function: serializeProgramTransition() > **serializeProgramTransition**(`transition`): `string` ## Parameters ### transition [`ProgramTransition`](. serializeTxDraft | https://docs.totem.ing/api/totemsdk-omnia/functions/serializeTxDraft | TxDraft # Function: serializeTxDraft() > **serializeTxDraft**(`draft`): `string` ## Parameters ### draft [`OmniaTxDraft`](. setCounter | https://docs.totem.ing/api/totemsdk-omnia/functions/setCounter | Counter # Function: setCounter() > **setCounter**(`channel`, `value`, `leaseProvider`, `signer? signState | https://docs.totem.ing/api/totemsdk-omnia/functions/signState | State # Function: signState() > **signState**(`channel`, `update`, `leaseProvider`, `signer? signTxDraft | https://docs.totem.ing/api/totemsdk-omnia/functions/signTxDraft | TxDraft # Function: signTxDraft() > **signTxDraft**(`channel`, `draft`, `purpose`, `leaseProvider`, `signer? snapshotChannel | https://docs.totem.ing/api/totemsdk-omnia/functions/snapshotChannel | Channel # Function: snapshotChannel() > **snapshotChannel**(`channel`, `savedAt? startUnilateralClose | https://docs.totem.ing/api/totemsdk-omnia/functions/startUnilateralClose | UnilateralClose # Function: startUnilateralClose() > **startUnilateralClose**(`channel`, `chainProvider`, `broadcastProofs? stateCommitmentV2Matches | https://docs.totem.ing/api/totemsdk-omnia/functions/stateCommitmentV2Matches | CommitmentV2Matches # Function: stateCommitmentV2Matches() > **stateCommitmentV2Matches**(`channel`, `state`, `settlement? timeoutHTLC | https://docs.totem.ing/api/totemsdk-omnia/functions/timeoutHTLC | HTLC # Function: timeoutHTLC() > **timeoutHTLC**(`channel`, `htlcId`, `leaseProvider`, `chainProvider`, `signer? toEnhancedBuildParams | https://docs.totem.ing/api/totemsdk-omnia/functions/toEnhancedBuildParams | EnhancedBuildParams # Function: toEnhancedBuildParams() > **toEnhancedBuildParams**(`draft`): `EnhancedBuildParams` Convert an `OmniaTxDraft` to `@totemsdk/tx-builder`'s `EnhancedBuildParams`. toRawMinima | https://docs.totem.ing/api/totemsdk-omnia/functions/toRawMinima | RawMinima # Function: toRawMinima() > **toRawMinima**(`scaledAmount`, `tokenScale`): `bigint` Convert a scaled token amount back to raw Minima units. updateState | https://docs.totem.ing/api/totemsdk-omnia/functions/updateState | State # Function: updateState() > **updateState**(`channel`, `delta`, `leaseProvider`, `signer? validateChannelStateWithKissvm | https://docs.totem.ing/api/totemsdk-omnia/functions/validateChannelStateWithKissvm | ChannelStateWithKissvm # Function: validateChannelStateWithKissvm() > **validateChannelStateWithKissvm**(`channel`, `state`, `opts? validateStateTransition | https://docs.totem.ing/api/totemsdk-omnia/functions/validateStateTransition | StateTransition # Function: validateStateTransition() > **validateStateTransition**(`channel`, `newSequence`, `newBalances`, `pendingHTLCDelta`): `void` Validates a proposed state transition without requiring signing indices. verifyClosePackage | https://docs.totem.ing/api/totemsdk-omnia/functions/verifyClosePackage | ClosePackage # Function: verifyClosePackage() > **verifyClosePackage**(`channel`, `state`): `object` ## Parameters ### channel [`OmniaChannel`](. verifyPartialClosePackage | https://docs.totem.ing/api/totemsdk-omnia/functions/verifyPartialClosePackage | PartialClosePackage # Function: verifyPartialClosePackage() > **verifyPartialClosePackage**(`channel`, `state`): `object` Verify close-package artifacts before adding this node's co-signature. verifyRegistryRootInState | https://docs.totem.ing/api/totemsdk-omnia/functions/verifyRegistryRootInState | RegistryRootInState # Function: verifyRegistryRootInState() > **verifyRegistryRootInState**(`state`, `expectedRoot`): `object` Verify that a signed channel state announces the expected registry root. verifyState | https://docs.totem.ing/api/totemsdk-omnia/functions/verifyState | State # Function: verifyState() > **verifyState**(`channel`, `state`, `opts? verifyStateForCoSign | https://docs.totem.ing/api/totemsdk-omnia/functions/verifyStateForCoSign | StateForCoSign # Function: verifyStateForCoSign() > **verifyStateForCoSign**(`channel`, `state`): `Promise`\<\{ `errors`: `string`[]; `valid`: `boolean`; \}\> Validate a one-party state update before this node adds its co-signature. verifyStateSignature | https://docs.totem.ing/api/totemsdk-omnia/functions/verifyStateSignature | StateSignature # Function: verifyStateSignature() > **verifyStateSignature**(`channel`, `state`, `partyId`, `publicKeyDigest`): `boolean` Verify a channel state signature using off-chain WOTS verification. AddHTLCParams | https://docs.totem.ing/api/totemsdk-omnia/interfaces/AddHTLCParams | AddHTLCParams AgentPolicy | https://docs.totem.ing/api/totemsdk-omnia/interfaces/AgentPolicy | AgentPolicy # Interface: AgentPolicy Policy evaluated by the Totem wallet layer — NEVER by the agent. AgentReceipt | https://docs.totem.ing/api/totemsdk-omnia/interfaces/AgentReceipt | AgentReceipt # Interface: AgentReceipt Result returned to the agent after Totem has processed the intent. ApplyProgramTransitionParams | https://docs.totem.ing/api/totemsdk-omnia/interfaces/ApplyProgramTransitionParams | ApplyProgramTransitionParams # Interface: ApplyProgramTransitionParams ## Properties ### balances? BindPeerOptions | https://docs.totem.ing/api/totemsdk-omnia/interfaces/BindPeerOptions | BindPeerOptions # Interface: BindPeerOptions ## Properties ### routeChannelProposal? ChannelLogEntry | https://docs.totem.ing/api/totemsdk-omnia/interfaces/ChannelLogEntry | ChannelLogEntry # Interface: ChannelLogEntry ## Properties ### balances > **balances**: `Record`\<[`partyId`](. ChannelParticipant | https://docs.totem.ing/api/totemsdk-omnia/interfaces/ChannelParticipant | ChannelParticipant # Interface: ChannelParticipant ## Properties ### addressIndex > **addressIndex**: `number` *** ### partyId > **partyId**: `string` *** ### publicKeyDigest > **publicKeyDigest**: `string` *** ### relayEndpoint? ChannelProgram | https://docs.totem.ing/api/totemsdk-omnia/interfaces/ChannelProgram | ChannelProgram # Interface: ChannelProgram ## Properties ### id > **id**: `string` *** ### version > **version**: `number` ## Methods ### buildScript() > **buildScript**(`parties`): `string` #### Parameters ##### parties [`ChannelParticipant`](ChannelParticipant. ChannelProgramBuildStateInput | https://docs.totem.ing/api/totemsdk-omnia/interfaces/ChannelProgramBuildStateInput | ChannelProgramBuildStateInput # Interface: ChannelProgramBuildStateInput ## Properties ### balances > **balances**: `Record`\<[`partyId`](. ChannelProgramValidateTransitionInput | https://docs.totem.ing/api/totemsdk-omnia/interfaces/ChannelProgramValidateTransitionInput | ChannelProgramValidateTransitionInput # Interface: ChannelProgramValidateTransitionInput ## Properties ### channel > **channel**: [`OmniaChannel`](OmniaChannel. ChannelProgramValidationResult | https://docs.totem.ing/api/totemsdk-omnia/interfaces/ChannelProgramValidationResult | ChannelProgramValidationResult # Interface: ChannelProgramValidationResult ## Properties ### error? ChannelProposal | https://docs.totem.ing/api/totemsdk-omnia/interfaces/ChannelProposal | ChannelProposal # Interface: ChannelProposal ## Properties ### channelId > **channelId**: `string` *** ### fundingAddress? ChannelReceipt | https://docs.totem.ing/api/totemsdk-omnia/interfaces/ChannelReceipt | ChannelReceipt # Interface: ChannelReceipt ## Properties ### balances > **balances**: `Record`\<[`partyId`](. ChannelRecoveryResult | https://docs.totem.ing/api/totemsdk-omnia/interfaces/ChannelRecoveryResult | ChannelRecoveryResult # Interface: ChannelRecoveryResult ## Properties ### channel > **channel**: [`OmniaChannel`](OmniaChannel. ChannelSigner | https://docs.totem.ing/api/totemsdk-omnia/interfaces/ChannelSigner | ChannelSigner # Interface: ChannelSigner ## Properties ### publicKeyDigest > **publicKeyDigest**: `string` ## Methods ### sign() > **sign**(`payload`, `indices`): `Promise`\<[`ChannelSignature`](. ChannelWatermark | https://docs.totem.ing/api/totemsdk-omnia/interfaces/ChannelWatermark | ChannelWatermark ClosePackageArtifact | https://docs.totem.ing/api/totemsdk-omnia/interfaces/ClosePackageArtifact | ClosePackageArtifact # Interface: ClosePackageArtifact ## Properties ### signatures > **signatures**: `Record`\<[`partyId`](. CreateChannelParams | https://docs.totem.ing/api/totemsdk-omnia/interfaces/CreateChannelParams | CreateChannelParams # Interface: CreateChannelParams ## Properties ### channelType? DisputePayload | https://docs.totem.ing/api/totemsdk-omnia/interfaces/DisputePayload | DisputePayload # Interface: DisputePayload ## Properties ### channelId > **channelId**: `string` *** ### evidence > **evidence**: `string` *** ### latestSequence > **latestSequence**: `number` *** ### stateLog > **stateLog**: [`ChannelLogEntry`](ChannelLogEntry. HTLCRecord | https://docs.totem.ing/api/totemsdk-omnia/interfaces/HTLCRecord | HTLCRecord HtlcFulfillmentReceipt | https://docs.totem.ing/api/totemsdk-omnia/interfaces/HtlcFulfillmentReceipt | HtlcFulfillmentReceipt # Interface: HtlcFulfillmentReceipt A verifiable fee-provenance record for a fulfilled HTLC (#27): the exact artifact a pool's `recordPoolFee` earn-proof consumes. IntentResult | https://docs.totem.ing/api/totemsdk-omnia/interfaces/IntentResult | IntentResult # Interface: IntentResult ## Properties ### channel? KissvmValidationOptions | https://docs.totem.ing/api/totemsdk-omnia/interfaces/KissvmValidationOptions | KissvmValidationOptions # Interface: KissvmValidationOptions ## Properties ### block? OmniaChannel | https://docs.totem.ing/api/totemsdk-omnia/interfaces/OmniaChannel | OmniaChannel # Interface: OmniaChannel ## Properties ### balances > **balances**: `Record`\<[`partyId`](. OmniaChannelSnapshot | https://docs.totem.ing/api/totemsdk-omnia/interfaces/OmniaChannelSnapshot | OmniaChannelSnapshot # Interface: OmniaChannelSnapshot ## Properties ### channel > **channel**: [`OmniaChannel`](OmniaChannel. OmniaIntegrationConfig | https://docs.totem.ing/api/totemsdk-omnia/interfaces/OmniaIntegrationConfig | OmniaIntegrationConfig # Interface: OmniaIntegrationConfig ## Properties ### chainProvider? OmniaMessage | https://docs.totem.ing/api/totemsdk-omnia/interfaces/OmniaMessage | OmniaMessage # Interface: OmniaMessage ## Properties ### channelId > **channelId**: `string` *** ### nonce > **nonce**: `number` *** ### payload > **payload**: `unknown` *** ### type > **type**: [`OmniaMessageType`](. OmniaPeer | https://docs.totem.ing/api/totemsdk-omnia/interfaces/OmniaPeer | OmniaPeer # Interface: OmniaPeer ## Properties ### channelId > `readonly` **channelId**: `string` \| `undefined` *** ### pubkey > `readonly` **pubkey**: `string` ## Methods ### disconnect() > **disconnect**(): `void` #### Returns `void` *** ### onMessage() > **onMessage**(`cb`): [`Unsubscribe`](. OmniaPeerOptions | https://docs.totem.ing/api/totemsdk-omnia/interfaces/OmniaPeerOptions | OmniaPeerOptions # Interface: OmniaPeerOptions ## Properties ### channelId? OmniaSwarm | https://docs.totem.ing/api/totemsdk-omnia/interfaces/OmniaSwarm | OmniaSwarm # Interface: OmniaSwarm ## Methods ### advertise() > **advertise**(`localPubkey`): `void` #### Parameters ##### localPubkey `string` #### Returns `void` *** ### broadcast() > **broadcast**(`topic`, `msg`): `Promise`\<`void`\> #### Parameters ##### topic `string` ##### msg [`OmniaMessage`](OmniaMessage. OmniaSwarmConfig | https://docs.totem.ing/api/totemsdk-omnia/interfaces/OmniaSwarmConfig | OmniaSwarmConfig # Interface: OmniaSwarmConfig ## Properties ### localPubkey? OmniaTxDraft | https://docs.totem.ing/api/totemsdk-omnia/interfaces/OmniaTxDraft | OmniaTxDraft # Interface: OmniaTxDraft ## Properties ### inputs > **inputs**: [`TxInputDraft`](TxInputDraft. OmniaWitnessOptions | https://docs.totem.ing/api/totemsdk-omnia/interfaces/OmniaWitnessOptions | OmniaWitnessOptions # Interface: OmniaWitnessOptions ## Extends - [`OmniaWitnessProofs`](OmniaWitnessProofs. OmniaWitnessProofs | https://docs.totem.ing/api/totemsdk-omnia/interfaces/OmniaWitnessProofs | OmniaWitnessProofs # Interface: OmniaWitnessProofs ## Extended by - [`OmniaWitnessOptions`](OmniaWitnessOptions. PaymentIntent | https://docs.totem.ing/api/totemsdk-omnia/interfaces/PaymentIntent | PaymentIntent # Interface: PaymentIntent The action an agent wants the wallet to take. ProgramTransition | https://docs.totem.ing/api/totemsdk-omnia/interfaces/ProgramTransition | ProgramTransition # Interface: ProgramTransition ## Properties ### action > **action**: `string` *** ### inputs? RegistryRootTransitionInputs | https://docs.totem.ing/api/totemsdk-omnia/interfaces/RegistryRootTransitionInputs | RegistryRootTransitionInputs # Interface: RegistryRootTransitionInputs ## Properties ### domain? SettlementPayload | https://docs.totem.ing/api/totemsdk-omnia/interfaces/SettlementPayload | SettlementPayload # Interface: SettlementPayload ## Properties ### balances > **balances**: `Record`\<[`partyId`](. SignedChannelState | https://docs.totem.ing/api/totemsdk-omnia/interfaces/SignedChannelState | SignedChannelState # Interface: SignedChannelState ## Properties ### balances > **balances**: `Record`\<[`partyId`](. SignedClosePackage | https://docs.totem.ing/api/totemsdk-omnia/interfaces/SignedClosePackage | SignedClosePackage # Interface: SignedClosePackage ## Properties ### channelId > **channelId**: `string` *** ### sequence > **sequence**: `number` *** ### settlement > **settlement**: [`ClosePackageArtifact`](ClosePackageArtifact. StateValue | https://docs.totem.ing/api/totemsdk-omnia/interfaces/StateValue | StateValue TxInputDraft | https://docs.totem.ing/api/totemsdk-omnia/interfaces/TxInputDraft | TxInputDraft TxOutputDraft | https://docs.totem.ing/api/totemsdk-omnia/interfaces/TxOutputDraft | TxOutputDraft # Interface: TxOutputDraft ## Properties ### address > **address**: `string` *** ### amount > **amount**: `bigint` *** ### stateVariables > **stateVariables**: [`StateValue`](StateValue. UnilateralCloseFinalizeResult | https://docs.totem.ing/api/totemsdk-omnia/interfaces/UnilateralCloseFinalizeResult | UnilateralCloseFinalizeResult # Interface: UnilateralCloseFinalizeResult ## Properties ### channel > **channel**: [`OmniaChannel`](OmniaChannel. UnilateralCloseStartResult | https://docs.totem.ing/api/totemsdk-omnia/interfaces/UnilateralCloseStartResult | UnilateralCloseStartResult # Interface: UnilateralCloseStartResult ## Properties ### channel > **channel**: [`OmniaChannel`](OmniaChannel. UpdateDelta | https://docs.totem.ing/api/totemsdk-omnia/interfaces/UpdateDelta | UpdateDelta # Interface: UpdateDelta ## Properties ### memo? UpdateStateResult | https://docs.totem.ing/api/totemsdk-omnia/interfaces/UpdateStateResult | UpdateStateResult # Interface: UpdateStateResult Return type of `updateState`. VerifyStateOptions | https://docs.totem.ing/api/totemsdk-omnia/interfaces/VerifyStateOptions | VerifyStateOptions # Interface: VerifyStateOptions ## Properties ### kissvm? CapacityWarning | https://docs.totem.ing/api/totemsdk-omnia/type-aliases/CapacityWarning | CapacityWarning ChannelSignature | https://docs.totem.ing/api/totemsdk-omnia/type-aliases/ChannelSignature | ChannelSignature # Type Alias: ChannelSignature > **ChannelSignature** = `Uint8Array` Flat WOTS signature bytes — output of wotsSign(). ChannelStatus | https://docs.totem.ing/api/totemsdk-omnia/type-aliases/ChannelStatus | ChannelStatus ChannelStore | https://docs.totem.ing/api/totemsdk-omnia/type-aliases/ChannelStore | ChannelStore # Type Alias: ChannelStore > **ChannelStore** = `Map`\<`string`, [`OmniaChannel`](. MinimalChainProvider | https://docs.totem.ing/api/totemsdk-omnia/type-aliases/MinimalChainProvider | MinimalChainProvider OmniaMessageType | https://docs.totem.ing/api/totemsdk-omnia/type-aliases/OmniaMessageType | OmniaMessageType # Type Alias: OmniaMessageType > **OmniaMessageType** = `"CHANNEL_PROPOSAL"` \| `"STATE_UPDATE"` \| `"SETTLEMENT_PROPOSAL"` \| `"ACK"` \| `"ERROR"` Messaging protocol types for Omnia P2P transport layer. RelayConfig | https://docs.totem.ing/api/totemsdk-omnia/type-aliases/RelayConfig | RelayConfig # Type Alias: RelayConfig > **RelayConfig** = \{ `mode`: `"native"`; \} \| \{ `apiKey`: `string`; `endpoint? Unsubscribe | https://docs.totem.ing/api/totemsdk-omnia/type-aliases/Unsubscribe | Unsubscribe WotsLeaseProviderLike | https://docs.totem.ing/api/totemsdk-omnia/type-aliases/WotsLeaseProviderLike | WotsLeaseProviderLike partyId | https://docs.totem.ing/api/totemsdk-omnia/type-aliases/partyId | partyId ASSET_HOLDER_A_BALANCE_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/ASSET_HOLDER_A_BALANCE_PORT | ASSET_HOLDER_A_BALANCE_PORT ASSET_HOLDER_B_BALANCE_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/ASSET_HOLDER_B_BALANCE_PORT | ASSET_HOLDER_B_BALANCE_PORT ASSET_PROGRAM_ID | https://docs.totem.ing/api/totemsdk-omnia/variables/ASSET_PROGRAM_ID | ASSET_PROGRAM_ID ASSET_TOKEN_ID_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/ASSET_TOKEN_ID_PORT | ASSET_TOKEN_ID_PORT ASSET_TOTAL_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/ASSET_TOTAL_PORT | ASSET_TOTAL_PORT AssetProgram | https://docs.totem.ing/api/totemsdk-omnia/variables/AssetProgram | AssetProgram # Variable: AssetProgram > `const` **AssetProgram**: [`ChannelProgram`](. CAPACITY_NEAR_EXHAUSTION | https://docs.totem.ing/api/totemsdk-omnia/variables/CAPACITY_NEAR_EXHAUSTION | CAPACITY_NEAR_EXHAUSTION CAPACITY_WARNING_APPROACHING | https://docs.totem.ing/api/totemsdk-omnia/variables/CAPACITY_WARNING_APPROACHING | CAPACITY_WARNING_APPROACHING CAPACITY_WARNING_CRITICAL | https://docs.totem.ing/api/totemsdk-omnia/variables/CAPACITY_WARNING_CRITICAL | CAPACITY_WARNING_CRITICAL COINID_ELTOO | https://docs.totem.ing/api/totemsdk-omnia/variables/COINID_ELTOO | COINID_ELTOO COINID_OUTPUT | https://docs.totem.ing/api/totemsdk-omnia/variables/COINID_OUTPUT | COINID_OUTPUT COUNTER_ACTION_DECREMENT | https://docs.totem.ing/api/totemsdk-omnia/variables/COUNTER_ACTION_DECREMENT | COUNTER_ACTION_DECREMENT COUNTER_ACTION_INCREMENT | https://docs.totem.ing/api/totemsdk-omnia/variables/COUNTER_ACTION_INCREMENT | COUNTER_ACTION_INCREMENT COUNTER_ACTION_NONE | https://docs.totem.ing/api/totemsdk-omnia/variables/COUNTER_ACTION_NONE | COUNTER_ACTION_NONE COUNTER_ACTION_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/COUNTER_ACTION_PORT | COUNTER_ACTION_PORT COUNTER_ACTION_SET | https://docs.totem.ing/api/totemsdk-omnia/variables/COUNTER_ACTION_SET | COUNTER_ACTION_SET COUNTER_OPERAND_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/COUNTER_OPERAND_PORT | COUNTER_OPERAND_PORT COUNTER_PROGRAM_ID | https://docs.totem.ing/api/totemsdk-omnia/variables/COUNTER_PROGRAM_ID | COUNTER_PROGRAM_ID COUNTER_STATE_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/COUNTER_STATE_PORT | COUNTER_STATE_PORT CounterProgram | https://docs.totem.ing/api/totemsdk-omnia/variables/CounterProgram | CounterProgram # Variable: CounterProgram > `const` **CounterProgram**: [`ChannelProgram`](. DefaultEltooPaymentProgram | https://docs.totem.ing/api/totemsdk-omnia/variables/DefaultEltooPaymentProgram | DefaultEltooPaymentProgram # Variable: DefaultEltooPaymentProgram > `const` **DefaultEltooPaymentProgram**: [`ChannelProgram`](. ELTOO_CONTEST_DELAY_BLOCKS | https://docs.totem.ing/api/totemsdk-omnia/variables/ELTOO_CONTEST_DELAY_BLOCKS | ELTOO_CONTEST_DELAY_BLOCKS ELTOO_PAYMENT_PROGRAM_ID | https://docs.totem.ing/api/totemsdk-omnia/variables/ELTOO_PAYMENT_PROGRAM_ID | ELTOO_PAYMENT_PROGRAM_ID HTLCPaymentProgram | https://docs.totem.ing/api/totemsdk-omnia/variables/HTLCPaymentProgram | HTLCPaymentProgram # Variable: HTLCPaymentProgram > `const` **HTLCPaymentProgram**: [`ChannelProgram`](. HTLC_CLAIMED_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/HTLC_CLAIMED_PORT | HTLC_CLAIMED_PORT HTLC_FEE_PROOF_DOMAIN | https://docs.totem.ing/api/totemsdk-omnia/variables/HTLC_FEE_PROOF_DOMAIN | HTLC_FEE_PROOF_DOMAIN HTLC_HASHLOCK_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/HTLC_HASHLOCK_PORT | HTLC_HASHLOCK_PORT HTLC_LOCKED_AMOUNT_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/HTLC_LOCKED_AMOUNT_PORT | HTLC_LOCKED_AMOUNT_PORT HTLC_PREIMAGE_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/HTLC_PREIMAGE_PORT | HTLC_PREIMAGE_PORT HTLC_PROGRAM_ID | https://docs.totem.ing/api/totemsdk-omnia/variables/HTLC_PROGRAM_ID | HTLC_PROGRAM_ID HTLC_TIMEOUT_BLOCK_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/HTLC_TIMEOUT_BLOCK_PORT | HTLC_TIMEOUT_BLOCK_PORT MEMBERSHIP_DIVIDEND_POOL_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/MEMBERSHIP_DIVIDEND_POOL_PORT | MEMBERSHIP_DIVIDEND_POOL_PORT MEMBERSHIP_MEMBER_ROOT_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/MEMBERSHIP_MEMBER_ROOT_PORT | MEMBERSHIP_MEMBER_ROOT_PORT MEMBERSHIP_PAYOUT_SEQUENCE_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/MEMBERSHIP_PAYOUT_SEQUENCE_PORT | MEMBERSHIP_PAYOUT_SEQUENCE_PORT MEMBERSHIP_PROGRAM_ID | https://docs.totem.ing/api/totemsdk-omnia/variables/MEMBERSHIP_PROGRAM_ID | MEMBERSHIP_PROGRAM_ID METER_PAYMENT_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/METER_PAYMENT_PORT | METER_PAYMENT_PORT METER_PROGRAM_ID | https://docs.totem.ing/api/totemsdk-omnia/variables/METER_PROGRAM_ID | METER_PROGRAM_ID METER_READING_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/METER_READING_PORT | METER_READING_PORT METER_UNIT_PRICE_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/METER_UNIT_PRICE_PORT | METER_UNIT_PRICE_PORT METER_USAGE_DELTA_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/METER_USAGE_DELTA_PORT | METER_USAGE_DELTA_PORT MembershipProgram | https://docs.totem.ing/api/totemsdk-omnia/variables/MembershipProgram | MembershipProgram # Variable: MembershipProgram > `const` **MembershipProgram**: [`ChannelProgram`](. MeterProgram | https://docs.totem.ing/api/totemsdk-omnia/variables/MeterProgram | MeterProgram # Variable: MeterProgram > `const` **MeterProgram**: [`ChannelProgram`](. PROGRAM_STATE_PORT_MIN | https://docs.totem.ing/api/totemsdk-omnia/variables/PROGRAM_STATE_PORT_MIN | PROGRAM_STATE_PORT_MIN REGISTRY_ROOT_ACTION | https://docs.totem.ing/api/totemsdk-omnia/variables/REGISTRY_ROOT_ACTION | REGISTRY_ROOT_ACTION STATE_COMMITMENT_V2_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/STATE_COMMITMENT_V2_PORT | STATE_COMMITMENT_V2_PORT STATE_SEQUENCE_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/STATE_SEQUENCE_PORT | STATE_SEQUENCE_PORT STATE_SETTLEMENT_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/STATE_SETTLEMENT_PORT | STATE_SETTLEMENT_PORT TREASURY_MEMBERSHIP_SNAPSHOT_HASH_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/TREASURY_MEMBERSHIP_SNAPSHOT_HASH_PORT | TREASURY_MEMBERSHIP_SNAPSHOT_HASH_PORT TREASURY_OUTCOME_PROOF_ID_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/TREASURY_OUTCOME_PROOF_ID_PORT | TREASURY_OUTCOME_PROOF_ID_PORT TREASURY_PROGRAM_ID | https://docs.totem.ing/api/totemsdk-omnia/variables/TREASURY_PROGRAM_ID | TREASURY_PROGRAM_ID TREASURY_SPEND_CAP_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/TREASURY_SPEND_CAP_PORT | TREASURY_SPEND_CAP_PORT TREASURY_SPENT_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/TREASURY_SPENT_PORT | TREASURY_SPENT_PORT TREASURY_VOTE_TALLY_HASH_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/TREASURY_VOTE_TALLY_HASH_PORT | TREASURY_VOTE_TALLY_HASH_PORT TreasuryProgram | https://docs.totem.ing/api/totemsdk-omnia/variables/TreasuryProgram | TreasuryProgram # Variable: TreasuryProgram > `const` **TreasuryProgram**: [`ChannelProgram`](. VAULT_LOCKED_VALUE_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/VAULT_LOCKED_VALUE_PORT | VAULT_LOCKED_VALUE_PORT VAULT_PROGRAM_ID | https://docs.totem.ing/api/totemsdk-omnia/variables/VAULT_PROGRAM_ID | VAULT_PROGRAM_ID VAULT_RELEASE_SEQUENCE_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/VAULT_RELEASE_SEQUENCE_PORT | VAULT_RELEASE_SEQUENCE_PORT VAULT_SWEPT_PORT | https://docs.totem.ing/api/totemsdk-omnia/variables/VAULT_SWEPT_PORT | VAULT_SWEPT_PORT VaultProgram | https://docs.totem.ing/api/totemsdk-omnia/variables/VaultProgram | VaultProgram # Variable: VaultProgram > `const` **VaultProgram**: [`ChannelProgram`](. WOTS_CAPACITY_TOTAL | https://docs.totem.ing/api/totemsdk-omnia/variables/WOTS_CAPACITY_TOTAL | WOTS_CAPACITY_TOTAL computeLegacyTxDraftDigest | https://docs.totem.ing/api/totemsdk-omnia/variables/computeLegacyTxDraftDigest | LegacyTxDraftDigest # Variable: computeLegacyTxDraftDigest > `const` **computeLegacyTxDraftDigest**: (`draft`) => `Uint8Array` = `computeTxDraftDigest` Legacy/test-only JSON draft digest. acceptFactory | https://docs.totem.ing/api/totemsdk-omnia-factory/functions/acceptFactory | Factory # Function: acceptFactory() > **acceptFactory**(`factory`, `bundle`): `Promise`\<[`ChannelFactory`](. buildAndHashFactoryScript | https://docs.totem.ing/api/totemsdk-omnia-factory/functions/buildAndHashFactoryScript | AndHashFactoryScript # Function: buildAndHashFactoryScript() > **buildAndHashFactoryScript**(`participants`): `object` Build the factory script and compute its canonical address in one step. buildDisputePayload | https://docs.totem.ing/api/totemsdk-omnia-factory/functions/buildDisputePayload | DisputePayload # Function: buildDisputePayload() > **buildDisputePayload**(`factory`, `evidence`): [`FactoryDisputePayload`](. buildFactoryScript | https://docs.totem.ing/api/totemsdk-omnia-factory/functions/buildFactoryScript | FactoryScript # Function: buildFactoryScript() > **buildFactoryScript**(`participants`): `string` Build the N-of-N MULTISIG MAST funding script for a channel factory. closeFactory | https://docs.totem.ing/api/totemsdk-omnia-factory/functions/closeFactory | Factory # Function: closeFactory() > **closeFactory**(`factory`, `leaseProviders`, `chainProvider? closeVirtualChannel | https://docs.totem.ing/api/totemsdk-omnia-factory/functions/closeVirtualChannel | VirtualChannel # Function: closeVirtualChannel() > **closeVirtualChannel**(`factory`, `channel`, `leaseProviders`): `Promise`\<[`ChannelFactory`](. computeFactoryStateCommitment | https://docs.totem.ing/api/totemsdk-omnia-factory/functions/computeFactoryStateCommitment | FactoryStateCommitment # Function: computeFactoryStateCommitment() > **computeFactoryStateCommitment**(`factoryId`, `sequence`, `pendingAllocations`, `virtualChannelIds`): `Uint8Array` Compute the canonical 32-byte state commitment for N-of-N factory signing. createDurableFactoryStore | https://docs.totem.ing/api/totemsdk-omnia-factory/functions/createDurableFactoryStore | DurableFactoryStore # Function: createDurableFactoryStore() > **createDurableFactoryStore**(`adapter`, `options? createFactory | https://docs.totem.ing/api/totemsdk-omnia-factory/functions/createFactory | Factory # Function: createFactory() > **createFactory**(`participants`, `tokenId`, `bundle`, `chainProvider? enforceConservation | https://docs.totem.ing/api/totemsdk-omnia-factory/functions/enforceConservation | Conservation # Function: enforceConservation() > **enforceConservation**(`factory`): `void` Enforce the factory's balance conservation invariant: sum(allocations) + sum(virtualChannel. normalizeScript | https://docs.totem.ing/api/totemsdk-omnia-factory/functions/normalizeScript | normalizeScript openVirtualChannel | https://docs.totem.ing/api/totemsdk-omnia-factory/functions/openVirtualChannel | VirtualChannel # Function: openVirtualChannel() > **openVirtualChannel**(`factory`, `parties`, `amounts`, `leaseProviders`, `channelId? reallocate | https://docs.totem.ing/api/totemsdk-omnia-factory/functions/reallocate | Function: reallocate() > **reallocate**(`factory`, `fromPartyId`, `toPartyId`, `amount`, `leaseProviders`): `Promise`\<[`ChannelFactory`](. scriptAddress | https://docs.totem.ing/api/totemsdk-omnia-factory/functions/scriptAddress | Address # Function: scriptAddress() > **scriptAddress**(`script`): `string` Compute the SHA3-256 script-hash address for a factory script. ChannelFactory | https://docs.totem.ing/api/totemsdk-omnia-factory/interfaces/ChannelFactory | ChannelFactory # Interface: ChannelFactory ## Properties ### allocations > **allocations**: `Record`\<`string`, `bigint`\> Current committed allocations: sum must equal `totalValue − sum(vc. DurableFactoryStore | https://docs.totem.ing/api/totemsdk-omnia-factory/interfaces/DurableFactoryStore | DurableFactoryStore # Interface: DurableFactoryStore ## Methods ### getFactory() > **getFactory**(`factoryId`): `Promise`\<[`ChannelFactory`](ChannelFactory. DurableFactoryStoreOptions | https://docs.totem.ing/api/totemsdk-omnia-factory/interfaces/DurableFactoryStoreOptions | DurableFactoryStoreOptions # Interface: DurableFactoryStoreOptions ## Properties ### namespace? FactoryDisputePayload | https://docs.totem.ing/api/totemsdk-omnia-factory/interfaces/FactoryDisputePayload | FactoryDisputePayload # Interface: FactoryDisputePayload ## Properties ### allocations > **allocations**: `Record`\<`string`, `bigint`\> *** ### evidence > **evidence**: `string` *** ### factoryId > **factoryId**: `string` *** ### fundingTxId > **fundingTxId**: `string` *** ### latestSequence > **latestSequence**: `number` *** ### stateLog > **stateLog**: [`FactoryLogEntry`](FactoryLogEntry. FactoryLeaseOps | https://docs.totem.ing/api/totemsdk-omnia-factory/interfaces/FactoryLeaseOps | FactoryLeaseOps # Interface: FactoryLeaseOps Minimal lease operations required by the factory signing cycle. FactoryLogEntry | https://docs.totem.ing/api/totemsdk-omnia-factory/interfaces/FactoryLogEntry | FactoryLogEntry FactoryParticipant | https://docs.totem.ing/api/totemsdk-omnia-factory/interfaces/FactoryParticipant | FactoryParticipant # Interface: FactoryParticipant ## Properties ### addressIndex > **addressIndex**: `number` *** ### contributionAmount > **contributionAmount**: `bigint` Amount this participant contributes to the factory. FactoryRegistryState | https://docs.totem.ing/api/totemsdk-omnia-factory/interfaces/FactoryRegistryState | FactoryRegistryState # Interface: FactoryRegistryState ## Properties ### factories > **factories**: `Record`\<`string`, [`ChannelFactory`](ChannelFactory. FactorySettlementPayload | https://docs.totem.ing/api/totemsdk-omnia-factory/interfaces/FactorySettlementPayload | FactorySettlementPayload # Interface: FactorySettlementPayload ## Properties ### factoryId > **factoryId**: `string` *** ### finalAllocations > **finalAllocations**: `Record`\<`string`, `bigint`\> *** ### sequence > **sequence**: `number` *** ### settlementTxHex > **settlementTxHex**: `string` Serialized settlement OmniaTxDraft (hex) — built by `serializeTxDraft` from @totemsdk/omnia. OmniaChannel | https://docs.totem.ing/api/totemsdk-omnia-factory/interfaces/OmniaChannel | OmniaChannel # Interface: OmniaChannel ## Properties ### balances > **balances**: `Record`\<`partyId`, `bigint`\> *** ### channelId > **channelId**: `string` *** ### channelType > **channelType**: `"direct"` \| `"virtual"` *** ### createdAt > **createdAt**: `number` *** ### currentSequence > **currentSequence**: `number` *** ### factoryRef? WotsLeaseBundle | https://docs.totem.ing/api/totemsdk-omnia-factory/interfaces/WotsLeaseBundle | WotsLeaseBundle # Interface: WotsLeaseBundle Bundle of `FactoryLeaseOps` + `ChannelSigner` for one factory participant. FactorySignature | https://docs.totem.ing/api/totemsdk-omnia-factory/type-aliases/FactorySignature | FactorySignature FactoryStatus | https://docs.totem.ing/api/totemsdk-omnia-factory/type-aliases/FactoryStatus | FactoryStatus DisabledAnalyticsStore | https://docs.totem.ing/api/totemsdk-omnia-host/classes/DisabledAnalyticsStore | DisabledAnalyticsStore # Class: DisabledAnalyticsStore No-op analytics backend for phase 9 deployments without DuckDB enabled. DuckDbAnalyticsStore | https://docs.totem.ing/api/totemsdk-omnia-host/classes/DuckDbAnalyticsStore | DuckDbAnalyticsStore # Class: DuckDbAnalyticsStore ## Implements - [`AnalyticsStore`](. GoRoutingProvider | https://docs.totem.ing/api/totemsdk-omnia-host/classes/GoRoutingProvider | GoRoutingProvider # Class: GoRoutingProvider Optional phase-10 provider for a compiled Go router speaking JSONL over stdio. InProcessRoutingProvider | https://docs.totem.ing/api/totemsdk-omnia-host/classes/InProcessRoutingProvider | InProcessRoutingProvider # Class: InProcessRoutingProvider Default in-process TypeScript routing engine. JsonFileStorageAdapter | https://docs.totem.ing/api/totemsdk-omnia-host/classes/JsonFileStorageAdapter | JsonFileStorageAdapter # Class: JsonFileStorageAdapter JSON-file-backed StorageAdapter rooted at a directory next to the channel DB. OperationStore | https://docs.totem.ing/api/totemsdk-omnia-host/classes/OperationStore | OperationStore # Class: OperationStore Durable operation journal with atomic status transitions. SqliteChannelStore | https://docs.totem.ing/api/totemsdk-omnia-host/classes/SqliteChannelStore | SqliteChannelStore # Class: SqliteChannelStore SQLite-backed Map facade accepted by @totemsdk/omnia's ChannelStore type. createHostIdentityAndManifest | https://docs.totem.ing/api/totemsdk-omnia-host/functions/createHostIdentityAndManifest | HostIdentityAndManifest # Function: createHostIdentityAndManifest() > **createHostIdentityAndManifest**(`config`, `signing`): `Promise`\<[`HostIdentityAndManifest`](. createHostManifest | https://docs.totem.ing/api/totemsdk-omnia-host/functions/createHostManifest | HostManifest # Function: createHostManifest() > **createHostManifest**(`config`, `signing`, `identity? createHostMethods | https://docs.totem.ing/api/totemsdk-omnia-host/functions/createHostMethods | HostMethods # Function: createHostMethods() > **createHostMethods**(`context`): `Map`\<`string`, `JsonRpcHandler`\> ## Parameters ### context [`HostApiContext`](. createHostSigning | https://docs.totem.ing/api/totemsdk-omnia-host/functions/createHostSigning | HostSigning # Function: createHostSigning() > **createHostSigning**(`config`): [`HostSigning`](. createOmniaHost | https://docs.totem.ing/api/totemsdk-omnia-host/functions/createOmniaHost | OmniaHost # Function: createOmniaHost() > **createOmniaHost**(`config`, `dependencies? createTotemNodeAdapter | https://docs.totem.ing/api/totemsdk-omnia-host/functions/createTotemNodeAdapter | TotemNodeAdapter # Function: createTotemNodeAdapter() > **createTotemNodeAdapter**(`options`): [`TotemNodeAdapter`](. encryptSeedForKeyfile | https://docs.totem.ing/api/totemsdk-omnia-host/functions/encryptSeedForKeyfile | SeedForKeyfile # Function: encryptSeedForKeyfile() > **encryptSeedForKeyfile**(`seed`, `passphrase`): `KeyfilePayload` Encrypt a 32-byte seed into a keyfile payload (used by tooling/tests). hasSigningMaterial | https://docs.totem.ing/api/totemsdk-omnia-host/functions/hasSigningMaterial | SigningMaterial # Function: hasSigningMaterial() > **hasSigningMaterial**(`config`): `boolean` True when the config carries signing material (seed or keyfile). initializeDuckDb | https://docs.totem.ing/api/totemsdk-omnia-host/functions/initializeDuckDb | DuckDb # Function: initializeDuckDb() > **initializeDuckDb**(`db`): `Promise`\<`void`\> ## Parameters ### db [`DuckDbConnection`](. leaseStorageDir | https://docs.totem.ing/api/totemsdk-omnia-host/functions/leaseStorageDir | StorageDir # Function: leaseStorageDir() > **leaseStorageDir**(`dbPath`): `string` Directory holding the lease journal/watermark next to the channel DB. loadConfigFromEnv | https://docs.totem.ing/api/totemsdk-omnia-host/functions/loadConfigFromEnv | ConfigFromEnv # Function: loadConfigFromEnv() > **loadConfigFromEnv**(`env? loadHostIdentity | https://docs.totem.ing/api/totemsdk-omnia-host/functions/loadHostIdentity | HostIdentity # Function: loadHostIdentity() > **loadHostIdentity**(`config`, `signing`): [`HostIdentity`](. AnalyticsEvent | https://docs.totem.ing/api/totemsdk-omnia-host/interfaces/AnalyticsEvent | AnalyticsEvent # Interface: AnalyticsEvent ## Properties ### channelId? AnalyticsStore | https://docs.totem.ing/api/totemsdk-omnia-host/interfaces/AnalyticsStore | AnalyticsStore # Interface: AnalyticsStore ## Methods ### append() > **append**(`event`): `Promise`\<`void`\> #### Parameters ##### event [`AnalyticsEvent`](AnalyticsEvent. ConfirmationOptions | https://docs.totem.ing/api/totemsdk-omnia-host/interfaces/ConfirmationOptions | ConfirmationOptions # Interface: ConfirmationOptions ## Properties ### minConfirmations? DuckDbConnection | https://docs.totem.ing/api/totemsdk-omnia-host/interfaces/DuckDbConnection | DuckDbConnection # Interface: DuckDbConnection Adapter boundary for the optional DuckDB implementation. HostApiContext | https://docs.totem.ing/api/totemsdk-omnia-host/interfaces/HostApiContext | HostApiContext # Interface: HostApiContext ## Properties ### chainProvider? HostIdentity | https://docs.totem.ing/api/totemsdk-omnia-host/interfaces/HostIdentity | HostIdentity # Interface: HostIdentity ## Properties ### delegation? HostIdentityAndManifest | https://docs.totem.ing/api/totemsdk-omnia-host/interfaces/HostIdentityAndManifest | HostIdentityAndManifest # Interface: HostIdentityAndManifest ## Properties ### identity? HostSigning | https://docs.totem.ing/api/totemsdk-omnia-host/interfaces/HostSigning | HostSigning # Interface: HostSigning ## Properties ### address > **address**: `string` *** ### addressIndex > **addressIndex**: `number` *** ### baseSeed > **baseSeed**: `Uint8Array` 32-byte base seed (used by the identity/manifest layer). OmniaHost | https://docs.totem.ing/api/totemsdk-omnia-host/interfaces/OmniaHost | OmniaHost # Interface: OmniaHost ## Properties ### channels? OmniaHostConfig | https://docs.totem.ing/api/totemsdk-omnia-host/interfaces/OmniaHostConfig | OmniaHostConfig # Interface: OmniaHostConfig ## Properties ### analyticsDbPath? OperationRecord | https://docs.totem.ing/api/totemsdk-omnia-host/interfaces/OperationRecord | OperationRecord # Interface: OperationRecord ## Properties ### createdAt > **createdAt**: `number` *** ### error? RouteQuery | https://docs.totem.ing/api/totemsdk-omnia-host/interfaces/RouteQuery | RouteQuery # Interface: RouteQuery ## Properties ### amount > **amount**: `bigint` *** ### from > **from**: `string` *** ### maxHops? RoutingProvider | https://docs.totem.ing/api/totemsdk-omnia-host/interfaces/RoutingProvider | RoutingProvider # Interface: RoutingProvider ## Methods ### getRoute() > **getRoute**(`query`): `Route` \| `CrossTokenRoute` \| `Promise`\<`Route` \| `CrossTokenRoute` \| `null`\> \| `null` #### Parameters ##### query [`RouteQuery`](RouteQuery. TotemNodeAdapter | https://docs.totem.ing/api/totemsdk-omnia-host/interfaces/TotemNodeAdapter | TotemNodeAdapter # Interface: TotemNodeAdapter ## Extends - `ChainStateProvider` ## Methods ### broadcastTxPoW() > **broadcastTxPoW**(`txpowHex`): `Promise`\<`BroadcastResult`\> #### Parameters ##### txpowHex `string` #### Returns `Promise`\<`BroadcastResult`\> #### Inherited from `ChainStateProvider. TotemNodeAdapterOptions | https://docs.totem.ing/api/totemsdk-omnia-host/interfaces/TotemNodeAdapterOptions | TotemNodeAdapterOptions # Interface: TotemNodeAdapterOptions ## Properties ### client? OperationStatus | https://docs.totem.ing/api/totemsdk-omnia-host/type-aliases/OperationStatus | OperationStatus OperationStoreLike | https://docs.totem.ing/api/totemsdk-omnia-host/type-aliases/OperationStoreLike | OperationStoreLike # Type Alias: OperationStoreLike > **OperationStoreLike** = `Pick`\<[`OperationStore`](. acceptCommitment | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/acceptCommitment | Commitment # Function: acceptCommitment() > **acceptCommitment**(`params`): `Promise`\<\{ `commitment`: `LiquidityCommitment`; `registry`: `LiquidityBondRegistryState`; \}\> Accept an LP commitment and register it — only after on-chain verification confirms the funding. allocatePositionCapital | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/allocatePositionCapital | PositionCapital # Function: allocatePositionCapital() > **allocatePositionCapital**(`params`, `registry`): `Promise`\<[`AllocationResult`](. approveWithdrawal | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/approveWithdrawal | Withdrawal # Function: approveWithdrawal() > **approveWithdrawal**(`intent`, `position`, `registry`): `object` Approve a withdrawal intent. claimFees | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/claimFees | Fees # Function: claimFees() > **claimFees**(`pool`, `position`, `registry`, `opts`): `object` Claim accrued LP fees. commitRegistryTransition | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/commitRegistryTransition | RegistryTransition # Function: commitRegistryTransition() > **commitRegistryTransition**(`params`): `Promise`\<`RegistrySignedTransition`\> One-shot helper for transitions that do not carry their own rooting context (e. commitToPool | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/commitToPool | ToPool # Function: commitToPool() > **commitToPool**(`params`): `object` Create a signed LP commitment carrying the funding coin as `declared`. compoundFees | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/compoundFees | Fees # Function: compoundFees() > **compoundFees**(`pool`, `position`, `registry`, `opts`): `object` Compound accrued LP fees back into the position's principal. computePoolNAV | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/computePoolNAV | PoolNAV # Function: computePoolNAV() > **computePoolNAV**(`pool`, `registry`, `filter? computePoolRiskScore | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/computePoolRiskScore | PoolRiskScore # Function: computePoolRiskScore() > **computePoolRiskScore**(`pool`, `registry`): `number` Compute aggregate pool risk score as the average of active position scores. computeUnclaimedFees | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/computeUnclaimedFees | UnclaimedFees # Function: computeUnclaimedFees() > **computeUnclaimedFees**(`position`, `registry`): `bigint` Compute the total unclaimed LP fee entitlement for a position. createChannelLoader | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/createChannelLoader | ChannelLoader # Function: createChannelLoader() > **createChannelLoader**(`store`): (`channelId`) => `Promise`\<`OmniaChannel`\> Build a `loadChannel(channelId)` port that reads a persisted channel snapshot and recovers the live `OmniaChannel` object. createDurableChannelSnapshotStore | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/createDurableChannelSnapshotStore | DurableChannelSnapshotStore # Function: createDurableChannelSnapshotStore() > **createDurableChannelSnapshotStore**(`adapter`, `options? createOmniaPool | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/createOmniaPool | OmniaPool # Function: createOmniaPool() > **createOmniaPool**(`params`, `state`): [`OmniaPool`](. createPositionFromCommitment | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/createPositionFromCommitment | PositionFromCommitment # Function: createPositionFromCommitment() > **createPositionFromCommitment**(`commitment`, `pool`, `registry`, `underlyingRefs? depositToPool | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/depositToPool | ToPool # Function: depositToPool() > **depositToPool**(`params`, `registry`): `Promise`\<[`DepositToPoolResult`](. executeAutonomousRebalanceStep | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/executeAutonomousRebalanceStep | AutonomousRebalanceStep # Function: executeAutonomousRebalanceStep() > **executeAutonomousRebalanceStep**(`options`, `step`): `Promise`\<[`AutonomousRebalanceResult`](. executePoolPayout | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/executePoolPayout | PoolPayout # Function: executePoolPayout() > **executePoolPayout**(`params`, `registry`): `Promise`\<\{ `execution? getUtilisation | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/getUtilisation | Utilisation # Function: getUtilisation() > **getUtilisation**(`pool`, `registry`): `number` Get pool utilisation from the liquidity-bond registry. issueLpReceipt | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/issueLpReceipt | LpReceipt # Function: issueLpReceipt() > **issueLpReceipt**(`position`, `pool`, `registry`): `object` Issue a non-custodial LP receipt for a position. loadChannelFromSnapshotStore | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/loadChannelFromSnapshotStore | ChannelFromSnapshotStore # Function: loadChannelFromSnapshotStore() > **loadChannelFromSnapshotStore**(`store`, `channelId`): `Promise`\<`OmniaChannel`\> Load a channel from a snapshot store by id (see `createChannelLoader`). loadOmniaPool | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/loadOmniaPool | OmniaPool # Function: loadOmniaPool() > **loadOmniaPool**(`poolId`, `state`): [`OmniaPool`](. makeOmniaFeePolicy | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/makeOmniaFeePolicy | OmniaFeePolicy # Function: makeOmniaFeePolicy() > **makeOmniaFeePolicy**(`lpFeeBps? makeOmniaLockTerms | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/makeOmniaLockTerms | OmniaLockTerms # Function: makeOmniaLockTerms() > **makeOmniaLockTerms**(`minLockMs? maybeSignTransition | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/maybeSignTransition | SignTransition # Function: maybeSignTransition() > **maybeSignTransition**(`rooting`, `registry`, `op`, `previousRoot? prepareRebalanceStep | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/prepareRebalanceStep | RebalanceStep # Function: prepareRebalanceStep() > **prepareRebalanceStep**(`runId`, `principal`, `agentId`, `step`): `object` Reduce a prepared rebalance step to a canonical action and authorize it. quiescePosition | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/quiescePosition | Position # Function: quiescePosition() > **quiescePosition**(`position`, `registry`): `object` Mark a position and its active allocations as quiescing, preparing for splice-out/close. rebalancePoolCapital | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/rebalancePoolCapital | PoolCapital # Function: rebalancePoolCapital() > **rebalancePoolCapital**(`params`, `position`, `registry`): `Promise`\<\{ `newAllocation`: `LiquidityAllocation`; `position`: `LiquidityPosition`; `registry`: `LiquidityBondRegistryState`; `released`: `LiquidityAllocation`; \}\> Rebalance capital from one allocation to another target/backend. recordPoolFee | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/recordPoolFee | PoolFee # Function: recordPoolFee() > **recordPoolFee**(`params`, `registry`): `object` Record a fee against a pool position, splitting between LP and operator. releaseAllocation | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/releaseAllocation | Allocation # Function: releaseAllocation() > **releaseAllocation**(`params`, `registry`): `object` Release an allocation and restore its position's available liquidity. saveChannelSnapshot | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/saveChannelSnapshot | ChannelSnapshot # Function: saveChannelSnapshot() > **saveChannelSnapshot**(`store`, `channel`): `Promise`\<`void`\> Persist a channel's snapshot so it can be recovered later by id. toOmniaPoolFeeRecord | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/toOmniaPoolFeeRecord | OmniaPoolFeeRecord # Function: toOmniaPoolFeeRecord() > **toOmniaPoolFeeRecord**(`record`): [`OmniaPoolFeeRecord`](. withdrawLiquidity | https://docs.totem.ing/api/totemsdk-omnia-pool/functions/withdrawLiquidity | Liquidity # Function: withdrawLiquidity() > **withdrawLiquidity**(`pool`, `position`, `opts`, `registry`): [`OmniaPoolWithdrawalResult`](. AutonomousRebalanceOptions | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/AutonomousRebalanceOptions | AutonomousRebalanceOptions # Interface: AutonomousRebalanceOptions ## Properties ### agentId > **agentId**: `string` *** ### ctx? AutonomousRebalanceResult | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/AutonomousRebalanceResult | AutonomousRebalanceResult # Interface: AutonomousRebalanceResult ## Properties ### allocation? ChannelCloseResult | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/ChannelCloseResult | ChannelCloseResult # Interface: ChannelCloseResult Result of closing a pool-backed Omnia channel. ChannelSnapshotStore | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/ChannelSnapshotStore | ChannelSnapshotStore # Interface: ChannelSnapshotStore Minimal keyed snapshot store for channel persistence. ClaimFeesOptions | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/ClaimFeesOptions | ClaimFeesOptions # Interface: ClaimFeesOptions Options for fee operations. CompoundFeesOptions | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/CompoundFeesOptions | CompoundFeesOptions # Interface: CompoundFeesOptions ## Properties ### payoutRef? CreateOmniaPoolParams | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/CreateOmniaPoolParams | CreateOmniaPoolParams # Interface: CreateOmniaPoolParams ## Properties ### capacity > **capacity**: `string` *** ### feePolicy > **feePolicy**: `LiquidityFeePolicy` *** ### lockTerms? DepositToPoolResult | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/DepositToPoolResult | DepositToPoolResult # Interface: DepositToPoolResult ## Properties ### pool > **pool**: `LiquidityPoolManifest` *** ### poolId > **poolId**: `string` *** ### position > **position**: `LiquidityPosition` *** ### receipt > **receipt**: `LiquidityReceipt` *** ### signedTransition? DurableChannelSnapshotStore | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/DurableChannelSnapshotStore | DurableChannelSnapshotStore # Interface: DurableChannelSnapshotStore Minimal keyed snapshot store for channel persistence. DurableChannelSnapshotStoreOptions | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/DurableChannelSnapshotStoreOptions | DurableChannelSnapshotStoreOptions # Interface: DurableChannelSnapshotStoreOptions ## Properties ### namespace? FactoryExecutionPort | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/FactoryExecutionPort | FactoryExecutionPort # Interface: FactoryExecutionPort Minimal port wrapping live channel factory operations. OmniaExecutionPort | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/OmniaExecutionPort | OmniaExecutionPort # Interface: OmniaExecutionPort Minimal port wrapping live Omnia channel operations. OmniaPool | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/OmniaPool | OmniaPool # Interface: OmniaPool ## Properties ### deploymentContext? OmniaPoolAllocationContext | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/OmniaPoolAllocationContext | OmniaPoolAllocationContext # Interface: OmniaPoolAllocationContext ## Properties ### factory? OmniaPoolDeploymentContext | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/OmniaPoolDeploymentContext | OmniaPoolDeploymentContext # Interface: OmniaPoolDeploymentContext ## Properties ### chainProvider? OmniaPoolFeeRecord | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/OmniaPoolFeeRecord | OmniaPoolFeeRecord OmniaPoolWithdrawalResult | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/OmniaPoolWithdrawalResult | OmniaPoolWithdrawalResult # Interface: OmniaPoolWithdrawalResult ## Properties ### execution? PoolNAV | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/PoolNAV | PoolNAV # Interface: PoolNAV ## Properties ### accruedFees > **accruedFees**: `bigint` Sum of recorded but unclaimed LP fees. PoolSigner | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/PoolSigner | PoolSigner # Interface: PoolSigner Signer aligned with `@totemsdk/omnia` `ChannelSigner`: lease-backed WOTS with signing indices — `sign(digest)` alone is too thin for Omnia. PreparedRebalanceStep | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/PreparedRebalanceStep | PreparedRebalanceStep # Interface: PreparedRebalanceStep A prepared rebalance step: the wallet-built tx draft + its canonical facts. RebalanceChannelUpdate | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/RebalanceChannelUpdate | RebalanceChannelUpdate # Interface: RebalanceChannelUpdate The channel state update a rebalance performs on a live channel. RegistryRootingContext | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/RegistryRootingContext | RegistryRootingContext # Interface: RegistryRootingContext Optional signing context that makes a registry transition anchorable. RouterExecutionPort | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/RouterExecutionPort | RouterExecutionPort # Interface: RouterExecutionPort Minimal port wrapping live router operations. SpliceExecutionPort | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/SpliceExecutionPort | SpliceExecutionPort # Interface: SpliceExecutionPort Minimal port wrapping live splice operations. VtxoExecutionPort | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/VtxoExecutionPort | VtxoExecutionPort # Interface: VtxoExecutionPort Minimal port wrapping live VTXO pool operations. WithdrawLiquidityOptions | https://docs.totem.ing/api/totemsdk-omnia-pool/interfaces/WithdrawLiquidityOptions | WithdrawLiquidityOptions # Interface: WithdrawLiquidityOptions Options for creating a withdrawal intent. AllocatePositionCapitalParams | https://docs.totem.ing/api/totemsdk-omnia-pool/type-aliases/AllocatePositionCapitalParams | AllocatePositionCapitalParams # Type Alias: AllocatePositionCapitalParams > **AllocatePositionCapitalParams** = `object` Params exported from allocate. AllocationResult | https://docs.totem.ing/api/totemsdk-omnia-pool/type-aliases/AllocationResult | AllocationResult # Type Alias: AllocationResult > **AllocationResult** = `object` ## Properties ### allocation > **allocation**: `LiquidityAllocation` *** ### execution? AllocationTarget | https://docs.totem.ing/api/totemsdk-omnia-pool/type-aliases/AllocationTarget | AllocationTarget # Type Alias: AllocationTarget > **AllocationTarget** = \{ `params`: `CreateChannelParams`; `type`: `"channel"`; \} \| \{ `params`: `FactoryCreationParams`; `type`: `"factory"`; \} \| \{ `channel`: `RouterChannel`; `type`: `"router"`; \} \| \{ `params`: `MintVtxoParams`; `pool`: `OmniaVtxoPool`; `type`: `"vtxo"`; \} \| \{ `purpose`: `string`; `type`: `"reserve"`; \} Convenience type for allocation targets. ExecutePoolPayoutParams | https://docs.totem.ing/api/totemsdk-omnia-pool/type-aliases/ExecutePoolPayoutParams | ExecutePoolPayoutParams # Type Alias: ExecutePoolPayoutParams > **ExecutePoolPayoutParams** = `object` ## Properties ### ctx? RebalanceAllocationParams | https://docs.totem.ing/api/totemsdk-omnia-pool/type-aliases/RebalanceAllocationParams | RebalanceAllocationParams # Type Alias: RebalanceAllocationParams > **RebalanceAllocationParams** = `object` ## Properties ### amount > **amount**: `string` *** ### ctx? RecordPoolFeeParams | https://docs.totem.ing/api/totemsdk-omnia-pool/type-aliases/RecordPoolFeeParams | RecordPoolFeeParams # Type Alias: RecordPoolFeeParams > **RecordPoolFeeParams** = `object` ## Properties ### earnProof? ReleaseAllocationParams | https://docs.totem.ing/api/totemsdk-omnia-pool/type-aliases/ReleaseAllocationParams | ReleaseAllocationParams addChannel | https://docs.totem.ing/api/totemsdk-omnia-router/functions/addChannel | Channel # Function: addChannel() > **addChannel**(`graph`, `edge`): `void` Add a directed channel edge to the graph. announceSwap | https://docs.totem.ing/api/totemsdk-omnia-router/functions/announceSwap | Swap # Function: announceSwap() > **announceSwap**(`graph`, `announcement`): `void` Register a swap announcement from a bridging intermediary. applyRate | https://docs.totem.ing/api/totemsdk-omnia-router/functions/applyRate | applyRate buildCrossTokenRequest | https://docs.totem.ing/api/totemsdk-omnia-router/functions/buildCrossTokenRequest | CrossTokenRequest # Function: buildCrossTokenRequest() > **buildCrossTokenRequest**(`amountOut`, `tokenOut`, `expiryBlock`, `description? buildPaymentRequest | https://docs.totem.ing/api/totemsdk-omnia-router/functions/buildPaymentRequest | PaymentRequest # Function: buildPaymentRequest() > **buildPaymentRequest**(`amount`, `tokenId`, `expiryBlock`, `description? buildRouterFeeProof | https://docs.totem.ing/api/totemsdk-omnia-router/functions/buildRouterFeeProof | RouterFeeProof # Function: buildRouterFeeProof() > **buildRouterFeeProof**(`channel`, `htlc`, `settledAt? cancelPayment | https://docs.totem.ing/api/totemsdk-omnia-router/functions/cancelPayment | Payment # Function: cancelPayment() > **cancelPayment**(`ops`, `channels`, `route`, `leaseProviders`): `Promise`\<`void`\> Cancel all pending HTLCs on a route by calling timeoutHTLC on each hop. computeRouterFeeProofHash | https://docs.totem.ing/api/totemsdk-omnia-router/functions/computeRouterFeeProofHash | RouterFeeProofHash # Function: computeRouterFeeProofHash() > **computeRouterFeeProofHash**(`proof`): `string` ## Parameters ### proof [`RouterFeeProof`](. createChannelGraph | https://docs.totem.ing/api/totemsdk-omnia-router/functions/createChannelGraph | ChannelGraph # Function: createChannelGraph() > **createChannelGraph**(): [`ChannelGraph`](. createDurableRouterLedger | https://docs.totem.ing/api/totemsdk-omnia-router/functions/createDurableRouterLedger | DurableRouterLedger # Function: createDurableRouterLedger() > **createDurableRouterLedger**(`adapter`, `options? executeCrossTokenPayment | https://docs.totem.ing/api/totemsdk-omnia-router/functions/executeCrossTokenPayment | CrossTokenPayment # Function: executeCrossTokenPayment() > **executeCrossTokenPayment**(`ops`, `channels`, `route`, `paymentRequest`, `leaseProviders`): `Promise`\<[`PaymentResult`](. executeMultiHopPayment | https://docs.totem.ing/api/totemsdk-omnia-router/functions/executeMultiHopPayment | MultiHopPayment # Function: executeMultiHopPayment() > **executeMultiHopPayment**(`ops`, `channels`, `route`, `paymentRequest`, `leaseProviders`): `Promise`\<[`PaymentResult`](. findCrossTokenRoute | https://docs.totem.ing/api/totemsdk-omnia-router/functions/findCrossTokenRoute | CrossTokenRoute # Function: findCrossTokenRoute() > **findCrossTokenRoute**(`graph`, `from`, `to`, `amountIn`, `tokenIn`, `tokenOut`, `opts? findRoute | https://docs.totem.ing/api/totemsdk-omnia-router/functions/findRoute | Route # Function: findRoute() > **findRoute**(`graph`, `from`, `to`, `amount`, `tokenId`, `opts? getSwapAnnouncements | https://docs.totem.ing/api/totemsdk-omnia-router/functions/getSwapAnnouncements | SwapAnnouncements # Function: getSwapAnnouncements() > **getSwapAnnouncements**(`graph`, `tokenIn`, `tokenOut`): [`SwapAnnouncement`](. parseRateToScaled | https://docs.totem.ing/api/totemsdk-omnia-router/functions/parseRateToScaled | RateToScaled # Function: parseRateToScaled() > **parseRateToScaled**(`rate`): `bigint` Parse a decimal rate string to a scaled bigint (SCALE = 10^8). removeChannel | https://docs.totem.ing/api/totemsdk-omnia-router/functions/removeChannel | Channel # Function: removeChannel() > **removeChannel**(`graph`, `channelId`): `void` Remove ALL directed edges for `channelId` (i. ChannelGraph | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/ChannelGraph | ChannelGraph # Interface: ChannelGraph In-memory channel graph with a swap announcement index. ChannelGraphEdge | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/ChannelGraphEdge | ChannelGraphEdge # Interface: ChannelGraphEdge A directed edge in the channel graph. ChannelHTLC | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/ChannelHTLC | ChannelHTLC # Interface: ChannelHTLC ## Properties ### amount > **amount**: `bigint` *** ### direction > **direction**: `"offered"` \| `"received"` *** ### hashlock > **hashlock**: `string` *** ### htlcAddress > **htlcAddress**: `string` *** ### htlcId > **htlcId**: `string` *** ### recipientPublicKeyDigest > **recipientPublicKeyDigest**: `string` *** ### senderPublicKeyDigest > **senderPublicKeyDigest**: `string` *** ### status > **status**: [`HTLCStatus`](. ChannelOps | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/ChannelOps | ChannelOps # Interface: ChannelOps Dependency-injected HTLC operations. ChannelParty | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/ChannelParty | ChannelParty # Interface: ChannelParty @totemsdk/omnia-router — public types All monetary values are scaled bigints (SCALE = 10^8). ChannelSigner | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/ChannelSigner | ChannelSigner CrossTokenRoute | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/CrossTokenRoute | CrossTokenRoute # Interface: CrossTokenRoute ## Extends - [`Route`](Route. DurableRouterLedger | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/DurableRouterLedger | DurableRouterLedger # Interface: DurableRouterLedger ## Methods ### getRevision() > **getRevision**(): `Promise`\<`number`\> #### Returns `Promise`\<`number`\> *** ### getSettled() > **getSettled**(`channelId`, `htlcId`): `Promise`\<[`SettledSegment`](SettledSegment. DurableRouterLedgerOptions | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/DurableRouterLedgerOptions | DurableRouterLedgerOptions # Interface: DurableRouterLedgerOptions ## Properties ### namespace? HTLCParams | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/HTLCParams | HTLCParams # Interface: HTLCParams Parameters for adding an HTLC — mirrors @totemsdk/omnia's AddHTLCParams. PaymentRequest | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/PaymentRequest | PaymentRequest # Interface: PaymentRequest ## Properties ### amount > **amount**: `bigint` *** ### description? PaymentResult | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/PaymentResult | PaymentResult # Interface: PaymentResult ## Properties ### error? Route | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/Route | Route # Interface: Route ## Extended by - [`CrossTokenRoute`](CrossTokenRoute. RouteOptions | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/RouteOptions | RouteOptions # Interface: RouteOptions ## Properties ### maxHops? RouterChannel | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/RouterChannel | RouterChannel # Interface: RouterChannel Minimal mirror of OmniaChannel — the fields the router actually reads. RouterFeeProof | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/RouterFeeProof | RouterFeeProof # Interface: RouterFeeProof A verifiable fee-provenance record for a settled hop (#29): the artifact a pool's `recordPoolFee` earn-proof consumes. RouterLedgerState | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/RouterLedgerState | RouterLedgerState # Interface: RouterLedgerState ## Properties ### segments > **segments**: `Record`\<`string`, [`SettledSegment`](SettledSegment. RoutingHop | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/RoutingHop | RoutingHop # Interface: RoutingHop ## Extended by - [`SwapHop`](SwapHop. SettledSegment | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/SettledSegment | SettledSegment # Interface: SettledSegment A payment segment that has been irrevocably settled by preimage reveal. SwapAnnouncement | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/SwapAnnouncement | SwapAnnouncement SwapHop | https://docs.totem.ing/api/totemsdk-omnia-router/interfaces/SwapHop | SwapHop # Interface: SwapHop ## Extends - [`RoutingHop`](RoutingHop. HTLCStatus | https://docs.totem.ing/api/totemsdk-omnia-router/type-aliases/HTLCStatus | HTLCStatus LeaseProvider | https://docs.totem.ing/api/totemsdk-omnia-router/type-aliases/LeaseProvider | LeaseProvider # Type Alias: LeaseProvider > **LeaseProvider** = `unknown` Opaque lease-provider handle — the router passes it through to the underlying HTLC operations but never inspects it. ROUTER_FEE_PROOF_DOMAIN | https://docs.totem.ing/api/totemsdk-omnia-router/variables/ROUTER_FEE_PROOF_DOMAIN | ROUTER_FEE_PROOF_DOMAIN PendingHTLCError | https://docs.totem.ing/api/totemsdk-omnia-splice/classes/PendingHTLCError | PendingHTLCError # Class: PendingHTLCError ## Extends - [`SpliceError`](SpliceError. SpliceBalanceConservationError | https://docs.totem.ing/api/totemsdk-omnia-splice/classes/SpliceBalanceConservationError | SpliceBalanceConservationError # Class: SpliceBalanceConservationError ## Extends - [`SpliceError`](SpliceError. SpliceChannelStatusError | https://docs.totem.ing/api/totemsdk-omnia-splice/classes/SpliceChannelStatusError | SpliceChannelStatusError # Class: SpliceChannelStatusError ## Extends - [`SpliceError`](SpliceError. SpliceError | https://docs.totem.ing/api/totemsdk-omnia-splice/classes/SpliceError | SpliceError # Class: SpliceError ## Extends - `Error` ## Extended by - [`PendingHTLCError`](PendingHTLCError. SpliceInsufficientFundsError | https://docs.totem.ing/api/totemsdk-omnia-splice/classes/SpliceInsufficientFundsError | SpliceInsufficientFundsError # Class: SpliceInsufficientFundsError ## Extends - [`SpliceError`](SpliceError. SpliceMissingPartyError | https://docs.totem.ing/api/totemsdk-omnia-splice/classes/SpliceMissingPartyError | SpliceMissingPartyError # Class: SpliceMissingPartyError ## Extends - [`SpliceError`](SpliceError. SpliceSignatureMismatchError | https://docs.totem.ing/api/totemsdk-omnia-splice/classes/SpliceSignatureMismatchError | SpliceSignatureMismatchError # Class: SpliceSignatureMismatchError ## Extends - [`SpliceError`](SpliceError. acceptSplice | https://docs.totem.ing/api/totemsdk-omnia-splice/functions/acceptSplice | Splice # Function: acceptSplice() > **acceptSplice**(`channel`, `proposal`, `leaseProvider`): `Promise`\<[`SpliceAcceptance`](. buildSpliceTx | https://docs.totem.ing/api/totemsdk-omnia-splice/functions/buildSpliceTx | SpliceTx # Function: buildSpliceTx() > **buildSpliceTx**(`channel`, `params`): [`SpliceTxDraft`](. computeSpliceTxDigest | https://docs.totem.ing/api/totemsdk-omnia-splice/functions/computeSpliceTxDigest | SpliceTxDigest # Function: computeSpliceTxDigest() > **computeSpliceTxDigest**(`draft`): `Uint8Array` Compute a 32-byte digest over the splice TX draft for WOTS signing. createDurableSpliceStore | https://docs.totem.ing/api/totemsdk-omnia-splice/functions/createDurableSpliceStore | DurableSpliceStore # Function: createDurableSpliceStore() > **createDurableSpliceStore**(`adapter`, `options? finalizeSplice | https://docs.totem.ing/api/totemsdk-omnia-splice/functions/finalizeSplice | Splice # Function: finalizeSplice() > **finalizeSplice**(`channel`, `proposal`, `acceptance`, `options? proposeSpliceIn | https://docs.totem.ing/api/totemsdk-omnia-splice/functions/proposeSpliceIn | SpliceIn # Function: proposeSpliceIn() > **proposeSpliceIn**(`channel`, `additionalCoinId`, `additionalAmount`, `leaseProvider`, `newBalances? proposeSpliceOut | https://docs.totem.ing/api/totemsdk-omnia-splice/functions/proposeSpliceOut | SpliceOut # Function: proposeSpliceOut() > **proposeSpliceOut**(`channel`, `withdrawAmount`, `withdrawAddress`, `leaseProvider`, `newBalances? quiesceChannel | https://docs.totem.ing/api/totemsdk-omnia-splice/functions/quiesceChannel | Channel # Function: quiesceChannel() > **quiesceChannel**(`channel`, `leaseProvider`, `options? spliceDraftToMinimaBytes | https://docs.totem.ing/api/totemsdk-omnia-splice/functions/spliceDraftToMinimaBytes | DraftToMinimaBytes # Function: spliceDraftToMinimaBytes() > **spliceDraftToMinimaBytes**(`draft`): `Uint8Array` Convert a SpliceTxDraft to canonical Minima binary TX bytes. DurableSpliceStore | https://docs.totem.ing/api/totemsdk-omnia-splice/interfaces/DurableSpliceStore | DurableSpliceStore # Interface: DurableSpliceStore ## Methods ### getRevision() > **getRevision**(): `Promise`\<`number`\> #### Returns `Promise`\<`number`\> *** ### getSnapshot() > **getSnapshot**(): `Promise`\<[`SpliceStoreState`](SpliceStoreState. DurableSpliceStoreOptions | https://docs.totem.ing/api/totemsdk-omnia-splice/interfaces/DurableSpliceStoreOptions | DurableSpliceStoreOptions # Interface: DurableSpliceStoreOptions ## Properties ### namespace? FinalizeSpliceOptions | https://docs.totem.ing/api/totemsdk-omnia-splice/interfaces/FinalizeSpliceOptions | FinalizeSpliceOptions # Interface: FinalizeSpliceOptions Options for `finalizeSplice`. QuiesceOptions | https://docs.totem.ing/api/totemsdk-omnia-splice/interfaces/QuiesceOptions | QuiesceOptions # Interface: QuiesceOptions Options for `quiesceChannel`. SpliceAcceptance | https://docs.totem.ing/api/totemsdk-omnia-splice/interfaces/SpliceAcceptance | SpliceAcceptance # Interface: SpliceAcceptance `acceptorReservationId` and `acceptorSigningIndices` carry the WOTS lease reservation used when producing `acceptorSignature`. SpliceLeaseProvider | https://docs.totem.ing/api/totemsdk-omnia-splice/interfaces/SpliceLeaseProvider | SpliceLeaseProvider # Interface: SpliceLeaseProvider ## Properties ### broadcast? SpliceParams | https://docs.totem.ing/api/totemsdk-omnia-splice/interfaces/SpliceParams | SpliceParams # Interface: SpliceParams ## Properties ### additionalAmount? SpliceProposal | https://docs.totem.ing/api/totemsdk-omnia-splice/interfaces/SpliceProposal | SpliceProposal # Interface: SpliceProposal Splice proposal produced by the initiating party. SpliceRecord | https://docs.totem.ing/api/totemsdk-omnia-splice/interfaces/SpliceRecord | SpliceRecord # Interface: SpliceRecord One in-progress splice: proposal persisted first, acceptance added later. SpliceSigningIndices | https://docs.totem.ing/api/totemsdk-omnia-splice/interfaces/SpliceSigningIndices | SpliceSigningIndices SpliceStoreState | https://docs.totem.ing/api/totemsdk-omnia-splice/interfaces/SpliceStoreState | SpliceStoreState # Interface: SpliceStoreState ## Properties ### splices > **splices**: `Record`\<`string`, [`SpliceRecord`](SpliceRecord. SpliceTxDraft | https://docs.totem.ing/api/totemsdk-omnia-splice/interfaces/SpliceTxDraft | SpliceTxDraft # Interface: SpliceTxDraft ## Properties ### channelId > **channelId**: `string` *** ### inputs > **inputs**: [`SpliceTxInput`](SpliceTxInput. SpliceTxInput | https://docs.totem.ing/api/totemsdk-omnia-splice/interfaces/SpliceTxInput | SpliceTxInput SpliceTxOutput | https://docs.totem.ing/api/totemsdk-omnia-splice/interfaces/SpliceTxOutput | SpliceTxOutput QuiescedChannel | https://docs.totem.ing/api/totemsdk-omnia-splice/type-aliases/QuiescedChannel | QuiescedChannel # Type Alias: QuiescedChannel > **QuiescedChannel** = `Omit`\<`OmniaChannel`, `"status"`\> & `object` A channel returned by `quiesceChannel`. SpliceRecordStatus | https://docs.totem.ing/api/totemsdk-omnia-splice/type-aliases/SpliceRecordStatus | SpliceRecordStatus SpliceType | https://docs.totem.ing/api/totemsdk-omnia-splice/type-aliases/SpliceType | SpliceType SplicedChannel | https://docs.totem.ing/api/totemsdk-omnia-splice/type-aliases/SplicedChannel | SplicedChannel # Type Alias: SplicedChannel > **SplicedChannel** = `OmniaChannel` & `object` A channel returned by `finalizeSplice`. WotsSignature | https://docs.totem.ing/api/totemsdk-omnia-splice/type-aliases/WotsSignature | WotsSignature MemoryOmniaVtxoStore | https://docs.totem.ing/api/totemsdk-omnia-vtxo/classes/MemoryOmniaVtxoStore | MemoryOmniaVtxoStore # Class: MemoryOmniaVtxoStore ## Implements - [`OmniaVtxoStore`](. OmniaVtxoError | https://docs.totem.ing/api/totemsdk-omnia-vtxo/classes/OmniaVtxoError | OmniaVtxoError # Class: OmniaVtxoError ## Extends - `Error` ## Extended by - [`VtxoAmountError`](VtxoAmountError. VtxoAmountError | https://docs.totem.ing/api/totemsdk-omnia-vtxo/classes/VtxoAmountError | VtxoAmountError # Class: VtxoAmountError ## Extends - [`OmniaVtxoError`](OmniaVtxoError. VtxoExitError | https://docs.totem.ing/api/totemsdk-omnia-vtxo/classes/VtxoExitError | VtxoExitError # Class: VtxoExitError ## Extends - [`OmniaVtxoError`](OmniaVtxoError. VtxoMergeError | https://docs.totem.ing/api/totemsdk-omnia-vtxo/classes/VtxoMergeError | VtxoMergeError # Class: VtxoMergeError ## Extends - [`OmniaVtxoError`](OmniaVtxoError. VtxoOwnershipError | https://docs.totem.ing/api/totemsdk-omnia-vtxo/classes/VtxoOwnershipError | VtxoOwnershipError # Class: VtxoOwnershipError ## Extends - [`OmniaVtxoError`](OmniaVtxoError. VtxoPolicyError | https://docs.totem.ing/api/totemsdk-omnia-vtxo/classes/VtxoPolicyError | VtxoPolicyError # Class: VtxoPolicyError ## Extends - [`OmniaVtxoError`](OmniaVtxoError. VtxoPoolCapacityError | https://docs.totem.ing/api/totemsdk-omnia-vtxo/classes/VtxoPoolCapacityError | VtxoPoolCapacityError # Class: VtxoPoolCapacityError ## Extends - [`OmniaVtxoError`](OmniaVtxoError. VtxoProofError | https://docs.totem.ing/api/totemsdk-omnia-vtxo/classes/VtxoProofError | VtxoProofError # Class: VtxoProofError ## Extends - [`OmniaVtxoError`](OmniaVtxoError. VtxoSplitError | https://docs.totem.ing/api/totemsdk-omnia-vtxo/classes/VtxoSplitError | VtxoSplitError # Class: VtxoSplitError ## Extends - [`OmniaVtxoError`](OmniaVtxoError. VtxoStatusError | https://docs.totem.ing/api/totemsdk-omnia-vtxo/classes/VtxoStatusError | VtxoStatusError # Class: VtxoStatusError ## Extends - [`OmniaVtxoError`](OmniaVtxoError. advancePoolEpoch | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/advancePoolEpoch | PoolEpoch # Function: advancePoolEpoch() > **advancePoolEpoch**(`pool`, `newEpoch`): [`OmniaVtxoPool`](. assertPoolCanMint | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/assertPoolCanMint | PoolCanMint # Function: assertPoolCanMint() > **assertPoolCanMint**(`pool`, `amount`): `void` ## Parameters ### pool [`OmniaVtxoPool`](. buildVtxoExitIntent | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/buildVtxoExitIntent | VtxoExitIntent # Function: buildVtxoExitIntent() > **buildVtxoExitIntent**(`vtxo`): [`VtxoExitIntent`](. buildVtxoProofSet | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/buildVtxoProofSet | VtxoProofSet # Function: buildVtxoProofSet() > **buildVtxoProofSet**(`vtxos`): [`VtxoProofSet`](. buildVtxoTransferIntent | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/buildVtxoTransferIntent | VtxoTransferIntent # Function: buildVtxoTransferIntent() > **buildVtxoTransferIntent**(`vtxo`, `recipient`, `amount`, `nonce`, `changeNonce? computeCommitmentRoot | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/computeCommitmentRoot | computeCommitmentRoot computePoolId | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/computePoolId | PoolId # Function: computePoolId() > **computePoolId**(`params`): `string` ## Parameters ### params [`ComputePoolIdParams`](. computeReceiptId | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/computeReceiptId | computeReceiptId computeVtxoId | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/computeVtxoId | VtxoId # Function: computeVtxoId() > **computeVtxoId**(`params`): `string` ## Parameters ### params [`ComputeVtxoIdParams`](. computeVtxoLeaf | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/computeVtxoLeaf | VtxoLeaf # Function: computeVtxoLeaf() > **computeVtxoLeaf**(`vtxo`): `string` ## Parameters ### vtxo [`OmniaVtxo`](. consumeExitReceipt | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/consumeExitReceipt | ExitReceipt # Function: consumeExitReceipt() > **consumeExitReceipt**(`vtxo`, `receiptId`, `now? createDurableOmniaVtxoStore | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/createDurableOmniaVtxoStore | DurableOmniaVtxoStore # Function: createDurableOmniaVtxoStore() > **createDurableOmniaVtxoStore**(`adapter`, `options? createExitDraft | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/createExitDraft | ExitDraft # Function: createExitDraft() > **createExitDraft**(`vtxo`, `now? createPool | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/createPool | Pool # Function: createPool() > **createPool**(`params`, `now`): [`OmniaVtxoPool`](. deserializePool | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/deserializePool | Pool # Function: deserializePool() > **deserializePool**(`json`): [`OmniaVtxoPool`](. deserializeVtxo | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/deserializeVtxo | Vtxo # Function: deserializeVtxo() > **deserializeVtxo**(`json`): [`OmniaVtxo`](. isVtxoActive | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/isVtxoActive | VtxoActive # Function: isVtxoActive() > **isVtxoActive**(`vtxo`): `boolean` ## Parameters ### vtxo [`OmniaVtxo`](. markExited | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/markExited | Exited # Function: markExited() > **markExited**(`vtxo`, `now? markExiting | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/markExiting | Exiting # Function: markExiting() > **markExiting**(`vtxo`, `now? markVtxoSpent | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/markVtxoSpent | VtxoSpent # Function: markVtxoSpent() > **markVtxoSpent**(`vtxo`, `now? mergeVtxos | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/mergeVtxos | Vtxos # Function: mergeVtxos() > **mergeVtxos**(`vtxos`, `params`, `now? mintVtxo | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/mintVtxo | Vtxo # Function: mintVtxo() > **mintVtxo**(`pool`, `params`, `now? refreshVtxo | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/refreshVtxo | Vtxo # Function: refreshVtxo() > **refreshVtxo**(`vtxo`, `params`, `now? serializePool | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/serializePool | Pool # Function: serializePool() > **serializePool**(`pool`): `string` ## Parameters ### pool [`OmniaVtxoPool`](. serializeVtxo | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/serializeVtxo | Vtxo # Function: serializeVtxo() > **serializeVtxo**(`vtxo`): `string` ## Parameters ### vtxo [`OmniaVtxo`](. splitVtxo | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/splitVtxo | Vtxo # Function: splitVtxo() > **splitVtxo**(`vtxo`, `params`, `now? transferVtxo | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/transferVtxo | Vtxo # Function: transferVtxo() > **transferVtxo**(`vtxo`, `params`, `now? updatePoolRoot | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/updatePoolRoot | PoolRoot # Function: updatePoolRoot() > **updatePoolRoot**(`pool`, `root`): [`OmniaVtxoPool`](. verifyConservation | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/verifyConservation | Conservation # Function: verifyConservation() > **verifyConservation**(`params`): [`VerifyVtxoResult`](. verifyMerkleProof | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/verifyMerkleProof | MerkleProof # Function: verifyMerkleProof() > **verifyMerkleProof**(`leaf`, `proof`, `root`): `boolean` ## Parameters ### leaf `string` ### proof [`MerkleProofNode`](. verifyVtxo | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/verifyVtxo | Vtxo # Function: verifyVtxo() > **verifyVtxo**(`vtxo`): [`VerifyVtxoResult`](. verifyVtxoProof | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/verifyVtxoProof | VtxoProof # Function: verifyVtxoProof() > **verifyVtxoProof**(`vtxo`, `proof`): [`VerifyVtxoResult`](. verifyVtxoTransfer | https://docs.totem.ing/api/totemsdk-omnia-vtxo/functions/verifyVtxoTransfer | VtxoTransfer # Function: verifyVtxoTransfer() > **verifyVtxoTransfer**(`input`, `output`, `transfer`): [`VerifyVtxoResult`](. ComputePoolIdParams | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/ComputePoolIdParams | ComputePoolIdParams ComputeVtxoIdParams | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/ComputeVtxoIdParams | ComputeVtxoIdParams ConservationInput | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/ConservationInput | ConservationInput # Interface: ConservationInput ## Properties ### inputs > **inputs**: [`OmniaVtxo`](OmniaVtxo. CreatePoolParams | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/CreatePoolParams | CreatePoolParams # Interface: CreatePoolParams ## Properties ### nonce > **nonce**: `string` *** ### operator > **operator**: `string` *** ### policy? DurableOmniaVtxoStore | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/DurableOmniaVtxoStore | DurableOmniaVtxoStore # Interface: DurableOmniaVtxoStore ## Extends - [`OmniaVtxoStore`](OmniaVtxoStore. DurableOmniaVtxoStoreOptions | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/DurableOmniaVtxoStoreOptions | DurableOmniaVtxoStoreOptions # Interface: DurableOmniaVtxoStoreOptions ## Properties ### namespace? ExitDraft | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/ExitDraft | ExitDraft # Interface: ExitDraft ## Properties ### amount > **amount**: `bigint` *** ### createdAt > **createdAt**: `number` *** ### draftType > **draftType**: `"mock-exit"` *** ### owner > **owner**: `string` *** ### poolId > **poolId**: `string` *** ### timelockSeconds > **timelockSeconds**: `number` *** ### tokenId > **tokenId**: `string` *** ### verifiedShare > **verifiedShare**: `bigint` The verified share this exit is capped at (the VTXO's amount). MergeResult | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/MergeResult | MergeResult # Interface: MergeResult ## Properties ### inputs > **inputs**: [`OmniaVtxo`](OmniaVtxo. MergeVtxosParams | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/MergeVtxosParams | MergeVtxosParams MerkleProofNode | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/MerkleProofNode | MerkleProofNode MintResult | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/MintResult | MintResult # Interface: MintResult ## Properties ### pool > **pool**: [`OmniaVtxoPool`](OmniaVtxoPool. MintVtxoParams | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/MintVtxoParams | MintVtxoParams # Interface: MintVtxoParams ## Properties ### amount > **amount**: `bigint` *** ### expiresAt? OmniaVtxo | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/OmniaVtxo | OmniaVtxo # Interface: OmniaVtxo ## Properties ### amount > **amount**: `bigint` *** ### createdAt > **createdAt**: `number` *** ### epoch > **epoch**: `number` *** ### exitConsumedAt? OmniaVtxoOperator | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/OmniaVtxoOperator | OmniaVtxoOperator OmniaVtxoPool | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/OmniaVtxoPool | OmniaVtxoPool # Interface: OmniaVtxoPool ## Properties ### availableCapacity > **availableCapacity**: `bigint` *** ### commitmentRoot > **commitmentRoot**: `string` *** ### createdAt > **createdAt**: `number` *** ### epoch > **epoch**: `number` *** ### operator > **operator**: `string` *** ### policy > **policy**: [`VtxoPoolPolicy`](VtxoPoolPolicy. OmniaVtxoRegistryState | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/OmniaVtxoRegistryState | OmniaVtxoRegistryState # Interface: OmniaVtxoRegistryState ## Properties ### pools > **pools**: `Record`\<`string`, [`OmniaVtxoPool`](OmniaVtxoPool. OmniaVtxoStore | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/OmniaVtxoStore | OmniaVtxoStore # Interface: OmniaVtxoStore ## Extended by - [`DurableOmniaVtxoStore`](DurableOmniaVtxoStore. RefreshResult | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/RefreshResult | RefreshResult # Interface: RefreshResult ## Properties ### old > **old**: [`OmniaVtxo`](OmniaVtxo. RefreshVtxoParams | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/RefreshVtxoParams | RefreshVtxoParams SplitResult | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/SplitResult | SplitResult # Interface: SplitResult ## Properties ### input > **input**: [`OmniaVtxo`](OmniaVtxo. SplitVtxoParams | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/SplitVtxoParams | SplitVtxoParams TransferResult | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/TransferResult | TransferResult # Interface: TransferResult ## Properties ### change? TransferVtxoParams | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/TransferVtxoParams | TransferVtxoParams # Interface: TransferVtxoParams ## Properties ### amount > **amount**: `bigint` *** ### changeNonce? VerifyVtxoResult | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/VerifyVtxoResult | VerifyVtxoResult VtxoExitIntent | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/VtxoExitIntent | VtxoExitIntent VtxoHistoryEntry | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/VtxoHistoryEntry | VtxoHistoryEntry # Interface: VtxoHistoryEntry ## Properties ### at > **at**: `number` *** ### from? VtxoOperatorReceipt | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/VtxoOperatorReceipt | VtxoOperatorReceipt # Interface: VtxoOperatorReceipt ## Properties ### at > **at**: `number` *** ### draftType? VtxoPoolPolicy | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/VtxoPoolPolicy | VtxoPoolPolicy VtxoProof | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/VtxoProof | VtxoProof VtxoProofSet | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/VtxoProofSet | VtxoProofSet # Interface: VtxoProofSet ## Properties ### proofs > **proofs**: `Record`\<[`VtxoId`](. VtxoTransfer | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/VtxoTransfer | VtxoTransfer # Interface: VtxoTransfer ## Properties ### amount > **amount**: `bigint` *** ### at > **at**: `number` *** ### changeAmount? VtxoTransferIntent | https://docs.totem.ing/api/totemsdk-omnia-vtxo/interfaces/VtxoTransferIntent | VtxoTransferIntent # Interface: VtxoTransferIntent ## Properties ### amount > **amount**: `bigint` *** ### changeNonce? VtxoId | https://docs.totem.ing/api/totemsdk-omnia-vtxo/type-aliases/VtxoId | VtxoId VtxoOp | https://docs.totem.ing/api/totemsdk-omnia-vtxo/type-aliases/VtxoOp | VtxoOp VtxoStatus | https://docs.totem.ing/api/totemsdk-omnia-vtxo/type-aliases/VtxoStatus | VtxoStatus DEFAULT_POLICY | https://docs.totem.ing/api/totemsdk-omnia-vtxo/variables/DEFAULT_POLICY | DEFAULT_POLICY EMPTY_LEAF | https://docs.totem.ing/api/totemsdk-omnia-vtxo/variables/EMPTY_LEAF | EMPTY_LEAF EMPTY_TREE_ROOT | https://docs.totem.ing/api/totemsdk-omnia-vtxo/variables/EMPTY_TREE_ROOT | EMPTY_TREE_ROOT EPOCH_ZERO | https://docs.totem.ing/api/totemsdk-omnia-vtxo/variables/EPOCH_ZERO | EPOCH_ZERO MOCK_BATCH_ID | https://docs.totem.ing/api/totemsdk-omnia-vtxo/variables/MOCK_BATCH_ID | MOCK_BATCH_ID MOCK_OPERATOR_SIGNATURE | https://docs.totem.ing/api/totemsdk-omnia-vtxo/variables/MOCK_OPERATOR_SIGNATURE | MOCK_OPERATOR_SIGNATURE VTXO_ID_DOMAIN | https://docs.totem.ing/api/totemsdk-omnia-vtxo/variables/VTXO_ID_DOMAIN | VTXO\_ID\_DOMAIN # Variable: VTXO\_ID\_DOMAIN > `const` **VTXO\_ID\_DOMAIN**: `"totemsdk/omnia-vtxo/vtxo/v1"` = `'totemsdk/omnia-vtxo/vtxo/v1'` Domain-separated hash prefixes (#33) — a hash on one record cannot replay against another. VTXO_LEAF_DOMAIN | https://docs.totem.ing/api/totemsdk-omnia-vtxo/variables/VTXO_LEAF_DOMAIN | VTXO_LEAF_DOMAIN VTXO_POOL_ID_DOMAIN | https://docs.totem.ing/api/totemsdk-omnia-vtxo/variables/VTXO_POOL_ID_DOMAIN | VTXO_POOL_ID_DOMAIN VTXO_RECEIPT_DOMAIN | https://docs.totem.ing/api/totemsdk-omnia-vtxo/variables/VTXO_RECEIPT_DOMAIN | VTXO_RECEIPT_DOMAIN BareFileStore | https://docs.totem.ing/api/totemsdk-pear/classes/BareFileStore | BareFileStore # Class: BareFileStore @totemsdk/pear — KVStore interface Structurally identical to `StorageAdapter` from `@totemsdk/core` so that both `BareKVStore` and `BareFileStore` can be passed directly to `LocalLeaseProvider`, `WotsWatermarkStore`, and `lookup-client` storage slots without any adapter glue. BareHyperdriveAdapter | https://docs.totem.ing/api/totemsdk-pear/classes/BareHyperdriveAdapter | BareHyperdriveAdapter # Class: BareHyperdriveAdapter Wraps a real Hyperdrive instance (from the `hyperdrive` npm package) or any duck-typed object as a `HyperdriveAdapter`. BareHyperswarm | https://docs.totem.ing/api/totemsdk-pear/classes/BareHyperswarm | BareHyperswarm # Class: BareHyperswarm ## Constructors ### Constructor > **new BareHyperswarm**(): `BareHyperswarm` #### Returns `BareHyperswarm` ## Methods ### close() > **close**(): `Promise`\<`void`\> Destroy the underlying Hyperswarm instance. BareKVStore | https://docs.totem.ing/api/totemsdk-pear/classes/BareKVStore | BareKVStore # Class: BareKVStore @totemsdk/pear — KVStore interface Structurally identical to `StorageAdapter` from `@totemsdk/core` so that both `BareKVStore` and `BareFileStore` can be passed directly to `LocalLeaseProvider`, `WotsWatermarkStore`, and `lookup-client` storage slots without any adapter glue. bareFetch | https://docs.totem.ing/api/totemsdk-pear/functions/bareFetch | Fetch # Function: bareFetch() > **bareFetch**(`url`, `init? createLogger | https://docs.totem.ing/api/totemsdk-pear/functions/createLogger | Logger # Function: createLogger() > **createLogger**(`name`): [`Logger`](. createPearApp | https://docs.totem.ing/api/totemsdk-pear/functions/createPearApp | PearApp # Function: createPearApp() > **createPearApp**(`config? defaultSwarmConfig | https://docs.totem.ing/api/totemsdk-pear/functions/defaultSwarmConfig | SwarmConfig # Function: defaultSwarmConfig() > **defaultSwarmConfig**(): [`SwarmConfig`](. loadConfig | https://docs.totem.ing/api/totemsdk-pear/functions/loadConfig | Config # Function: loadConfig() > **loadConfig**(`appName`, `configPath? loadManifest | https://docs.totem.ing/api/totemsdk-pear/functions/loadManifest | Manifest # Function: loadManifest() > **loadManifest**(`pearTopicKey`, `adapter? onExit | https://docs.totem.ing/api/totemsdk-pear/functions/onExit | Exit # Function: onExit() > **onExit**(`cb`): [`Unsubscribe`](. openLocalDrive | https://docs.totem.ing/api/totemsdk-pear/functions/openLocalDrive | LocalDrive # Function: openLocalDrive() > **openLocalDrive**(`storagePath`): `Promise`\<[`BareHyperdriveAdapter`](. openRemoteDrive | https://docs.totem.ing/api/totemsdk-pear/functions/openRemoteDrive | RemoteDrive # Function: openRemoteDrive() > **openRemoteDrive**(`pearTopicKey`, `options? runExitHandlers | https://docs.totem.ing/api/totemsdk-pear/functions/runExitHandlers | ExitHandlers # Function: runExitHandlers() > **runExitHandlers**(): `Promise`\<`void`\> Run all registered exit callbacks in LIFO order. AppConfig | https://docs.totem.ing/api/totemsdk-pear/interfaces/AppConfig | AppConfig # Interface: AppConfig ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### appName > **appName**: `string` *** ### swarm? BareFileStoreOptions | https://docs.totem.ing/api/totemsdk-pear/interfaces/BareFileStoreOptions | BareFileStoreOptions # Interface: BareFileStoreOptions ## Properties ### failurePolicy? BareKVStoreOptions | https://docs.totem.ing/api/totemsdk-pear/interfaces/BareKVStoreOptions | BareKVStoreOptions # Interface: BareKVStoreOptions ## Properties ### \_bee? FetchInit | https://docs.totem.ing/api/totemsdk-pear/interfaces/FetchInit | FetchInit # Interface: FetchInit ## Properties ### body? FetchResponse | https://docs.totem.ing/api/totemsdk-pear/interfaces/FetchResponse | FetchResponse # Interface: FetchResponse BareFetch — thin fetch-compatible polyfill for Bare/Pear environments. FsLike | https://docs.totem.ing/api/totemsdk-pear/interfaces/FsLike | FsLike # Interface: FsLike ## Methods ### closeSync()? HypebeeLike | https://docs.totem.ing/api/totemsdk-pear/interfaces/HypebeeLike | HypebeeLike # Interface: HypebeeLike ## Methods ### close() > **close**(): `Promise`\<`void`\> #### Returns `Promise`\<`void`\> *** ### createReadStream() > **createReadStream**(`options? HyperdriveAdapter | https://docs.totem.ing/api/totemsdk-pear/interfaces/HyperdriveAdapter | HyperdriveAdapter # Interface: HyperdriveAdapter @totemsdk/pear — Hyperdrive adapter + manifest loading `HyperdriveAdapter` is the interface Totem marketplace code uses to read app bundles from a Pear topic key. IStreamTransport | https://docs.totem.ing/api/totemsdk-pear/interfaces/IStreamTransport | IStreamTransport # Interface: IStreamTransport Canonical bidirectional byte-stream transport contract. KVStore | https://docs.totem.ing/api/totemsdk-pear/interfaces/KVStore | KVStore # Interface: KVStore @totemsdk/pear — KVStore interface Structurally identical to `StorageAdapter` from `@totemsdk/core` so that both `BareKVStore` and `BareFileStore` can be passed directly to `LocalLeaseProvider`, `WotsWatermarkStore`, and `lookup-client` storage slots without any adapter glue. Logger | https://docs.totem.ing/api/totemsdk-pear/interfaces/Logger | Logger # Interface: Logger @totemsdk/pear — Logger `createLogger(name)` returns a simple logger that routes output to: - Pear's built-in debug channel (`globalThis. PearApp | https://docs.totem.ing/api/totemsdk-pear/interfaces/PearApp | PearApp # Interface: PearApp ## Properties ### onExit > **onExit**: (`cb`) => [`Unsubscribe`](. PearAppConfig | https://docs.totem.ing/api/totemsdk-pear/interfaces/PearAppConfig | PearAppConfig # Interface: PearAppConfig ## Properties ### onUpdate? RemoteDriveOptions | https://docs.totem.ing/api/totemsdk-pear/interfaces/RemoteDriveOptions | RemoteDriveOptions # Interface: RemoteDriveOptions ## Properties ### connectTimeoutMs? SignedManifest | https://docs.totem.ing/api/totemsdk-pear/interfaces/SignedManifest | SignedManifest # Interface: SignedManifest A minimal `SignedManifest` shape. SwarmConfig | https://docs.totem.ing/api/totemsdk-pear/interfaces/SwarmConfig | SwarmConfig # Interface: SwarmConfig @totemsdk/pear — Config loading utilities `loadConfig` reads app configuration in the following order: 1. SwarmConnectOptions | https://docs.totem.ing/api/totemsdk-pear/interfaces/SwarmConnectOptions | SwarmConnectOptions # Interface: SwarmConnectOptions ## Properties ### client? ExitCallback | https://docs.totem.ing/api/totemsdk-pear/type-aliases/ExitCallback | ExitCallback # Type Alias: ExitCallback > **ExitCallback** = () => `void` \| `Promise`\<`void`\> @totemsdk/pear — App lifecycle `createPearApp` registers teardown handlers with the Pear runtime (when present). Unsubscribe | https://docs.totem.ing/api/totemsdk-pear/type-aliases/Unsubscribe | Unsubscribe attachAnchor | https://docs.totem.ing/api/totemsdk-proof/functions/attachAnchor | Anchor # Function: attachAnchor() > **attachAnchor**(`signedProof`, `anchorRef`): [`SignedProof`](. canonicalJson | https://docs.totem.ing/api/totemsdk-proof/functions/canonicalJson | Json # Function: canonicalJson() > **canonicalJson**(`value`): `string` Deterministic canonical JSON with recursively sorted keys. computeProofId | https://docs.totem.ing/api/totemsdk-proof/functions/computeProofId | ProofId # Function: computeProofId() > **computeProofId**(`input`): `string` Compute a deterministic proof ID from the core unsigned fields (excluding proofId). createAnchorCommitment | https://docs.totem.ing/api/totemsdk-proof/functions/createAnchorCommitment | AnchorCommitment # Function: createAnchorCommitment() > **createAnchorCommitment**(`signedProof`): `string` Compute a deterministic anchor commitment for a SignedProof. createIdentityProof | https://docs.totem.ing/api/totemsdk-proof/functions/createIdentityProof | IdentityProof # Function: createIdentityProof() > **createIdentityProof**(`params`): [`UnsignedProof`](. createManifestProof | https://docs.totem.ing/api/totemsdk-proof/functions/createManifestProof | ManifestProof # Function: createManifestProof() > **createManifestProof**(`params`): [`UnsignedProof`](. createProof | https://docs.totem.ing/api/totemsdk-proof/functions/createProof | Proof # Function: createProof() > **createProof**(`params`): [`UnsignedProof`](. hashEvidence | https://docs.totem.ing/api/totemsdk-proof/functions/hashEvidence | Evidence # Function: hashEvidence() > **hashEvidence**(`evidence`): `string` Hash a single EvidenceRef for integrity checks. hashProofPayload | https://docs.totem.ing/api/totemsdk-proof/functions/hashProofPayload | ProofPayload # Function: hashProofPayload() > **hashProofPayload**(`unsignedProof`): `string` Hash a complete UnsignedProof (including proofId) for external consumers. signProof | https://docs.totem.ing/api/totemsdk-proof/functions/signProof | Proof # Function: signProof() > **signProof**(`unsignedProof`, `seed`, `keyIndex`): [`SignedProof`](. signWithLease | https://docs.totem.ing/api/totemsdk-proof/functions/signWithLease | WithLease # Function: signWithLease() > **signWithLease**(`unsignedProof`, `seed`, `leaseProvider`, `options? toHex | https://docs.totem.ing/api/totemsdk-proof/functions/toHex | toHex verifyAnchorRef | https://docs.totem.ing/api/totemsdk-proof/functions/verifyAnchorRef | AnchorRef # Function: verifyAnchorRef() > **verifyAnchorRef**(`signedProof`, `anchorRef`): `boolean` Verify that an AnchorRef. verifyIdentityProof | https://docs.totem.ing/api/totemsdk-proof/functions/verifyIdentityProof | IdentityProof # Function: verifyIdentityProof() > **verifyIdentityProof**(`signedProof`, `signedClaim`): [`ProofVerifyResult`](. verifyManifestProof | https://docs.totem.ing/api/totemsdk-proof/functions/verifyManifestProof | ManifestProof # Function: verifyManifestProof() > **verifyManifestProof**(`signedProof`, `signedManifest`): [`ProofVerifyResult`](. verifyProof | https://docs.totem.ing/api/totemsdk-proof/functions/verifyProof | Proof # Function: verifyProof() > **verifyProof**(`signedProof`, `options? verifyProofIdIntegrity | https://docs.totem.ing/api/totemsdk-proof/functions/verifyProofIdIntegrity | ProofIdIntegrity # Function: verifyProofIdIntegrity() > **verifyProofIdIntegrity**(`signedProof`): `boolean` Verify that the proofId in a SignedProof matches a recomputation from its unsigned fields. verifyProofPayload | https://docs.totem.ing/api/totemsdk-proof/functions/verifyProofPayload | ProofPayload # Function: verifyProofPayload() > **verifyProofPayload**(`signedProof`, `graceMs? verifyProofSignature | https://docs.totem.ing/api/totemsdk-proof/functions/verifyProofSignature | ProofSignature # Function: verifyProofSignature() > **verifyProofSignature**(`signedProof`): `boolean` Verify the WOTS signature of a SignedProof. AnchorRef | https://docs.totem.ing/api/totemsdk-proof/interfaces/AnchorRef | AnchorRef # Interface: AnchorRef ## Properties ### confirmedAt? CreateIdentityProofParams | https://docs.totem.ing/api/totemsdk-proof/interfaces/CreateIdentityProofParams | CreateIdentityProofParams # Interface: CreateIdentityProofParams ## Properties ### evidence? CreateManifestProofParams | https://docs.totem.ing/api/totemsdk-proof/interfaces/CreateManifestProofParams | CreateManifestProofParams # Interface: CreateManifestProofParams ## Properties ### evidence? CreateProofParams | https://docs.totem.ing/api/totemsdk-proof/interfaces/CreateProofParams | CreateProofParams # Interface: CreateProofParams ## Properties ### evidence? EvidenceRef | https://docs.totem.ing/api/totemsdk-proof/interfaces/EvidenceRef | EvidenceRef # Interface: EvidenceRef ## Properties ### hash > **hash**: `string` *** ### id > **id**: `string` *** ### kind > **kind**: `string` *** ### metadata? ProofLink | https://docs.totem.ing/api/totemsdk-proof/interfaces/ProofLink | ProofLink ProofOperationResult | https://docs.totem.ing/api/totemsdk-proof/interfaces/ProofOperationResult | ProofOperationResult # Interface: ProofOperationResult ## Properties ### data? ProofProvider | https://docs.totem.ing/api/totemsdk-proof/interfaces/ProofProvider | ProofProvider # Interface: ProofProvider ## Properties ### capabilities > `readonly` **capabilities**: [`ProofProviderCapability`](. ProofSubject | https://docs.totem.ing/api/totemsdk-proof/interfaces/ProofSubject | ProofSubject # Interface: ProofSubject ## Properties ### address? ProofVerifyResult | https://docs.totem.ing/api/totemsdk-proof/interfaces/ProofVerifyResult | ProofVerifyResult # Interface: ProofVerifyResult ## Properties ### expired? SignedProof | https://docs.totem.ing/api/totemsdk-proof/interfaces/SignedProof | SignedProof # Interface: SignedProof A proof after WOTS signing. SigningIndices | https://docs.totem.ing/api/totemsdk-proof/interfaces/SigningIndices | SigningIndices # Interface: SigningIndices Minimal signing indices matching @totemsdk/wots-lease's SigningIndices. UnsignedProof | https://docs.totem.ing/api/totemsdk-proof/interfaces/UnsignedProof | UnsignedProof # Interface: UnsignedProof ## Extended by - [`SignedProof`](SignedProof. ProofKind | https://docs.totem.ing/api/totemsdk-proof/type-aliases/ProofKind | ProofKind ProofProviderCapability | https://docs.totem.ing/api/totemsdk-proof/type-aliases/ProofProviderCapability | ProofProviderCapability sha3_256 | https://docs.totem.ing/api/totemsdk-proof/variables/sha3_256 | sha3_256 createIntegritasProofProvider | https://docs.totem.ing/api/totemsdk-proof-integritas/functions/createIntegritasProofProvider | IntegritasProofProvider # Function: createIntegritasProofProvider() > **createIntegritasProofProvider**(`config? integritasAnchorRefFromResponse | https://docs.totem.ing/api/totemsdk-proof-integritas/functions/integritasAnchorRefFromResponse | AnchorRefFromResponse # Function: integritasAnchorRefFromResponse() > **integritasAnchorRefFromResponse**(`response`): `AnchorRef` Map a successful Integritas stamp response to an AnchorRef suitable for attaching to a SignedProof via attachAnchor. integritasHashFromProof | https://docs.totem.ing/api/totemsdk-proof-integritas/functions/integritasHashFromProof | HashFromProof # Function: integritasHashFromProof() > **integritasHashFromProof**(`signedProof`): `string` Compute the canonical hash submitted to Integritas for a given SignedProof. normalizeIntegritasCheckResponse | https://docs.totem.ing/api/totemsdk-proof-integritas/functions/normalizeIntegritasCheckResponse | IntegritasCheckResponse # Function: normalizeIntegritasCheckResponse() > **normalizeIntegritasCheckResponse**(`raw`): `ProofOperationResult` ## Parameters ### raw [`IntegritasCheckResponse`](. normalizeIntegritasStampResponse | https://docs.totem.ing/api/totemsdk-proof-integritas/functions/normalizeIntegritasStampResponse | IntegritasStampResponse # Function: normalizeIntegritasStampResponse() > **normalizeIntegritasStampResponse**(`raw`): `ProofOperationResult` ## Parameters ### raw [`IntegritasStampResponse`](. normalizeIntegritasVerifyResponse | https://docs.totem.ing/api/totemsdk-proof-integritas/functions/normalizeIntegritasVerifyResponse | IntegritasVerifyResponse # Function: normalizeIntegritasVerifyResponse() > **normalizeIntegritasVerifyResponse**(`raw`): `ProofVerifyResult` ## Parameters ### raw [`IntegritasVerifyResponse`](. IntegritasCheckResponse | https://docs.totem.ing/api/totemsdk-proof-integritas/interfaces/IntegritasCheckResponse | IntegritasCheckResponse # Interface: IntegritasCheckResponse Raw shape returned by POST /core/v2/file/check ## Properties ### hash? IntegritasConfig | https://docs.totem.ing/api/totemsdk-proof-integritas/interfaces/IntegritasConfig | IntegritasConfig # Interface: IntegritasConfig Configuration for the Integritas proof provider. IntegritasStampResponse | https://docs.totem.ing/api/totemsdk-proof-integritas/interfaces/IntegritasStampResponse | IntegritasStampResponse # Interface: IntegritasStampResponse Raw shape returned by POST /core/v2/timestamp/post ## Properties ### hash? IntegritasVerifyResponse | https://docs.totem.ing/api/totemsdk-proof-integritas/interfaces/IntegritasVerifyResponse | IntegritasVerifyResponse # Interface: IntegritasVerifyResponse Raw shape returned by POST /core/v2/verify/file ## Properties ### hash? IntegritasCapability | https://docs.totem.ing/api/totemsdk-proof-integritas/type-aliases/IntegritasCapability | IntegritasCapability # Type Alias: IntegritasCapability > **IntegritasCapability** = `ProofProviderCapability` \| [`IntegritasExtendedCapability`](IntegritasExtendedCapability. IntegritasExtendedCapability | https://docs.totem.ing/api/totemsdk-proof-integritas/type-aliases/IntegritasExtendedCapability | IntegritasExtendedCapability # Type Alias: IntegritasExtendedCapability > **IntegritasExtendedCapability** = `"report:pdf"` \| `"nft:trace"` \| `"minima:onchain"` Integritas-specific capabilities beyond the base ProofProviderCapability set. addAnchor | https://docs.totem.ing/api/totemsdk-proofgraph/functions/addAnchor | Anchor # Function: addAnchor() > **addAnchor**(`graph`, `anchor`): [`ProofGraph`](. addEdge | https://docs.totem.ing/api/totemsdk-proofgraph/functions/addEdge | Edge # Function: addEdge() > **addEdge**(`graph`, `edge`): [`ProofGraph`](. addIdentityClaim | https://docs.totem.ing/api/totemsdk-proofgraph/functions/addIdentityClaim | IdentityClaim # Function: addIdentityClaim() > **addIdentityClaim**(`graph`, `signedClaim`): [`ProofGraph`](. addIdentityDocument | https://docs.totem.ing/api/totemsdk-proofgraph/functions/addIdentityDocument | IdentityDocument # Function: addIdentityDocument() > **addIdentityDocument**(`graph`, `doc`): [`ProofGraph`](. addManifest | https://docs.totem.ing/api/totemsdk-proofgraph/functions/addManifest | Manifest # Function: addManifest() > **addManifest**(`graph`, `signedManifest`): [`ProofGraph`](. addNode | https://docs.totem.ing/api/totemsdk-proofgraph/functions/addNode | Node # Function: addNode() > **addNode**(`graph`, `type`, `refId`, `data? addProof | https://docs.totem.ing/api/totemsdk-proofgraph/functions/addProof | Proof # Function: addProof() > **addProof**(`graph`, `signedProof`): [`ProofGraph`](. addReceiptLike | https://docs.totem.ing/api/totemsdk-proofgraph/functions/addReceiptLike | ReceiptLike # Function: addReceiptLike() > **addReceiptLike**(`graph`, `receipt`): [`ProofGraph`](. buildEdge | https://docs.totem.ing/api/totemsdk-proofgraph/functions/buildEdge | Edge # Function: buildEdge() > **buildEdge**(`type`, `from`, `to`, `proofId? canonicalJson | https://docs.totem.ing/api/totemsdk-proofgraph/functions/canonicalJson | Json # Function: canonicalJson() > **canonicalJson**(`value`): `string` Deterministic canonical JSON with recursively sorted keys. computeEdgeId | https://docs.totem.ing/api/totemsdk-proofgraph/functions/computeEdgeId | computeEdgeId computeNodeId | https://docs.totem.ing/api/totemsdk-proofgraph/functions/computeNodeId | computeNodeId computeProofGraphId | https://docs.totem.ing/api/totemsdk-proofgraph/functions/computeProofGraphId | ProofGraphId # Function: computeProofGraphId() > **computeProofGraphId**(`nodes`, `edges`): `string` ## Parameters ### nodes [`ProofGraphNode`](. createDurableProofGraphStore | https://docs.totem.ing/api/totemsdk-proofgraph/functions/createDurableProofGraphStore | DurableProofGraphStore # Function: createDurableProofGraphStore() > **createDurableProofGraphStore**(`adapter`, `options? createProofGraph | https://docs.totem.ing/api/totemsdk-proofgraph/functions/createProofGraph | ProofGraph # Function: createProofGraph() > **createProofGraph**(`metadata? createProofGraphEvidenceStore | https://docs.totem.ing/api/totemsdk-proofgraph/functions/createProofGraphEvidenceStore | ProofGraphEvidenceStore # Function: createProofGraphEvidenceStore() > **createProofGraphEvidenceStore**(`artifacts`, `index`, `options? exportProofGraph | https://docs.totem.ing/api/totemsdk-proofgraph/functions/exportProofGraph | ProofGraph # Function: exportProofGraph() > **exportProofGraph**(`graph`): `string` Serialize a ProofGraph to a JSON string. findAnchorsForProof | https://docs.totem.ing/api/totemsdk-proofgraph/functions/findAnchorsForProof | AnchorsForProof # Function: findAnchorsForProof() > **findAnchorsForProof**(`graph`, `proofId`): [`ProofGraphNode`](. findConflicts | https://docs.totem.ing/api/totemsdk-proofgraph/functions/findConflicts | Conflicts # Function: findConflicts() > **findConflicts**(`graph`, `proofId`): [`ProofGraphEdge`](. findNode | https://docs.totem.ing/api/totemsdk-proofgraph/functions/findNode | Node # Function: findNode() > **findNode**(`graph`, `id`): [`ProofGraphNode`](. findProofsByIssuer | https://docs.totem.ing/api/totemsdk-proofgraph/functions/findProofsByIssuer | ProofsByIssuer # Function: findProofsByIssuer() > **findProofsByIssuer**(`graph`, `issuerId`): [`ProofGraphNode`](. findProofsBySubject | https://docs.totem.ing/api/totemsdk-proofgraph/functions/findProofsBySubject | ProofsBySubject # Function: findProofsBySubject() > **findProofsBySubject**(`graph`, `subjectId`): [`ProofGraphNode`](. findRevocations | https://docs.totem.ing/api/totemsdk-proofgraph/functions/findRevocations | Revocations # Function: findRevocations() > **findRevocations**(`graph`, `proofId`): [`ProofGraphEdge`](. findSupersessions | https://docs.totem.ing/api/totemsdk-proofgraph/functions/findSupersessions | Supersessions # Function: findSupersessions() > **findSupersessions**(`graph`, `proofId`): [`ProofGraphEdge`](. getEdgesBetween | https://docs.totem.ing/api/totemsdk-proofgraph/functions/getEdgesBetween | EdgesBetween # Function: getEdgesBetween() > **getEdgesBetween**(`graph`, `refIdA`, `refIdB`): [`ProofGraphEdge`](. getEdgesByType | https://docs.totem.ing/api/totemsdk-proofgraph/functions/getEdgesByType | EdgesByType # Function: getEdgesByType() > **getEdgesByType**(`graph`, `type`): [`ProofGraphEdge`](. getEdgesFrom | https://docs.totem.ing/api/totemsdk-proofgraph/functions/getEdgesFrom | EdgesFrom # Function: getEdgesFrom() > **getEdgesFrom**(`graph`, `nodeIdOrRefId`): [`ProofGraphEdge`](. getEdgesTo | https://docs.totem.ing/api/totemsdk-proofgraph/functions/getEdgesTo | EdgesTo # Function: getEdgesTo() > **getEdgesTo**(`graph`, `nodeIdOrRefId`): [`ProofGraphEdge`](. getEvidenceTrail | https://docs.totem.ing/api/totemsdk-proofgraph/functions/getEvidenceTrail | EvidenceTrail # Function: getEvidenceTrail() > **getEvidenceTrail**(`graph`, `proofId`): [`ProofGraphNode`](. getManifestsForAddress | https://docs.totem.ing/api/totemsdk-proofgraph/functions/getManifestsForAddress | ManifestsForAddress # Function: getManifestsForAddress() > **getManifestsForAddress**(`graph`, `address`): [`ProofGraphNode`](. getProofLineage | https://docs.totem.ing/api/totemsdk-proofgraph/functions/getProofLineage | ProofLineage # Function: getProofLineage() > **getProofLineage**(`graph`, `proofId`, `_visited? getProofNodes | https://docs.totem.ing/api/totemsdk-proofgraph/functions/getProofNodes | ProofNodes # Function: getProofNodes() > **getProofNodes**(`graph`): [`ProofGraphNode`](. importProofGraph | https://docs.totem.ing/api/totemsdk-proofgraph/functions/importProofGraph | ProofGraph # Function: importProofGraph() > **importProofGraph**(`json`): [`ProofGraph`](. reachableFrom | https://docs.totem.ing/api/totemsdk-proofgraph/functions/reachableFrom | From # Function: reachableFrom() > **reachableFrom**(`graph`, `startRefId`, `_visited? recomputeGraphId | https://docs.totem.ing/api/totemsdk-proofgraph/functions/recomputeGraphId | GraphId # Function: recomputeGraphId() > **recomputeGraphId**(`graph`): `string` ## Parameters ### graph #### edges [`ProofGraphEdge`](. resolveCurrentProofSet | https://docs.totem.ing/api/totemsdk-proofgraph/functions/resolveCurrentProofSet | CurrentProofSet # Function: resolveCurrentProofSet() > **resolveCurrentProofSet**(`graph`): [`ProofGraphNode`](. setGraphMetadata | https://docs.totem.ing/api/totemsdk-proofgraph/functions/setGraphMetadata | GraphMetadata # Function: setGraphMetadata() > **setGraphMetadata**(`graph`, `metadata`): [`ProofGraph`](. toHex | https://docs.totem.ing/api/totemsdk-proofgraph/functions/toHex | toHex verifyGraphProofs | https://docs.totem.ing/api/totemsdk-proofgraph/functions/verifyGraphProofs | GraphProofs # Function: verifyGraphProofs() > **verifyGraphProofs**(`graph`): `string`[] Returns the list of invalid proof IDs in the graph. verifyProofGraph | https://docs.totem.ing/api/totemsdk-proofgraph/functions/verifyProofGraph | ProofGraph # Function: verifyProofGraph() > **verifyProofGraph**(`graph`, `_options? AnchorInput | https://docs.totem.ing/api/totemsdk-proofgraph/interfaces/AnchorInput | AnchorInput # Interface: AnchorInput Input object for addAnchor. DurableProofGraphStoreOptions | https://docs.totem.ing/api/totemsdk-proofgraph/interfaces/DurableProofGraphStoreOptions | DurableProofGraphStoreOptions # Interface: DurableProofGraphStoreOptions ## Properties ### namespace? ProofGraph | https://docs.totem.ing/api/totemsdk-proofgraph/interfaces/ProofGraph | ProofGraph # Interface: ProofGraph ## Properties ### createdAt > **createdAt**: `number` *** ### edges > **edges**: [`ProofGraphEdge`](ProofGraphEdge. ProofGraphEdge | https://docs.totem.ing/api/totemsdk-proofgraph/interfaces/ProofGraphEdge | ProofGraphEdge # Interface: ProofGraphEdge ## Properties ### data? ProofGraphEvidenceResult | https://docs.totem.ing/api/totemsdk-proofgraph/interfaces/ProofGraphEvidenceResult | ProofGraphEvidenceResult # Interface: ProofGraphEvidenceResult Per-evidence-node restore result. ProofGraphEvidenceStore | https://docs.totem.ing/api/totemsdk-proofgraph/interfaces/ProofGraphEvidenceStore | ProofGraphEvidenceStore # Interface: ProofGraphEvidenceStore ## Methods ### listCount() > **listCount**(): `Promise`\<`number`\> Count of local index entries (persisted evidence mappings). ProofGraphEvidenceStoreOptions | https://docs.totem.ing/api/totemsdk-proofgraph/interfaces/ProofGraphEvidenceStoreOptions | ProofGraphEvidenceStoreOptions # Interface: ProofGraphEvidenceStoreOptions ## Properties ### namespace? ProofGraphNode | https://docs.totem.ing/api/totemsdk-proofgraph/interfaces/ProofGraphNode | ProofGraphNode # Interface: ProofGraphNode ## Properties ### createdAt > **createdAt**: `number` *** ### data? ProofGraphRecoveryReport | https://docs.totem.ing/api/totemsdk-proofgraph/interfaces/ProofGraphRecoveryReport | ProofGraphRecoveryReport ProofGraphStoragePort | https://docs.totem.ing/api/totemsdk-proofgraph/interfaces/ProofGraphStoragePort | ProofGraphStoragePort # Interface: ProofGraphStoragePort Storage port — interface only, no concrete implementation in this package. ProofGraphVerifyResult | https://docs.totem.ing/api/totemsdk-proofgraph/interfaces/ProofGraphVerifyResult | ProofGraphVerifyResult # Interface: ProofGraphVerifyResult ## Properties ### invalidProofs > **invalidProofs**: `string`[] *** ### reason? ReceiptLikeInput | https://docs.totem.ing/api/totemsdk-proofgraph/interfaces/ReceiptLikeInput | ReceiptLikeInput # Interface: ReceiptLikeInput Input object for addReceiptLike. DurableProofGraphStore | https://docs.totem.ing/api/totemsdk-proofgraph/type-aliases/DurableProofGraphStore | DurableProofGraphStore # Type Alias: DurableProofGraphStore > **DurableProofGraphStore** = [`ProofGraphStoragePort`](. ProofGraphEdgeType | https://docs.totem.ing/api/totemsdk-proofgraph/type-aliases/ProofGraphEdgeType | ProofGraphEdgeType ProofGraphNodeType | https://docs.totem.ing/api/totemsdk-proofgraph/type-aliases/ProofGraphNodeType | ProofGraphNodeType # Type Alias: ProofGraphNodeType > **ProofGraphNodeType** = `"proof"` \| `"identity"` \| `"identity-claim"` \| `"manifest"` \| `"address"` \| `"subject"` \| `"evidence"` \| `"anchor"` \| `"receipt"` \| `"payment"` \| `"device"` \| `"service"` \| `"policy"` \| `"custom"` @totemsdk/proofgraph — Type definitions Pure schema — no network, no DHT, no blockchain submission, no crypto. BondProofError | https://docs.totem.ing/api/totemsdk-provider-bond/classes/BondProofError | BondProofError # Class: BondProofError ## Extends - [`ProviderBondError`](ProviderBondError. IncidentError | https://docs.totem.ing/api/totemsdk-provider-bond/classes/IncidentError | IncidentError # Class: IncidentError ## Extends - [`ProviderBondError`](ProviderBondError. MemoryProviderBondStore | https://docs.totem.ing/api/totemsdk-provider-bond/classes/MemoryProviderBondStore | MemoryProviderBondStore # Class: MemoryProviderBondStore ## Constructors ### Constructor > **new MemoryProviderBondStore**(): `MemoryProviderBondStore` #### Returns `MemoryProviderBondStore` ## Methods ### attachBondProof() > **attachBondProof**(`providerId`, `proof`): `Promise`\<`void`\> #### Parameters ##### providerId `string` ##### proof [`BondProofRef`](. ProbeError | https://docs.totem.ing/api/totemsdk-provider-bond/classes/ProbeError | ProbeError # Class: ProbeError ## Extends - [`ProviderBondError`](ProviderBondError. ProviderBondError | https://docs.totem.ing/api/totemsdk-provider-bond/classes/ProviderBondError | ProviderBondError # Class: ProviderBondError ## Extends - `Error` ## Extended by - [`ProviderManifestError`](ProviderManifestError. ProviderIdentityError | https://docs.totem.ing/api/totemsdk-provider-bond/classes/ProviderIdentityError | ProviderIdentityError # Class: ProviderIdentityError ## Extends - [`ProviderBondError`](ProviderBondError. ProviderManifestError | https://docs.totem.ing/api/totemsdk-provider-bond/classes/ProviderManifestError | ProviderManifestError # Class: ProviderManifestError ## Extends - [`ProviderBondError`](ProviderBondError. ProviderPolicyError | https://docs.totem.ing/api/totemsdk-provider-bond/classes/ProviderPolicyError | ProviderPolicyError # Class: ProviderPolicyError ## Extends - [`ProviderBondError`](ProviderBondError. ProviderRegistryError | https://docs.totem.ing/api/totemsdk-provider-bond/classes/ProviderRegistryError | ProviderRegistryError # Class: ProviderRegistryError ## Extends - [`ProviderBondError`](ProviderBondError. ProviderScoreError | https://docs.totem.ing/api/totemsdk-provider-bond/classes/ProviderScoreError | ProviderScoreError # Class: ProviderScoreError ## Extends - [`ProviderBondError`](ProviderBondError. ProviderSerializationError | https://docs.totem.ing/api/totemsdk-provider-bond/classes/ProviderSerializationError | ProviderSerializationError # Class: ProviderSerializationError ## Extends - [`ProviderBondError`](ProviderBondError. acknowledgeIncident | https://docs.totem.ing/api/totemsdk-provider-bond/functions/acknowledgeIncident | Incident # Function: acknowledgeIncident() > **acknowledgeIncident**(`incident`, `now? assertBondMeetsMinimum | https://docs.totem.ing/api/totemsdk-provider-bond/functions/assertBondMeetsMinimum | BondMeetsMinimum # Function: assertBondMeetsMinimum() > **assertBondMeetsMinimum**(`proof`, `minAmount`): [`ProviderBondVerifyResult`](. assertManifestNotExpired | https://docs.totem.ing/api/totemsdk-provider-bond/functions/assertManifestNotExpired | ManifestNotExpired # Function: assertManifestNotExpired() > **assertManifestNotExpired**(`manifest`, `now? assertProviderControlsAddress | https://docs.totem.ing/api/totemsdk-provider-bond/functions/assertProviderControlsAddress | ProviderControlsAddress # Function: assertProviderControlsAddress() > **assertProviderControlsAddress**(`params`): [`ProviderBondVerifyResult`](. attachBondProof | https://docs.totem.ing/api/totemsdk-provider-bond/functions/attachBondProof | BondProof # Function: attachBondProof() > **attachBondProof**(`state`, `providerId`, `proof`): [`ProviderBondRegistryState`](. bindProviderManifestToIdentity | https://docs.totem.ing/api/totemsdk-provider-bond/functions/bindProviderManifestToIdentity | ProviderManifestToIdentity # Function: bindProviderManifestToIdentity() > **bindProviderManifestToIdentity**(`params`): `unknown` ## Parameters ### params [`BindProviderManifestToIdentityParams`](. computeProviderBondExtensionHash | https://docs.totem.ing/api/totemsdk-provider-bond/functions/computeProviderBondExtensionHash | ProviderBondExtensionHash # Function: computeProviderBondExtensionHash() > **computeProviderBondExtensionHash**(`extension`): `string` ## Parameters ### extension [`ProviderBondExtension`](. computeProviderBondManifestHash | https://docs.totem.ing/api/totemsdk-provider-bond/functions/computeProviderBondManifestHash | ProviderBondManifestHash # Function: computeProviderBondManifestHash() > **computeProviderBondManifestHash**(`manifest`): `string` ## Parameters ### manifest [`ProviderBondManifest`](. computeProviderRecommendation | https://docs.totem.ing/api/totemsdk-provider-bond/functions/computeProviderRecommendation | ProviderRecommendation # Function: computeProviderRecommendation() > **computeProviderRecommendation**(`score`): [`ProviderRecommendation`](. computeProviderScore | https://docs.totem.ing/api/totemsdk-provider-bond/functions/computeProviderScore | ProviderScore # Function: computeProviderScore() > **computeProviderScore**(`params`): [`ProviderScore`](. createDurableProviderBondStore | https://docs.totem.ing/api/totemsdk-provider-bond/functions/createDurableProviderBondStore | DurableProviderBondStore # Function: createDurableProviderBondStore() > **createDurableProviderBondStore**(`adapter`, `options? createEmptyProviderBondRegistryState | https://docs.totem.ing/api/totemsdk-provider-bond/functions/createEmptyProviderBondRegistryState | EmptyProviderBondRegistryState # Function: createEmptyProviderBondRegistryState() > **createEmptyProviderBondRegistryState**(): [`ProviderBondRegistryState`](. createProviderBondManifest | https://docs.totem.ing/api/totemsdk-provider-bond/functions/createProviderBondManifest | ProviderBondManifest # Function: createProviderBondManifest() > **createProviderBondManifest**(`params`): [`ProviderBondManifest`](. explainProviderPolicyMatch | https://docs.totem.ing/api/totemsdk-provider-bond/functions/explainProviderPolicyMatch | ProviderPolicyMatch # Function: explainProviderPolicyMatch() > **explainProviderPolicyMatch**(`match`): `string`[] ## Parameters ### match [`PolicyMatch`](. filterProvidersByPolicy | https://docs.totem.ing/api/totemsdk-provider-bond/functions/filterProvidersByPolicy | ProvidersByPolicy # Function: filterProvidersByPolicy() > **filterProvidersByPolicy**(`state`, `policy`): [`PolicyMatch`](. getProvider | https://docs.totem.ing/api/totemsdk-provider-bond/functions/getProvider | Provider # Function: getProvider() > **getProvider**(`state`, `providerId`): [`ProviderBondManifest`](. listOfflineProviders | https://docs.totem.ing/api/totemsdk-provider-bond/functions/listOfflineProviders | OfflineProviders # Function: listOfflineProviders() > **listOfflineProviders**(`state`, `maxHeartbeatAgeMs`, `now`): [`ProviderBondManifest`](. listProviders | https://docs.totem.ing/api/totemsdk-provider-bond/functions/listProviders | Providers # Function: listProviders() > **listProviders**(`state`): [`ProviderBondManifest`](. listProvidersByServiceType | https://docs.totem.ing/api/totemsdk-provider-bond/functions/listProvidersByServiceType | ProvidersByServiceType # Function: listProvidersByServiceType() > **listProvidersByServiceType**(`state`, `serviceType`): [`ProviderBondManifest`](. listRiskyProviders | https://docs.totem.ing/api/totemsdk-provider-bond/functions/listRiskyProviders | RiskyProviders # Function: listRiskyProviders() > **listRiskyProviders**(`state`, `threshold`): [`ProviderBondManifest`](. parseProviderBondRecord | https://docs.totem.ing/api/totemsdk-provider-bond/functions/parseProviderBondRecord | parseProviderBondRecord parseProviderBondState | https://docs.totem.ing/api/totemsdk-provider-bond/functions/parseProviderBondState | parseProviderBondState rankProvidersByPolicy | https://docs.totem.ing/api/totemsdk-provider-bond/functions/rankProvidersByPolicy | ProvidersByPolicy # Function: rankProvidersByPolicy() > **rankProvidersByPolicy**(`matches`): [`PolicyMatch`](. recordHeartbeat | https://docs.totem.ing/api/totemsdk-provider-bond/functions/recordHeartbeat | Heartbeat # Function: recordHeartbeat() > **recordHeartbeat**(`providerId`, `now? recordIncident | https://docs.totem.ing/api/totemsdk-provider-bond/functions/recordIncident | Incident # Function: recordIncident() > **recordIncident**(`params`): [`IncidentRecord`](. recordProbe | https://docs.totem.ing/api/totemsdk-provider-bond/functions/recordProbe | Probe # Function: recordProbe() > **recordProbe**(`params`): [`ProbeResult`](. recordProviderIncident | https://docs.totem.ing/api/totemsdk-provider-bond/functions/recordProviderIncident | ProviderIncident # Function: recordProviderIncident() > **recordProviderIncident**(`state`, `providerId`, `incident`): [`ProviderBondRegistryState`](. recordProviderProbe | https://docs.totem.ing/api/totemsdk-provider-bond/functions/recordProviderProbe | ProviderProbe # Function: recordProviderProbe() > **recordProviderProbe**(`state`, `providerId`, `probe`): [`ProviderBondRegistryState`](. registerProvider | https://docs.totem.ing/api/totemsdk-provider-bond/functions/registerProvider | Provider # Function: registerProvider() > **registerProvider**(`state`, `manifest`): [`ProviderBondRegistryState`](. rejectIncident | https://docs.totem.ing/api/totemsdk-provider-bond/functions/rejectIncident | Incident # Function: rejectIncident() > **rejectIncident**(`incident`, `reason`, `now? resolveIncident | https://docs.totem.ing/api/totemsdk-provider-bond/functions/resolveIncident | Incident # Function: resolveIncident() > **resolveIncident**(`incident`, `now? serializeProviderBondRecord | https://docs.totem.ing/api/totemsdk-provider-bond/functions/serializeProviderBondRecord | serializeProviderBondRecord serializeProviderBondState | https://docs.totem.ing/api/totemsdk-provider-bond/functions/serializeProviderBondState | serializeProviderBondState updateProviderManifest | https://docs.totem.ing/api/totemsdk-provider-bond/functions/updateProviderManifest | ProviderManifest # Function: updateProviderManifest() > **updateProviderManifest**(`state`, `manifest`): [`ProviderBondRegistryState`](. updateProviderScore | https://docs.totem.ing/api/totemsdk-provider-bond/functions/updateProviderScore | ProviderScore # Function: updateProviderScore() > **updateProviderScore**(`state`, `providerId`, `score`): [`ProviderBondRegistryState`](. verifyBondProof | https://docs.totem.ing/api/totemsdk-provider-bond/functions/verifyBondProof | BondProof # Function: verifyBondProof() > **verifyBondProof**(`proof`, `verifier? verifyBondStack | https://docs.totem.ing/api/totemsdk-provider-bond/functions/verifyBondStack | BondStack # Function: verifyBondStack() > **verifyBondStack**(`params`): [`ProviderBondVerifyResult`](. verifyProviderBondAddresses | https://docs.totem.ing/api/totemsdk-provider-bond/functions/verifyProviderBondAddresses | ProviderBondAddresses # Function: verifyProviderBondAddresses() > **verifyProviderBondAddresses**(`params`): [`ProviderBondVerifyResult`](. verifyProviderBondManifest | https://docs.totem.ing/api/totemsdk-provider-bond/functions/verifyProviderBondManifest | ProviderBondManifest # Function: verifyProviderBondManifest() > **verifyProviderBondManifest**(`params`): [`ProviderBondVerifyResult`](. verifyProviderManifestIdentity | https://docs.totem.ing/api/totemsdk-provider-bond/functions/verifyProviderManifestIdentity | ProviderManifestIdentity # Function: verifyProviderManifestIdentity() > **verifyProviderManifestIdentity**(`params`): [`ProviderBondVerifyResult`](. AssertProviderControlsAddressParams | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/AssertProviderControlsAddressParams | AssertProviderControlsAddressParams # Interface: AssertProviderControlsAddressParams ## Properties ### address > **address**: `string` *** ### identityGraph > **identityGraph**: `unknown` *** ### manifest > **manifest**: [`ProviderBondManifest`](ProviderBondManifest. BindProviderManifestToIdentityParams | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/BindProviderManifestToIdentityParams | BindProviderManifestToIdentityParams # Interface: BindProviderManifestToIdentityParams ## Properties ### identityGraph > **identityGraph**: `unknown` *** ### manifest > **manifest**: [`ProviderBondManifest`](ProviderBondManifest. BondProofRef | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/BondProofRef | BondProofRef # Interface: BondProofRef ## Properties ### amount? BondProofVerifier | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/BondProofVerifier | BondProofVerifier # Interface: BondProofVerifier ## Methods ### verify() > **verify**(`proof`): `Promise`\<[`ProviderBondVerifyResult`](ProviderBondVerifyResult. BondStatusContext | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/BondStatusContext | BondStatusContext # Interface: BondStatusContext ## Properties ### currentHeight? ComputeProviderScoreParams | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/ComputeProviderScoreParams | ComputeProviderScoreParams # Interface: ComputeProviderScoreParams ## Properties ### bondProofs? CreateProviderBondManifestParams | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/CreateProviderBondManifestParams | CreateProviderBondManifestParams # Interface: CreateProviderBondManifestParams ## Properties ### edgeService > **edgeService**: `EdgeServiceManifest` *** ### providerBond > **providerBond**: [`ProviderBondExtension`](ProviderBondExtension. DurableProviderBondStore | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/DurableProviderBondStore | DurableProviderBondStore # Interface: DurableProviderBondStore ## Methods ### attachBondProof() > **attachBondProof**(`providerId`, `proof`): `Promise`\<`void`\> #### Parameters ##### providerId `string` ##### proof [`BondProofRef`](BondProofRef. DurableProviderBondStoreOptions | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/DurableProviderBondStoreOptions | DurableProviderBondStoreOptions # Interface: DurableProviderBondStoreOptions ## Properties ### namespace? IncidentRecord | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/IncidentRecord | IncidentRecord # Interface: IncidentRecord ## Properties ### createdAt > **createdAt**: `number` *** ### incidentId > **incidentId**: `string` *** ### message? IncidentSummary | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/IncidentSummary | IncidentSummary # Interface: IncidentSummary ## Properties ### critical > **critical**: `number` *** ### high > **high**: `number` *** ### lastIncidentAt? PolicyMatch | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/PolicyMatch | PolicyMatch # Interface: PolicyMatch ## Properties ### failures > **failures**: `string`[] *** ### matched > **matched**: `boolean` *** ### provider > **provider**: [`ProviderBondManifest`](ProviderBondManifest. ProbeResult | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/ProbeResult | ProbeResult # Interface: ProbeResult ## Properties ### latencyMs? ProviderBondAssetDeclaration | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/ProviderBondAssetDeclaration | ProviderBondAssetDeclaration # Interface: ProviderBondAssetDeclaration ## Properties ### amount > **amount**: `bigint` *** ### asset > **asset**: `string` *** ### bondId > **bondId**: `string` *** ### createdAt? ProviderBondExtension | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/ProviderBondExtension | ProviderBondExtension # Interface: ProviderBondExtension ## Properties ### bondId? ProviderBondManifest | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/ProviderBondManifest | ProviderBondManifest # Interface: ProviderBondManifest ## Properties ### edgeService > **edgeService**: `EdgeServiceManifest` *** ### edgeServiceManifestId > **edgeServiceManifestId**: `string` *** ### providerBond > **providerBond**: [`ProviderBondExtension`](ProviderBondExtension. ProviderBondRegistryState | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/ProviderBondRegistryState | ProviderBondRegistryState # Interface: ProviderBondRegistryState ## Properties ### bondProofs > **bondProofs**: `Record`\<`string`, [`BondProofRef`](BondProofRef. ProviderBondVerifyResult | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/ProviderBondVerifyResult | ProviderBondVerifyResult # Interface: ProviderBondVerifyResult ## Properties ### code? ProviderPolicy | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/ProviderPolicy | ProviderPolicy # Interface: ProviderPolicy ## Properties ### acceptedAssets? ProviderScore | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/ProviderScore | ProviderScore # Interface: ProviderScore ## Properties ### bondScore > **bondScore**: `number` *** ### computedAt > **computedAt**: `number` *** ### identityScore > **identityScore**: `number` *** ### incidentScore > **incidentScore**: `number` *** ### providerId > **providerId**: `string` *** ### reasons > **reasons**: `string`[] *** ### recommendation > **recommendation**: [`ProviderRecommendation`](. ProviderScoringWeights | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/ProviderScoringWeights | ProviderScoringWeights RecordIncidentParams | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/RecordIncidentParams | RecordIncidentParams # Interface: RecordIncidentParams ## Properties ### message? RecordProbeParams | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/RecordProbeParams | RecordProbeParams # Interface: RecordProbeParams ## Properties ### latencyMs? VerifyBondStackParams | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/VerifyBondStackParams | VerifyBondStackParams # Interface: VerifyBondStackParams ## Properties ### bondProofs? VerifyProviderBondAddressesParams | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/VerifyProviderBondAddressesParams | VerifyProviderBondAddressesParams # Interface: VerifyProviderBondAddressesParams ## Properties ### identityGraph > **identityGraph**: `unknown` *** ### manifest > **manifest**: [`ProviderBondManifest`](ProviderBondManifest. VerifyProviderBondManifestParams | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/VerifyProviderBondManifestParams | VerifyProviderBondManifestParams # Interface: VerifyProviderBondManifestParams ## Properties ### identityGraph? VerifyProviderManifestIdentityParams | https://docs.totem.ing/api/totemsdk-provider-bond/interfaces/VerifyProviderManifestIdentityParams | VerifyProviderManifestIdentityParams # Interface: VerifyProviderManifestIdentityParams ## Properties ### identityGraph > **identityGraph**: `unknown` *** ### manifest > **manifest**: [`ProviderBondManifest`](ProviderBondManifest. BondAsset | https://docs.totem.ing/api/totemsdk-provider-bond/type-aliases/BondAsset | BondAsset BondLockType | https://docs.totem.ing/api/totemsdk-provider-bond/type-aliases/BondLockType | BondLockType BondProofType | https://docs.totem.ing/api/totemsdk-provider-bond/type-aliases/BondProofType | BondProofType BondPurpose | https://docs.totem.ing/api/totemsdk-provider-bond/type-aliases/BondPurpose | BondPurpose BondStatus | https://docs.totem.ing/api/totemsdk-provider-bond/type-aliases/BondStatus | BondStatus IncidentSeverity | https://docs.totem.ing/api/totemsdk-provider-bond/type-aliases/IncidentSeverity | IncidentSeverity IncidentStatus | https://docs.totem.ing/api/totemsdk-provider-bond/type-aliases/IncidentStatus | IncidentStatus IncidentType | https://docs.totem.ing/api/totemsdk-provider-bond/type-aliases/IncidentType | IncidentType ProbeType | https://docs.totem.ing/api/totemsdk-provider-bond/type-aliases/ProbeType | ProbeType ProviderBondVerifyCode | https://docs.totem.ing/api/totemsdk-provider-bond/type-aliases/ProviderBondVerifyCode | ProviderBondVerifyCode ProviderRecommendation | https://docs.totem.ing/api/totemsdk-provider-bond/type-aliases/ProviderRecommendation | ProviderRecommendation DEFAULT_MINIMA_TOKEN_ID | https://docs.totem.ing/api/totemsdk-provider-bond/variables/DEFAULT_MINIMA_TOKEN_ID | DEFAULT_MINIMA_TOKEN_ID DEFAULT_PROVIDER_SCORING_WEIGHTS | https://docs.totem.ing/api/totemsdk-provider-bond/variables/DEFAULT_PROVIDER_SCORING_WEIGHTS | DEFAULT\_PROVIDER\_SCORING\_WEIGHTS # Variable: DEFAULT\_PROVIDER\_SCORING\_WEIGHTS > `const` **DEFAULT\_PROVIDER\_SCORING\_WEIGHTS**: `object` ## Type Declaration ### bond > `readonly` **bond**: `0. PROVIDER_BOND_TOPIC_PREFIX | https://docs.totem.ing/api/totemsdk-provider-bond/variables/PROVIDER_BOND_TOPIC_PREFIX | PROVIDER\_BOND\_TOPIC\_PREFIX # Variable: PROVIDER\_BOND\_TOPIC\_PREFIX > `const` **PROVIDER\_BOND\_TOPIC\_PREFIX**: `"totem. EventEmitterTransport | https://docs.totem.ing/api/totemsdk-pubsub-transport/classes/EventEmitterTransport | EventEmitterTransport # Class: EventEmitterTransport In-process pub/sub transport backed by a Node. MockPubSubTransport | https://docs.totem.ing/api/totemsdk-pubsub-transport/classes/MockPubSubTransport | MockPubSubTransport # Class: MockPubSubTransport Mock pub/sub transport for unit tests. createPairedEventEmitterTransports | https://docs.totem.ing/api/totemsdk-pubsub-transport/functions/createPairedEventEmitterTransports | PairedEventEmitterTransports # Function: createPairedEventEmitterTransports() > **createPairedEventEmitterTransports**(): \[[`EventEmitterTransport`](. IPubSubTransport | https://docs.totem.ing/api/totemsdk-pubsub-transport/interfaces/IPubSubTransport | IPubSubTransport # Interface: IPubSubTransport Canonical publish-subscribe transport interface. PubSubMessage | https://docs.totem.ing/api/totemsdk-pubsub-transport/interfaces/PubSubMessage | PubSubMessage # Interface: PubSubMessage An inbound pub/sub message carrying a topic and raw payload. PubSubSubscription | https://docs.totem.ing/api/totemsdk-pubsub-transport/interfaces/PubSubSubscription | PubSubSubscription # Interface: PubSubSubscription A live subscription returned from IPubSubTransport. MqttClientPort | https://docs.totem.ing/api/totemsdk-pubsub-transport/type-aliases/MqttClientPort | MqttClientPort # Type Alias: MqttClientPort > **MqttClientPort** = [`IPubSubTransport`](. MqttMessage | https://docs.totem.ing/api/totemsdk-pubsub-transport/type-aliases/MqttMessage | MqttMessage # Type Alias: MqttMessage > **MqttMessage** = [`PubSubMessage`](. asrAdapter | https://docs.totem.ing/api/totemsdk-qvac/functions/asrAdapter | Adapter # Function: asrAdapter() > **asrAdapter**(`provider`): [`QvacAsrOps`](. audiogenAdapter | https://docs.totem.ing/api/totemsdk-qvac/functions/audiogenAdapter | Adapter # Function: audiogenAdapter() > **audiogenAdapter**(`provider`): [`QvacAudiogenOps`](. classifyAdapter | https://docs.totem.ing/api/totemsdk-qvac/functions/classifyAdapter | Adapter # Function: classifyAdapter() > **classifyAdapter**(`provider`): [`QvacClassifyOps`](. createContentAccessGatedProvider | https://docs.totem.ing/api/totemsdk-qvac/functions/createContentAccessGatedProvider | ContentAccessGatedProvider # Function: createContentAccessGatedProvider() > **createContentAccessGatedProvider**(`policy`, `provider`): `IntelligenceProvider` Wrap a provider with workspace-scoped content gating (RFC-007 §5). createQvacIntelligenceProvider | https://docs.totem.ing/api/totemsdk-qvac/functions/createQvacIntelligenceProvider | QvacIntelligenceProvider # Function: createQvacIntelligenceProvider() > **createQvacIntelligenceProvider**(`options? diffusionAdapter | https://docs.totem.ing/api/totemsdk-qvac/functions/diffusionAdapter | Adapter # Function: diffusionAdapter() > **diffusionAdapter**(`provider`): [`QvacDiffusionOps`](. embedAdapter | https://docs.totem.ing/api/totemsdk-qvac/functions/embedAdapter | Adapter # Function: embedAdapter() > **embedAdapter**(`provider`): [`QvacEmbedOps`](. evaluateContentAccess | https://docs.totem.ing/api/totemsdk-qvac/functions/evaluateContentAccess | ContentAccess # Function: evaluateContentAccess() > **evaluateContentAccess**(`policy`, `domain`, `op`, `params`, `context`): [`ContentAccessDecision`](. llmAdapter | https://docs.totem.ing/api/totemsdk-qvac/functions/llmAdapter | Adapter # Function: llmAdapter() > **llmAdapter**(`provider`): [`QvacLlmOps`](. modelsAdapter | https://docs.totem.ing/api/totemsdk-qvac/functions/modelsAdapter | Adapter # Function: modelsAdapter() > **modelsAdapter**(`provider`): [`QvacModelsOps`](. ocrAdapter | https://docs.totem.ing/api/totemsdk-qvac/functions/ocrAdapter | Adapter # Function: ocrAdapter() > **ocrAdapter**(`provider`): [`QvacOcrOps`](. pluginsAdapter | https://docs.totem.ing/api/totemsdk-qvac/functions/pluginsAdapter | Adapter # Function: pluginsAdapter() > **pluginsAdapter**(`provider`): [`QvacPluginsOps`](. qvacOpShape | https://docs.totem.ing/api/totemsdk-qvac/functions/qvacOpShape | OpShape # Function: qvacOpShape() > **qvacOpShape**(`op`): [`QvacOpShape`](. ragAdapter | https://docs.totem.ing/api/totemsdk-qvac/functions/ragAdapter | Adapter # Function: ragAdapter() > **ragAdapter**(`provider`): [`QvacRagOps`](. systemAdapter | https://docs.totem.ing/api/totemsdk-qvac/functions/systemAdapter | Adapter # Function: systemAdapter() > **systemAdapter**(`provider`): [`QvacSystemOps`](. translateAdapter | https://docs.totem.ing/api/totemsdk-qvac/functions/translateAdapter | Adapter # Function: translateAdapter() > **translateAdapter**(`provider`): [`QvacTranslateOps`](. ttsAdapter | https://docs.totem.ing/api/totemsdk-qvac/functions/ttsAdapter | Adapter # Function: ttsAdapter() > **ttsAdapter**(`provider`): [`QvacTtsOps`](. verifyQvacRuntimeBehavior | https://docs.totem.ing/api/totemsdk-qvac/functions/verifyQvacRuntimeBehavior | QvacRuntimeBehavior # Function: verifyQvacRuntimeBehavior() > **verifyQvacRuntimeBehavior**(`input`): `Promise`\<[`QvacRuntimeVerificationMark`](. videoAdapter | https://docs.totem.ing/api/totemsdk-qvac/functions/videoAdapter | Adapter # Function: videoAdapter() > **videoAdapter**(`provider`): [`QvacVideoOps`](. vlaAdapter | https://docs.totem.ing/api/totemsdk-qvac/functions/vlaAdapter | Adapter # Function: vlaAdapter() > **vlaAdapter**(`provider`): [`QvacVlaOps`](. worldAdapter | https://docs.totem.ing/api/totemsdk-qvac/functions/worldAdapter | Adapter # Function: worldAdapter() > **worldAdapter**(`provider`): [`QvacWorldOps`](. AssessModelFitInput | https://docs.totem.ing/api/totemsdk-qvac/interfaces/AssessModelFitInput | AssessModelFitInput AssessModelFitResult | https://docs.totem.ing/api/totemsdk-qvac/interfaces/AssessModelFitResult | AssessModelFitResult # Interface: AssessModelFitResult ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### fits? AudioGenClientParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/AudioGenClientParams | AudioGenClientParams AudioGenResult | https://docs.totem.ing/api/totemsdk-qvac/interfaces/AudioGenResult | AudioGenResult BatchCompletionRun | https://docs.totem.ing/api/totemsdk-qvac/interfaces/BatchCompletionRun | BatchCompletionRun BciTranscribeClientParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/BciTranscribeClientParams | BciTranscribeClientParams # Interface: BciTranscribeClientParams ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### filePath? BciTranscribeStreamSession | https://docs.totem.ing/api/totemsdk-qvac/interfaces/BciTranscribeStreamSession | BciTranscribeStreamSession ClassificationResult | https://docs.totem.ing/api/totemsdk-qvac/interfaces/ClassificationResult | ClassificationResult # Interface: ClassificationResult ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### text > **text**: `string` *** ### value? ClassifyClientParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/ClassifyClientParams | ClassifyClientParams # Interface: ClassifyClientParams ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### labels? CompletionFinal | https://docs.totem.ing/api/totemsdk-qvac/interfaces/CompletionFinal | CompletionFinal # Interface: CompletionFinal ## Properties ### cacheableAssistantContent? CompletionParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/CompletionParams | CompletionParams # Interface: CompletionParams ## Properties ### captureThinking? CompletionRun | https://docs.totem.ing/api/totemsdk-qvac/interfaces/CompletionRun | CompletionRun # Interface: CompletionRun ## Properties ### events > **events**: `AsyncIterable`\<[`CompletionEvent`](. CompletionStats | https://docs.totem.ing/api/totemsdk-qvac/interfaces/CompletionStats | CompletionStats # Interface: CompletionStats ## Properties ### avgConcurrentSeq? ContentAccessDecision | https://docs.totem.ing/api/totemsdk-qvac/interfaces/ContentAccessDecision | ContentAccessDecision # Interface: ContentAccessDecision ## Properties ### allowed > **allowed**: `boolean` *** ### params? ContentAccessPolicy | https://docs.totem.ing/api/totemsdk-qvac/interfaces/ContentAccessPolicy | ContentAccessPolicy # Interface: ContentAccessPolicy ## Properties ### entitlements > **entitlements**: readonly [`ContentWorkspaceEntitlement`](ContentWorkspaceEntitlement. ContentWorkspaceEntitlement | https://docs.totem.ing/api/totemsdk-qvac/interfaces/ContentWorkspaceEntitlement | ContentWorkspaceEntitlement # Interface: ContentWorkspaceEntitlement A principal's entitlement to content. DiffusionClientParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/DiffusionClientParams | DiffusionClientParams # Interface: DiffusionClientParams ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### height? DiffusionProgressTick | https://docs.totem.ing/api/totemsdk-qvac/interfaces/DiffusionProgressTick | DiffusionProgressTick DiffusionResult | https://docs.totem.ing/api/totemsdk-qvac/interfaces/DiffusionResult | DiffusionResult # Interface: DiffusionResult ## Properties ### outputs > **outputs**: `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>[]\> *** ### progressStream > **progressStream**: `AsyncGenerator`\<[`DiffusionProgressTick`](DiffusionProgressTick. DownloadAssetOptions | https://docs.totem.ing/api/totemsdk-qvac/interfaces/DownloadAssetOptions | DownloadAssetOptions # Interface: DownloadAssetOptions ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### assetId? EmbedParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/EmbedParams | EmbedParams EmbedResult | https://docs.totem.ing/api/totemsdk-qvac/interfaces/EmbedResult | EmbedResult # Interface: EmbedResult ## Properties ### embedding > **embedding**: `number`[] \| `number`[][] *** ### stats? EmbedStats | https://docs.totem.ing/api/totemsdk-qvac/interfaces/EmbedStats | EmbedStats FinetuneHandle | https://docs.totem.ing/api/totemsdk-qvac/interfaces/FinetuneHandle | FinetuneHandle GetLoadedModelInfoParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/GetLoadedModelInfoParams | GetLoadedModelInfoParams GetModelInfoParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/GetModelInfoParams | GetModelInfoParams # Interface: GetModelInfoParams ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### modelId? GetSystemResourcesInput | https://docs.totem.ing/api/totemsdk-qvac/interfaces/GetSystemResourcesInput | GetSystemResourcesInput HeartbeatResponse | https://docs.totem.ing/api/totemsdk-qvac/interfaces/HeartbeatResponse | HeartbeatResponse InvokePluginOptions | https://docs.totem.ing/api/totemsdk-qvac/interfaces/InvokePluginOptions | InvokePluginOptions LoadModelOptions | https://docs.totem.ing/api/totemsdk-qvac/interfaces/LoadModelOptions | LoadModelOptions # Interface: LoadModelOptions ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### fallbackSrc? LoadedModelInfo | https://docs.totem.ing/api/totemsdk-qvac/interfaces/LoadedModelInfo | LoadedModelInfo # Interface: LoadedModelInfo ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### config? LoggingParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/LoggingParams | LoggingParams LoggingStreamResponse | https://docs.totem.ing/api/totemsdk-qvac/interfaces/LoggingStreamResponse | LoggingStreamResponse # Interface: LoggingStreamResponse ## Properties ### id > **id**: `string` *** ### level > **level**: [`LogLevel`](. ModelInfo | https://docs.totem.ing/api/totemsdk-qvac/interfaces/ModelInfo | ModelInfo # Interface: ModelInfo ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### config? ModelRegistryEntry | https://docs.totem.ing/api/totemsdk-qvac/interfaces/ModelRegistryEntry | ModelRegistryEntry # Interface: ModelRegistryEntry ## Extended by - [`ModelRegistryEntryAddon`](ModelRegistryEntryAddon. ModelRegistryEntryAddon | https://docs.totem.ing/api/totemsdk-qvac/interfaces/ModelRegistryEntryAddon | ModelRegistryEntryAddon # Interface: ModelRegistryEntryAddon ## Extends - [`ModelRegistryEntry`](ModelRegistryEntry. ModelRegistrySearchParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/ModelRegistrySearchParams | ModelRegistrySearchParams # Interface: ModelRegistrySearchParams ## Properties ### addon? OCRClientParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/OCRClientParams | OCRClientParams OCRStats | https://docs.totem.ing/api/totemsdk-qvac/interfaces/OCRStats | OCRStats # Interface: OCRStats ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### detectionTime? OCRTextBlock | https://docs.totem.ing/api/totemsdk-qvac/interfaces/OCRTextBlock | OCRTextBlock # Interface: OCRTextBlock ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### bbox? OcrResult | https://docs.totem.ing/api/totemsdk-qvac/interfaces/OcrResult | OcrResult # Interface: OcrResult ## Properties ### blocks > **blocks**: `Promise`\<[`OCRTextBlock`](OCRTextBlock. QvacAsrOps | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacAsrOps | QvacAsrOps # Interface: QvacAsrOps ## Properties ### bciTranscribe > **bciTranscribe**: `QvacOp`\<[`BciTranscribeClientParams`](BciTranscribeClientParams. QvacAudiogenOps | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacAudiogenOps | QvacAudiogenOps # Interface: QvacAudiogenOps ## Properties ### audioGen > **audioGen**: `QvacOp`\<[`AudioGenClientParams`](AudioGenClientParams. QvacCallResult | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacCallResult | QvacCallResult # Interface: QvacCallResult Result of a single QVAC invocation, normalised by the adapter. QvacClassifyOps | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacClassifyOps | QvacClassifyOps # Interface: QvacClassifyOps ## Properties ### classify > **classify**: `QvacOp`\<[`ClassifyClientParams`](ClassifyClientParams. QvacDiffusionOps | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacDiffusionOps | QvacDiffusionOps # Interface: QvacDiffusionOps ## Properties ### diffusion > **diffusion**: `QvacOp`\<[`DiffusionClientParams`](DiffusionClientParams. QvacEmbedOps | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacEmbedOps | QvacEmbedOps # Interface: QvacEmbedOps ## Properties ### embed > **embed**: `QvacOp`\<[`EmbedParams`](EmbedParams. QvacLlmOps | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacLlmOps | QvacLlmOps # Interface: QvacLlmOps ## Properties ### batchCompletion > **batchCompletion**: `QvacOp`\<`Record`\<`string`, `unknown`\>, [`BatchCompletionRun`](BatchCompletionRun. QvacModelsOps | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacModelsOps | QvacModelsOps # Interface: QvacModelsOps ## Properties ### assessModelFit > **assessModelFit**: `QvacOp`\<[`AssessModelFitInput`](AssessModelFitInput. QvacOcrOps | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacOcrOps | QvacOcrOps # Interface: QvacOcrOps ## Properties ### ocr > **ocr**: `QvacOp`\<[`OCRClientParams`](OCRClientParams. QvacOpHandler | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacOpHandler | QvacOpHandler # Interface: QvacOpHandler() > **QvacOpHandler**(`params`, `opts`): `Promise`\<[`QvacCallResult`](QvacCallResult. QvacPluginsOps | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacPluginsOps | QvacPluginsOps # Interface: QvacPluginsOps ## Properties ### invokePlugin > **invokePlugin**: `QvacOp`\<[`InvokePluginOptions`](InvokePluginOptions. QvacProviderOptions | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacProviderOptions | QvacProviderOptions # Interface: QvacProviderOptions Options for the QVAC intelligence adapter. QvacRagOps | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacRagOps | QvacRagOps # Interface: QvacRagOps ## Properties ### ragChunk > **ragChunk**: `QvacOp`\<[`RagChunkParams`](RagChunkParams. QvacRuntimeObservation | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacRuntimeObservation | QvacRuntimeObservation # Interface: QvacRuntimeObservation ## Properties ### scenario > `readonly` **scenario**: [`QvacRuntimeBehaviorScenario`](. QvacRuntimeVerificationMark | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacRuntimeVerificationMark | QvacRuntimeVerificationMark # Interface: QvacRuntimeVerificationMark ## Properties ### details > `readonly` **details**: readonly [`QvacRuntimeObservation`](QvacRuntimeObservation. QvacSdkLike | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacSdkLike | QvacSdkLike # Interface: QvacSdkLike Structural QVAC SDK surface. QvacSystemOps | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacSystemOps | QvacSystemOps # Interface: QvacSystemOps ## Properties ### cancel > **cancel**: `QvacOp`\<[`CancelClientInput`](. QvacTranslateOps | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacTranslateOps | QvacTranslateOps # Interface: QvacTranslateOps ## Properties ### translate > **translate**: `QvacOp`\<[`TranslateClientParams`](TranslateClientParams. QvacTtsOps | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacTtsOps | QvacTtsOps # Interface: QvacTtsOps ## Properties ### textToSpeech > **textToSpeech**: `QvacOp`\<[`TtsClientParamsInput`](TtsClientParamsInput. QvacVideoOps | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacVideoOps | QvacVideoOps # Interface: QvacVideoOps ## Properties ### video > **video**: `QvacOp`\<[`VideoClientParams`](VideoClientParams. QvacVlaOps | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacVlaOps | QvacVlaOps # Interface: QvacVlaOps ## Properties ### vla > **vla**: `QvacOp`\<[`VlaClientRunParams`](VlaClientRunParams. QvacWorldOps | https://docs.totem.ing/api/totemsdk-qvac/interfaces/QvacWorldOps | QvacWorldOps # Interface: QvacWorldOps ## Properties ### worldCreateScene > **worldCreateScene**: `QvacOp`\<[`WorldSceneClientParams`](WorldSceneClientParams. RagChunkParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/RagChunkParams | RagChunkParams # Interface: RagChunkParams ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### chunkOverlap? RagCloseWorkspaceParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/RagCloseWorkspaceParams | RagCloseWorkspaceParams # Interface: RagCloseWorkspaceParams ## Properties ### deleteOnClose? RagDeleteWorkspaceParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/RagDeleteWorkspaceParams | RagDeleteWorkspaceParams RagDoc | https://docs.totem.ing/api/totemsdk-qvac/interfaces/RagDoc | RagDoc # Interface: RagDoc ## Properties ### content > **content**: `string` *** ### embedding? RagEmbeddedDoc | https://docs.totem.ing/api/totemsdk-qvac/interfaces/RagEmbeddedDoc | RagEmbeddedDoc # Interface: RagEmbeddedDoc ## Properties ### content > **content**: `string` *** ### id > **id**: `string` *** ### metadata? RagIngestParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/RagIngestParams | RagIngestParams # Interface: RagIngestParams ## Properties ### documents > **documents**: `unknown`[] *** ### embeddingModelId > **embeddingModelId**: `string` *** ### workspaceId? RagReindexParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/RagReindexParams | RagReindexParams # Interface: RagReindexParams ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### workspaceId? RagSaveEmbeddingsParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/RagSaveEmbeddingsParams | RagSaveEmbeddingsParams # Interface: RagSaveEmbeddingsParams ## Properties ### chunks > **chunks**: [`RagEmbeddedDoc`](RagEmbeddedDoc. RagSaveEmbeddingsResult | https://docs.totem.ing/api/totemsdk-qvac/interfaces/RagSaveEmbeddingsResult | RagSaveEmbeddingsResult # Interface: RagSaveEmbeddingsResult ## Properties ### error? RagSearchParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/RagSearchParams | RagSearchParams # Interface: RagSearchParams ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### embeddingModelId > **embeddingModelId**: `string` *** ### text > **text**: `string` *** ### topK? RagSearchResult | https://docs.totem.ing/api/totemsdk-qvac/interfaces/RagSearchResult | RagSearchResult # Interface: RagSearchResult ## Properties ### details? RagWorkspaceInfo | https://docs.totem.ing/api/totemsdk-qvac/interfaces/RagWorkspaceInfo | RagWorkspaceInfo # Interface: RagWorkspaceInfo ## Properties ### documents? ServerLogHandler | https://docs.totem.ing/api/totemsdk-qvac/interfaces/ServerLogHandler | ServerLogHandler # Interface: ServerLogHandler() > **ServerLogHandler**(`log`): `void` ## Parameters ### log [`LoggingStreamResponse`](LoggingStreamResponse. SystemResources | https://docs.totem.ing/api/totemsdk-qvac/interfaces/SystemResources | SystemResources TextToSpeechStreamClientParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/TextToSpeechStreamClientParams | TextToSpeechStreamClientParams # Interface: TextToSpeechStreamClientParams ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### inputType? TextToSpeechStreamResponse | https://docs.totem.ing/api/totemsdk-qvac/interfaces/TextToSpeechStreamResponse | TextToSpeechStreamResponse # Interface: TextToSpeechStreamResponse ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### buffer? TextToSpeechStreamResult | https://docs.totem.ing/api/totemsdk-qvac/interfaces/TextToSpeechStreamResult | TextToSpeechStreamResult # Interface: TextToSpeechStreamResult ## Properties ### buffer > **buffer**: `Promise`\<`number`[]\> *** ### bufferStream > **bufferStream**: `AsyncGenerator`\<`number`\> *** ### chunkUpdates? TextToSpeechStreamSession | https://docs.totem.ing/api/totemsdk-qvac/interfaces/TextToSpeechStreamSession | TextToSpeechStreamSession # Interface: TextToSpeechStreamSession ## Methods ### \[asyncIterator\]() > **\[asyncIterator\]**(): `AsyncIterator`\<[`TextToSpeechStreamResponse`](TextToSpeechStreamResponse. TranscribeClientParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/TranscribeClientParams | TranscribeClientParams # Interface: TranscribeClientParams ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### audio? TranscribeSegment | https://docs.totem.ing/api/totemsdk-qvac/interfaces/TranscribeSegment | TranscribeSegment # Interface: TranscribeSegment ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### confidence? TranscribeStreamSession | https://docs.totem.ing/api/totemsdk-qvac/interfaces/TranscribeStreamSession | TranscribeStreamSession TranslateClientParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/TranslateClientParams | TranslateClientParams # Interface: TranslateClientParams ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### from > **from**: `string` *** ### modelId? TranslateResult | https://docs.totem.ing/api/totemsdk-qvac/interfaces/TranslateResult | TranslateResult # Interface: TranslateResult ## Properties ### requestId > **requestId**: `string` *** ### stats > **stats**: `Promise`\<[`TranslationStats`](TranslationStats. TranslationStats | https://docs.totem.ing/api/totemsdk-qvac/interfaces/TranslationStats | TranslationStats # Interface: TranslationStats ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### cacheTokens? TtsClientParamsInput | https://docs.totem.ing/api/totemsdk-qvac/interfaces/TtsClientParamsInput | TtsClientParamsInput # Interface: TtsClientParamsInput ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### emotion? TtsSentenceChunkUpdate | https://docs.totem.ing/api/totemsdk-qvac/interfaces/TtsSentenceChunkUpdate | TtsSentenceChunkUpdate # Interface: TtsSentenceChunkUpdate ## Properties ### buffer > **buffer**: `number`[] *** ### chunkIndex? UpscaleClientParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/UpscaleClientParams | UpscaleClientParams UpscaleResult | https://docs.totem.ing/api/totemsdk-qvac/interfaces/UpscaleResult | UpscaleResult # Interface: UpscaleResult ## Properties ### outputs > **outputs**: `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>[]\> *** ### progressStream > **progressStream**: `AsyncGenerator`\<[`DiffusionProgressTick`](DiffusionProgressTick. UpscaleStats | https://docs.totem.ing/api/totemsdk-qvac/interfaces/UpscaleStats | UpscaleStats UpscaleStreamResponse | https://docs.totem.ing/api/totemsdk-qvac/interfaces/UpscaleStreamResponse | UpscaleStreamResponse VerifyQvacRuntimeBehaviorInput | https://docs.totem.ing/api/totemsdk-qvac/interfaces/VerifyQvacRuntimeBehaviorInput | VerifyQvacRuntimeBehaviorInput # Interface: VerifyQvacRuntimeBehaviorInput ## Properties ### sdk > **sdk**: [`QvacSdkLike`](QvacSdkLike. VideoClientParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/VideoClientParams | VideoClientParams # Interface: VideoClientParams ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### image? VideoProgressTick | https://docs.totem.ing/api/totemsdk-qvac/interfaces/VideoProgressTick | VideoProgressTick VideoResult | https://docs.totem.ing/api/totemsdk-qvac/interfaces/VideoResult | VideoResult # Interface: VideoResult ## Properties ### outputs > **outputs**: `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>[]\> *** ### progressStream > **progressStream**: `AsyncGenerator`\<[`VideoProgressTick`](VideoProgressTick. VlaClientRunParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/VlaClientRunParams | VlaClientRunParams # Interface: VlaClientRunParams ## Properties ### images > **images**: `string`[] *** ### imgHeight > **imgHeight**: `number` *** ### imgWidth > **imgWidth**: `number` *** ### mask > **mask**: `string` *** ### modelId > **modelId**: `string` *** ### noise? VlaClientRunResult | https://docs.totem.ing/api/totemsdk-qvac/interfaces/VlaClientRunResult | VlaClientRunResult # Interface: VlaClientRunResult ## Properties ### actionDim > **actionDim**: `number` *** ### actions > **actions**: `string` *** ### chunkSize > **chunkSize**: `number` *** ### stats? VlaHparams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/VlaHparams | VlaHparams # Interface: VlaHparams ## Properties ### actionDim > **actionDim**: `number` *** ### chunkSize > **chunkSize**: `number` *** ### imageInputMode? VlaHparamsOpResult | https://docs.totem.ing/api/totemsdk-qvac/interfaces/VlaHparamsOpResult | VlaHparamsOpResult # Interface: VlaHparamsOpResult ## Properties ### backendName > **backendName**: `string` \| `null` *** ### hparams > **hparams**: [`VlaHparams`](VlaHparams. VlaStats | https://docs.totem.ing/api/totemsdk-qvac/interfaces/VlaStats | VlaStats # Interface: VlaStats ## Properties ### backendDevice? WorldSceneClientParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/WorldSceneClientParams | WorldSceneClientParams # Interface: WorldSceneClientParams ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### modelId > **modelId**: `string` *** ### username? WorldSceneResult | https://docs.totem.ing/api/totemsdk-qvac/interfaces/WorldSceneResult | WorldSceneResult # Interface: WorldSceneResult ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### scene? WorldSceneResultWithPack | https://docs.totem.ing/api/totemsdk-qvac/interfaces/WorldSceneResultWithPack | WorldSceneResultWithPack # Interface: WorldSceneResultWithPack ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### pack? WorldStepClientParams | https://docs.totem.ing/api/totemsdk-qvac/interfaces/WorldStepClientParams | WorldStepClientParams WorldStepProgressTick | https://docs.totem.ing/api/totemsdk-qvac/interfaces/WorldStepProgressTick | WorldStepProgressTick WorldStepResult | https://docs.totem.ing/api/totemsdk-qvac/interfaces/WorldStepResult | WorldStepResult # Interface: WorldStepResult ## Indexable > \[`key`: `string`\]: `unknown` ## Properties ### events? CancelClientInput | https://docs.totem.ing/api/totemsdk-qvac/type-aliases/CancelClientInput | CancelClientInput # Type Alias: CancelClientInput > **CancelClientInput** = \{ `clearCache? CompletionEvent | https://docs.totem.ing/api/totemsdk-qvac/type-aliases/CompletionEvent | CompletionEvent DeleteCacheParams | https://docs.totem.ing/api/totemsdk-qvac/type-aliases/DeleteCacheParams | DeleteCacheParams # Type Alias: DeleteCacheParams > **DeleteCacheParams** = \{ `all`: `true`; \} \| \{ `kvCacheKey`: `string`; `modelId? LogLevel | https://docs.totem.ing/api/totemsdk-qvac/type-aliases/LogLevel | LogLevel QvacOpShape | https://docs.totem.ing/api/totemsdk-qvac/type-aliases/QvacOpShape | QvacOpShape # Type Alias: QvacOpShape > **QvacOpShape** = \{ `kind`: `"record"`; \} \| \{ `argKeys`: readonly `string`[]; `kind`: `"positional"`; \} \| \{ `kind`: `"callback"`; `paramKey`: `string`; \} How a QVAC operation must be invoked on the SDK surface, because the upstream `@qvac/sdk@0. QvacRuntimeBehaviorScenario | https://docs.totem.ing/api/totemsdk-qvac/type-aliases/QvacRuntimeBehaviorScenario | QvacRuntimeBehaviorScenario QvacUsageExtractor | https://docs.totem.ing/api/totemsdk-qvac/type-aliases/QvacUsageExtractor | QvacUsageExtractor # Type Alias: QvacUsageExtractor > **QvacUsageExtractor** = (`domain`, `op`, `raw`) => `Partial`\<`IntelligenceUsage`\> \| `undefined` Extracts usage from an op result. RagDeleteEmbeddingsParams | https://docs.totem.ing/api/totemsdk-qvac/type-aliases/RagDeleteEmbeddingsParams | RagDeleteEmbeddingsParams # Type Alias: RagDeleteEmbeddingsParams > **RagDeleteEmbeddingsParams** = `object` ## Properties ### id? RagWorkspaceOp | https://docs.totem.ing/api/totemsdk-qvac/type-aliases/RagWorkspaceOp | RagWorkspaceOp # Type Alias: RagWorkspaceOp > **RagWorkspaceOp** = *typeof* [`RAG_WORKSPACE_OPS`](. StopReason | https://docs.totem.ing/api/totemsdk-qvac/type-aliases/StopReason | StopReason TtsPace | https://docs.totem.ing/api/totemsdk-qvac/type-aliases/TtsPace | TtsPace VlaEmbodimentSelection | https://docs.totem.ing/api/totemsdk-qvac/type-aliases/VlaEmbodimentSelection | VlaEmbodimentSelection # Type Alias: VlaEmbodimentSelection > **VlaEmbodimentSelection** = `string` \| `number` \| \{ `catId? WorldCreateSceneResult | https://docs.totem.ing/api/totemsdk-qvac/type-aliases/WorldCreateSceneResult | WorldCreateSceneResult # Type Alias: WorldCreateSceneResult > **WorldCreateSceneResult** = [`WorldSceneResult`](. CONTENT_DENY_CODE | https://docs.totem.ing/api/totemsdk-qvac/variables/CONTENT_DENY_CODE | CONTENT\_DENY\_CODE # Variable: CONTENT\_DENY\_CODE > `const` **CONTENT\_DENY\_CODE**: `IntelligenceErrorCode` Code for content-access denials. QVAC_OP_SHAPES | https://docs.totem.ing/api/totemsdk-qvac/variables/QVAC_OP_SHAPES | QVAC\_OP\_SHAPES # Variable: QVAC\_OP\_SHAPES > `const` **QVAC\_OP\_SHAPES**: `Readonly`\<`Record`\<`string`, [`QvacOpShape`](. QVAC_PROVIDER_VERIFIED_CLAIMS | https://docs.totem.ing/api/totemsdk-qvac/variables/QVAC_PROVIDER_VERIFIED_CLAIMS | QVAC_PROVIDER_VERIFIED_CLAIMS RAG_DESTRUCTIVE_OPS | https://docs.totem.ing/api/totemsdk-qvac/variables/RAG_DESTRUCTIVE_OPS | RAG\_DESTRUCTIVE\_OPS # Variable: RAG\_DESTRUCTIVE\_OPS > `const` **RAG\_DESTRUCTIVE\_OPS**: readonly \[`"ragDeleteEmbeddings"`, `"ragDeleteWorkspace"`, `"ragCloseWorkspace"`, `"ragReindex"`\] Delete-family ops — revoked entitlements must never trigger these. RAG_WORKSPACE_OPS | https://docs.totem.ing/api/totemsdk-qvac/variables/RAG_WORKSPACE_OPS | RAG\_WORKSPACE\_OPS # Variable: RAG\_WORKSPACE\_OPS > `const` **RAG\_WORKSPACE\_OPS**: readonly \[`"ragSearch"`, `"ragIngest"`, `"ragSaveEmbeddings"`, `"ragDeleteEmbeddings"`, `"ragReindex"`, `"ragListWorkspaces"`, `"ragCloseWorkspace"`, `"ragDeleteWorkspace"`\] Workspace-scoped RAG operations the content gate governs. asrDomain | https://docs.totem.ing/api/totemsdk-qvac/variables/asrDomain | asrDomain audiogenDomain | https://docs.totem.ing/api/totemsdk-qvac/variables/audiogenDomain | audiogenDomain classifyDomain | https://docs.totem.ing/api/totemsdk-qvac/variables/classifyDomain | classifyDomain diffusionDomain | https://docs.totem.ing/api/totemsdk-qvac/variables/diffusionDomain | diffusionDomain embedDomain | https://docs.totem.ing/api/totemsdk-qvac/variables/embedDomain | embedDomain llmDomain | https://docs.totem.ing/api/totemsdk-qvac/variables/llmDomain | llmDomain modelsDomain | https://docs.totem.ing/api/totemsdk-qvac/variables/modelsDomain | modelsDomain ocrDomain | https://docs.totem.ing/api/totemsdk-qvac/variables/ocrDomain | ocrDomain pluginsDomain | https://docs.totem.ing/api/totemsdk-qvac/variables/pluginsDomain | pluginsDomain ragDomain | https://docs.totem.ing/api/totemsdk-qvac/variables/ragDomain | ragDomain systemDomain | https://docs.totem.ing/api/totemsdk-qvac/variables/systemDomain | systemDomain translateDomain | https://docs.totem.ing/api/totemsdk-qvac/variables/translateDomain | translateDomain ttsDomain | https://docs.totem.ing/api/totemsdk-qvac/variables/ttsDomain | ttsDomain videoDomain | https://docs.totem.ing/api/totemsdk-qvac/variables/videoDomain | videoDomain vlaDomain | https://docs.totem.ing/api/totemsdk-qvac/variables/vlaDomain | vlaDomain worldDomain | https://docs.totem.ing/api/totemsdk-qvac/variables/worldDomain | worldDomain addRasterManifestToGraph | https://docs.totem.ing/api/totemsdk-raster-proof/functions/addRasterManifestToGraph | RasterManifestToGraph # Function: addRasterManifestToGraph() > **addRasterManifestToGraph**(`graph`, `manifest`): `ProofGraph` Add a raster manifest as a 'custom' node to a proof graph (immutable — returns a new graph). canonicalJson | https://docs.totem.ing/api/totemsdk-raster-proof/functions/canonicalJson | Json # Function: canonicalJson() > **canonicalJson**(`value`): `string` Deterministic canonical JSON with recursively sorted keys. chunkBytes | https://docs.totem.ing/api/totemsdk-raster-proof/functions/chunkBytes | Bytes # Function: chunkBytes() > **chunkBytes**(`bytes`, `chunkSizeBytes? computeMerkleRoot | https://docs.totem.ing/api/totemsdk-raster-proof/functions/computeMerkleRoot | MerkleRoot # Function: computeMerkleRoot() > **computeMerkleRoot**(`chunks`): `string` Compute the Merkle root over chunk hashes (deterministic). computeRasterManifestId | https://docs.totem.ing/api/totemsdk-raster-proof/functions/computeRasterManifestId | RasterManifestId # Function: computeRasterManifestId() > **computeRasterManifestId**(`input`): `string` Compute the stable raster manifest ID: "totem:raster:". computeRasterWindowProofId | https://docs.totem.ing/api/totemsdk-raster-proof/functions/computeRasterWindowProofId | RasterWindowProofId # Function: computeRasterWindowProofId() > **computeRasterWindowProofId**(`input`): `string` Compute the stable raster window proof ID: "totem:raster-window:". createDerivedRasterManifest | https://docs.totem.ing/api/totemsdk-raster-proof/functions/createDerivedRasterManifest | DerivedRasterManifest # Function: createDerivedRasterManifest() > **createDerivedRasterManifest**(`params`): [`RasterManifest`](. createMerkleProof | https://docs.totem.ing/api/totemsdk-raster-proof/functions/createMerkleProof | MerkleProof # Function: createMerkleProof() > **createMerkleProof**(`chunks`, `leafIndex`): [`RasterMerkleProof`](. createRasterManifest | https://docs.totem.ing/api/totemsdk-raster-proof/functions/createRasterManifest | RasterManifest # Function: createRasterManifest() > **createRasterManifest**(`params`): [`RasterManifest`](. createRasterMerkleSummary | https://docs.totem.ing/api/totemsdk-raster-proof/functions/createRasterMerkleSummary | RasterMerkleSummary # Function: createRasterMerkleSummary() > **createRasterMerkleSummary**(`bytes`, `options? createRasterSpatialRelation | https://docs.totem.ing/api/totemsdk-raster-proof/functions/createRasterSpatialRelation | RasterSpatialRelation # Function: createRasterSpatialRelation() > **createRasterSpatialRelation**(`params`): `SpatialRelationClaim` Evaluate a spatial relation between a raster footprint and a spatial object, producing a deterministic SpatialRelationClaim via @totemsdk/spatial-proof. createRasterWindowProof | https://docs.totem.ing/api/totemsdk-raster-proof/functions/createRasterWindowProof | RasterWindowProof # Function: createRasterWindowProof() > **createRasterWindowProof**(`params`): [`RasterWindowProof`](. createUnsignedRasterProof | https://docs.totem.ing/api/totemsdk-raster-proof/functions/createUnsignedRasterProof | UnsignedRasterProof # Function: createUnsignedRasterProof() > **createUnsignedRasterProof**(`params`): `UnsignedProof` Create an unsigned attestation proof for a raster manifest. hashBytes | https://docs.totem.ing/api/totemsdk-raster-proof/functions/hashBytes | Bytes # Function: hashBytes() > **hashBytes**(`bytes`): `string` SHA3-256 hash of raw bytes → lowercase hex (no 0x prefix). hashRasterManifest | https://docs.totem.ing/api/totemsdk-raster-proof/functions/hashRasterManifest | RasterManifest # Function: hashRasterManifest() > **hashRasterManifest**(`manifest`): `string` Hash a complete RasterManifest (excluding rasterId and metadata) to lowercase SHA3-256 hex without a 0x prefix — the value used in EvidenceRef. hashRasterWindowProof | https://docs.totem.ing/api/totemsdk-raster-proof/functions/hashRasterWindowProof | RasterWindowProof # Function: hashRasterWindowProof() > **hashRasterWindowProof**(`proof`): `string` Hash a complete RasterWindowProof (excluding windowProofId and metadata) to lowercase SHA3-256 hex without a 0x prefix. hashString | https://docs.totem.ing/api/totemsdk-raster-proof/functions/hashString | String # Function: hashString() > **hashString**(`value`): `string` SHA3-256 hash of a UTF-8 string → lowercase hex (no 0x prefix). hashSubarray | https://docs.totem.ing/api/totemsdk-raster-proof/functions/hashSubarray | Subarray # Function: hashSubarray() > **hashSubarray**(`bytes`, `offset`, `length`): `string` Hash a chunk's bytes in-place using hashBytes. merkleLeafHash | https://docs.totem.ing/api/totemsdk-raster-proof/functions/merkleLeafHash | LeafHash # Function: merkleLeafHash() > **merkleLeafHash**(`chunk`): `string` Domain-separated Merkle leaf hash for a chunk. rasterEvidenceRefs | https://docs.totem.ing/api/totemsdk-raster-proof/functions/rasterEvidenceRefs | EvidenceRefs # Function: rasterEvidenceRefs() > **rasterEvidenceRefs**(`manifest`, `windowProof? rasterFootprintToSpatialObject | https://docs.totem.ing/api/totemsdk-raster-proof/functions/rasterFootprintToSpatialObject | FootprintToSpatialObject # Function: rasterFootprintToSpatialObject() > **rasterFootprintToSpatialObject**(`manifest`): `SpatialObject` \| `null` Convert a raster manifest into a spatial object footprint, or null when the manifest has no bounds (nothing to georeference). rasterManifestToEvidenceRef | https://docs.totem.ing/api/totemsdk-raster-proof/functions/rasterManifestToEvidenceRef | ManifestToEvidenceRef # Function: rasterManifestToEvidenceRef() > **rasterManifestToEvidenceRef**(`manifest`): `EvidenceRef` Convert a RasterManifest into an EvidenceRef for inclusion in a proof. rasterManifestToGraphEdges | https://docs.totem.ing/api/totemsdk-raster-proof/functions/rasterManifestToGraphEdges | ManifestToGraphEdges # Function: rasterManifestToGraphEdges() > **rasterManifestToGraphEdges**(`manifest`): `ProofGraphEdge`[] Build ProofGraphEdges for a raster manifest: derived_from raster → each source raster (when provenance. rasterManifestToProofGraphNode | https://docs.totem.ing/api/totemsdk-raster-proof/functions/rasterManifestToProofGraphNode | ManifestToProofGraphNode # Function: rasterManifestToProofGraphNode() > **rasterManifestToProofGraphNode**(`manifest`): `ProofGraphNode` Build a ProofGraphNode for a raster manifest ('custom' type). rasterWindowProofToEvidenceRef | https://docs.totem.ing/api/totemsdk-raster-proof/functions/rasterWindowProofToEvidenceRef | WindowProofToEvidenceRef # Function: rasterWindowProofToEvidenceRef() > **rasterWindowProofToEvidenceRef**(`proof`): `EvidenceRef` Convert a RasterWindowProof into an EvidenceRef for inclusion in a proof. rasterWindowProofToGraphEdges | https://docs.totem.ing/api/totemsdk-raster-proof/functions/rasterWindowProofToGraphEdges | WindowProofToGraphEdges # Function: rasterWindowProofToGraphEdges() > **rasterWindowProofToGraphEdges**(`windowProof`): `ProofGraphEdge`[] Build ProofGraphEdges for a raster window proof: derived_from window proof → raster ## Parameters ### windowProof [`RasterWindowProof`](. rasterWindowProofToProofGraphNode | https://docs.totem.ing/api/totemsdk-raster-proof/functions/rasterWindowProofToProofGraphNode | WindowProofToProofGraphNode # Function: rasterWindowProofToProofGraphNode() > **rasterWindowProofToProofGraphNode**(`windowProof`): `ProofGraphNode` Build a ProofGraphNode for a raster window proof ('custom' type). signRasterProof | https://docs.totem.ing/api/totemsdk-raster-proof/functions/signRasterProof | RasterProof # Function: signRasterProof() > **signRasterProof**(`unsigned`, `seed`, `keyIndex`): `SignedProof` Sign an unsigned raster proof with a WOTS key. toHex | https://docs.totem.ing/api/totemsdk-raster-proof/functions/toHex | toHex validateRasterManifest | https://docs.totem.ing/api/totemsdk-raster-proof/functions/validateRasterManifest | RasterManifest # Function: validateRasterManifest() > **validateRasterManifest**(`manifest`): [`RasterValidationResult`](. verifyMerkleProof | https://docs.totem.ing/api/totemsdk-raster-proof/functions/verifyMerkleProof | MerkleProof # Function: verifyMerkleProof() > **verifyMerkleProof**(`proof`): `boolean` Verify a Merkle inclusion proof against its own root. verifyRasterDerivation | https://docs.totem.ing/api/totemsdk-raster-proof/functions/verifyRasterDerivation | RasterDerivation # Function: verifyRasterDerivation() > **verifyRasterDerivation**(`manifest`, `sourceManifests`): [`RasterDerivationVerifyResult`](. verifyRasterProof | https://docs.totem.ing/api/totemsdk-raster-proof/functions/verifyRasterProof | RasterProof # Function: verifyRasterProof() > **verifyRasterProof**(`signed`): [`RasterProofVerifyResult`](. CreateDerivedRasterManifestParams | https://docs.totem.ing/api/totemsdk-raster-proof/interfaces/CreateDerivedRasterManifestParams | CreateDerivedRasterManifestParams # Interface: CreateDerivedRasterManifestParams ## Properties ### asset > **asset**: [`RasterAssetRef`](RasterAssetRef. CreateRasterManifestParams | https://docs.totem.ing/api/totemsdk-raster-proof/interfaces/CreateRasterManifestParams | CreateRasterManifestParams # Interface: CreateRasterManifestParams ## Properties ### asset > **asset**: [`RasterAssetRef`](RasterAssetRef. CreateRasterProofParams | https://docs.totem.ing/api/totemsdk-raster-proof/interfaces/CreateRasterProofParams | CreateRasterProofParams # Interface: CreateRasterProofParams ## Properties ### expiresAt? CreateRasterSpatialRelationParams | https://docs.totem.ing/api/totemsdk-raster-proof/interfaces/CreateRasterSpatialRelationParams | CreateRasterSpatialRelationParams # Interface: CreateRasterSpatialRelationParams ## Properties ### computedAt? CreateRasterWindowProofParams | https://docs.totem.ing/api/totemsdk-raster-proof/interfaces/CreateRasterWindowProofParams | CreateRasterWindowProofParams # Interface: CreateRasterWindowProofParams ## Properties ### chunkHashes > **chunkHashes**: `string`[] *** ### chunkIndices > **chunkIndices**: `number`[] *** ### createdAt? RasterAssetRef | https://docs.totem.ing/api/totemsdk-raster-proof/interfaces/RasterAssetRef | RasterAssetRef # Interface: RasterAssetRef ## Properties ### byteSize? RasterChunk | https://docs.totem.ing/api/totemsdk-raster-proof/interfaces/RasterChunk | RasterChunk RasterDerivationVerifyResult | https://docs.totem.ing/api/totemsdk-raster-proof/interfaces/RasterDerivationVerifyResult | RasterDerivationVerifyResult # Interface: RasterDerivationVerifyResult ## Properties ### missingSources? RasterManifest | https://docs.totem.ing/api/totemsdk-raster-proof/interfaces/RasterManifest | RasterManifest # Interface: RasterManifest ## Properties ### asset > **asset**: [`RasterAssetRef`](RasterAssetRef. RasterMerkleOptions | https://docs.totem.ing/api/totemsdk-raster-proof/interfaces/RasterMerkleOptions | RasterMerkleOptions # Interface: RasterMerkleOptions ## Properties ### chunkSizeBytes? RasterMerkleProof | https://docs.totem.ing/api/totemsdk-raster-proof/interfaces/RasterMerkleProof | RasterMerkleProof RasterMerkleSummary | https://docs.totem.ing/api/totemsdk-raster-proof/interfaces/RasterMerkleSummary | RasterMerkleSummary RasterProofVerifyResult | https://docs.totem.ing/api/totemsdk-raster-proof/interfaces/RasterProofVerifyResult | RasterProofVerifyResult # Interface: RasterProofVerifyResult ## Properties ### derivationValid? RasterProvenance | https://docs.totem.ing/api/totemsdk-raster-proof/interfaces/RasterProvenance | RasterProvenance # Interface: RasterProvenance ## Properties ### derivedFrom? RasterSpatialMetadata | https://docs.totem.ing/api/totemsdk-raster-proof/interfaces/RasterSpatialMetadata | RasterSpatialMetadata # Interface: RasterSpatialMetadata Spatial context for a raster asset. RasterValidationResult | https://docs.totem.ing/api/totemsdk-raster-proof/interfaces/RasterValidationResult | RasterValidationResult RasterWindowProof | https://docs.totem.ing/api/totemsdk-raster-proof/interfaces/RasterWindowProof | RasterWindowProof # Interface: RasterWindowProof ## Properties ### chunkHashes > **chunkHashes**: `string`[] *** ### chunkIndices > **chunkIndices**: `number`[] *** ### createdAt > **createdAt**: `number` *** ### merkleRoot > **merkleRoot**: `string` *** ### metadata? RasterAssetFormat | https://docs.totem.ing/api/totemsdk-raster-proof/type-aliases/RasterAssetFormat | RasterAssetFormat RasterLayerType | https://docs.totem.ing/api/totemsdk-raster-proof/type-aliases/RasterLayerType | RasterLayerType RasterSourceType | https://docs.totem.ing/api/totemsdk-raster-proof/type-aliases/RasterSourceType | RasterSourceType # Type Alias: RasterSourceType > **RasterSourceType** = `"satellite"` \| `"drone"` \| `"camera"` \| `"robot-camera"` \| `"thermal-camera"` \| `"lidar-derived"` \| `"radar"` \| `"map-tile"` \| `"derived"` \| `"manual-import"` \| `"other"` @totemsdk/raster-proof — Type definitions Pure schema for raster and visual evidence proofs. DEFAULT_CHUNK_SIZE_BYTES | https://docs.totem.ing/api/totemsdk-raster-proof/variables/DEFAULT_CHUNK_SIZE_BYTES | DEFAULT_CHUNK_SIZE_BYTES LookupBackend | https://docs.totem.ing/api/totemsdk-realtime/classes/LookupBackend | LookupBackend # Class: LookupBackend Plug-in interface for the portfolio data source. MinimaRpcBackend | https://docs.totem.ing/api/totemsdk-realtime/classes/MinimaRpcBackend | MinimaRpcBackend # Class: MinimaRpcBackend Plug-in interface for the portfolio data source. PortfolioCache | https://docs.totem.ing/api/totemsdk-realtime/classes/PortfolioCache | PortfolioCache # Class: PortfolioCache ## Constructors ### Constructor > **new PortfolioCache**(`deps`, `config? PortfolioStreamManager | https://docs.totem.ing/api/totemsdk-realtime/classes/PortfolioStreamManager | PortfolioStreamManager # Class: PortfolioStreamManager ## Constructors ### Constructor > **new PortfolioStreamManager**(`deps`, `config`): `PortfolioStreamManager` #### Parameters ##### deps [`PortfolioStreamDependencies`](. classifyKind | https://docs.totem.ing/api/totemsdk-realtime/functions/classifyKind | Kind # Function: classifyKind() > **classifyKind**(`tokenid`, `decimals`, `total`, `artimage`): `"native"` \| `"token"` \| `"nft"` Classify a portfolio entry based on its fields. createPortfolioStreamManager | https://docs.totem.ing/api/totemsdk-realtime/functions/createPortfolioStreamManager | PortfolioStreamManager # Function: createPortfolioStreamManager() > **createPortfolioStreamManager**(`deps`, `config`): [`PortfolioStreamManager`](. toPortfolioEntry | https://docs.totem.ing/api/totemsdk-realtime/functions/toPortfolioEntry | PortfolioEntry # Function: toPortfolioEntry() > **toPortfolioEntry**(`raw`, `address`): [`PortfolioEntry`](. LookupLike | https://docs.totem.ing/api/totemsdk-realtime/interfaces/LookupLike | LookupLike # Interface: LookupLike Duck-typed subset of LookupClient that LookupBackend needs. MinimaRpcLike | https://docs.totem.ing/api/totemsdk-realtime/interfaces/MinimaRpcLike | MinimaRpcLike # Interface: MinimaRpcLike Duck-typed subset of MinimaRpcClient that MinimaRpcBackend needs. PortfolioBackend | https://docs.totem.ing/api/totemsdk-realtime/interfaces/PortfolioBackend | PortfolioBackend # Interface: PortfolioBackend Plug-in interface for the portfolio data source. PortfolioCacheConfig | https://docs.totem.ing/api/totemsdk-realtime/interfaces/PortfolioCacheConfig | PortfolioCacheConfig # Interface: PortfolioCacheConfig ## Properties ### maxCacheAge? PortfolioCacheDependencies | https://docs.totem.ing/api/totemsdk-realtime/interfaces/PortfolioCacheDependencies | PortfolioCacheDependencies PortfolioEntry | https://docs.totem.ing/api/totemsdk-realtime/interfaces/PortfolioEntry | PortfolioEntry # Interface: PortfolioEntry A single portfolio entry representing one asset held at an address. PortfolioStreamConfig | https://docs.totem.ing/api/totemsdk-realtime/interfaces/PortfolioStreamConfig | PortfolioStreamConfig # Interface: PortfolioStreamConfig ## Properties ### backend? PortfolioStreamDependencies | https://docs.totem.ing/api/totemsdk-realtime/interfaces/PortfolioStreamDependencies | PortfolioStreamDependencies # Interface: PortfolioStreamDependencies ## Properties ### http > **http**: `HttpClient` *** ### lifecycle? PortfolioStreamListener | https://docs.totem.ing/api/totemsdk-realtime/interfaces/PortfolioStreamListener | PortfolioStreamListener # Interface: PortfolioStreamListener ## Properties ### onConnectionStateChange? PortfolioUpdateEvent | https://docs.totem.ing/api/totemsdk-realtime/interfaces/PortfolioUpdateEvent | PortfolioUpdateEvent # Interface: PortfolioUpdateEvent ## Properties ### address > **address**: `string` *** ### entries > **entries**: [`PortfolioEntry`](PortfolioEntry. RawBalanceEntry | https://docs.totem.ing/api/totemsdk-realtime/interfaces/RawBalanceEntry | RawBalanceEntry # Interface: RawBalanceEntry Raw shape accepted by toPortfolioEntry(). TxConfirmationEvent | https://docs.totem.ing/api/totemsdk-realtime/interfaces/TxConfirmationEvent | TxConfirmationEvent WebSocketMessage | https://docs.totem.ing/api/totemsdk-realtime/interfaces/WebSocketMessage | WebSocketMessage WebSocketTokenResponse | https://docs.totem.ing/api/totemsdk-realtime/interfaces/WebSocketTokenResponse | WebSocketTokenResponse # Interface: WebSocketTokenResponse ## Properties ### expiresAt? BackendUnsubscribe | https://docs.totem.ing/api/totemsdk-realtime/type-aliases/BackendUnsubscribe | BackendUnsubscribe ConnectionState | https://docs.totem.ing/api/totemsdk-realtime/type-aliases/ConnectionState | ConnectionState HttpPolicyStore | https://docs.totem.ing/api/totemsdk-recursive-mast/classes/HttpPolicyStore | HttpPolicyStore # Class: HttpPolicyStore ## Implements - [`RecursiveMastPolicyStore`](. MemoryPolicyStore | https://docs.totem.ing/api/totemsdk-recursive-mast/classes/MemoryPolicyStore | MemoryPolicyStore # Class: MemoryPolicyStore ## Implements - [`RecursiveMastPolicyStore`](. acceptResponse | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/acceptResponse | Response # Function: acceptResponse() > **acceptResponse**(`session`, `response`): [`SigningSession`](. advanceSession | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/advanceSession | Session # Function: advanceSession() > **advanceSession**(`session`): [`SigningSession`](. announcePolicy | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/announcePolicy | Policy # Function: announcePolicy() > **announcePolicy**(`client`, `config`): `Promise`\<`void`\> Announce a policy manifest to the lookup network. asBlockDuration | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/asBlockDuration | BlockDuration # Function: asBlockDuration() > **asBlockDuration**(`n`): [`BlockDuration`](. asBlockHeight | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/asBlockHeight | BlockHeight # Function: asBlockHeight() > **asBlockHeight**(`n`): [`BlockHeight`](. asUnixTimeMs | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/asUnixTimeMs | UnixTimeMs # Function: asUnixTimeMs() > **asUnixTimeMs**(`n`): [`UnixTimeMs`](. asUnixTimeSec | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/asUnixTimeSec | UnixTimeSec # Function: asUnixTimeSec() > **asUnixTimeSec**(`n`): [`UnixTimeSec`](. auditPolicyAvailability | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/auditPolicyAvailability | PolicyAvailability # Function: auditPolicyAvailability() > **auditPolicyAvailability**(`config`): `Promise`\<[`PolicyAvailabilityReport`](. branchSummary | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/branchSummary | Summary # Function: branchSummary() > **branchSummary**(`branch`): [`MastBranchSummary`](. buildAcceptanceScript | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildAcceptanceScript | AcceptanceScript # Function: buildAcceptanceScript() > **buildAcceptanceScript**(`targetDomain`, `targetPolicyRoot`, `constraints? buildBidirectionalBridge | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildBidirectionalBridge | BidirectionalBridge # Function: buildBidirectionalBridge() > **buildBidirectionalBridge**(`domainA`, `domainB`, `rootA`, `rootB`, `proofAtoB`, `proofBtoA`, `constraints? buildCrossDomainBridge | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildCrossDomainBridge | CrossDomainBridge # Function: buildCrossDomainBridge() > **buildCrossDomainBridge**(`sourceDomain`, `targetDomain`, `sourcePolicyRoot`, `targetPolicyRoot`, `acceptanceProof`, `constraints? buildDelegationChain | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildDelegationChain | DelegationChain # Function: buildDelegationChain() > **buildDelegationChain**(`links`): `DelegationChain` Build a complete delegation chain from an ordered list of links. buildDelegationLink | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildDelegationLink | DelegationLink # Function: buildDelegationLink() > **buildDelegationLink**(`delegator`, `delegate`, `policyRoot`, `proof`, `constraints? buildDelegationScript | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildDelegationScript | DelegationScript # Function: buildDelegationScript() > **buildDelegationScript**(`delegator`, `delegate`, `constraints? buildEpochAdvancementScript | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildEpochAdvancementScript | EpochAdvancementScript # Function: buildEpochAdvancementScript() > **buildEpochAdvancementScript**(`config`, `newEpoch`, `authorizerPkd`): `string` ## Parameters ### config [`PolicyAnchorConfig`](. buildLayerSubset | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildLayerSubset | LayerSubset # Function: buildLayerSubset() > **buildLayerSubset**(`config`, `include`): `object` Build a subset of layers — useful when some layers are optional. buildLayeredMastScript | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildLayeredMastScript | LayeredMastScript # Function: buildLayeredMastScript() > **buildLayeredMastScript**(`config`): `string` Build the nested MAST KISSVM script for a layered policy. buildLayeredPolicy | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildLayeredPolicy | LayeredPolicy # Function: buildLayeredPolicy() > **buildLayeredPolicy**(`config`): `object` Build a layered policy tree from a config. buildMigrationPath | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildMigrationPath | MigrationPath # Function: buildMigrationPath() > **buildMigrationPath**(`steps`): `MigrationPath` Build a complete migration path from an ordered list of steps. buildMigrationScript | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildMigrationScript | MigrationScript # Function: buildMigrationScript() > **buildMigrationScript**(`fromPolicyRoot`, `toPolicyRoot`, `activationBlock`, `deprecationBlock`): `string` Build the KISSVM migration script. buildMigrationStep | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildMigrationStep | MigrationStep # Function: buildMigrationStep() > **buildMigrationStep**(`fromPolicyRoot`, `toPolicyRoot`, `activationBlock`, `deprecationBlock`, `proof`): `MigrationStep` Build a single migration step. buildPolicyAnchorScript | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildPolicyAnchorScript | PolicyAnchorScript # Function: buildPolicyAnchorScript() > **buildPolicyAnchorScript**(`config`): `string` ## Parameters ### config [`PolicyAnchorConfig`](. buildPolicyAnchorState | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildPolicyAnchorState | PolicyAnchorState # Function: buildPolicyAnchorState() > **buildPolicyAnchorState**(`config`, `initialRoots`): `Record`\<`number`, `string`\> ## Parameters ### config [`PolicyAnchorConfig`](. buildPolicyTree | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildPolicyTree | PolicyTree # Function: buildPolicyTree() > **buildPolicyTree**(`nodes`): [`PolicyTree`](. buildPrevStateWorkflow | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildPrevStateWorkflow | PrevStateWorkflow # Function: buildPrevStateWorkflow() > **buildPrevStateWorkflow**(`id`, `name`, `transitions`, `additionalScript? buildProofChain | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildProofChain | ProofChain # Function: buildProofChain() > **buildProofChain**(`links`): [`ProofChain`](. buildRecursiveWitnessPlan | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildRecursiveWitnessPlan | RecursiveWitnessPlan # Function: buildRecursiveWitnessPlan() > **buildRecursiveWitnessPlan**(`selectedPath`, `disclosedScripts`, `collectedSignatures`): `object` Build a recursive MAST witness plan from collected signatures and disclosed scripts. buildRootRotationScript | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildRootRotationScript | buildRootRotationScript buildStateTransition | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildStateTransition | StateTransition # Function: buildStateTransition() > **buildStateTransition**(`port`, `name`, `currentValue`, `previousValue`, `transition`): [`StateTransition`](. buildTrustNetwork | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/buildTrustNetwork | TrustNetwork # Function: buildTrustNetwork() > **buildTrustNetwork**(`bridges`): `object` Build a trust network — a set of cross-domain bridges forming a connected graph of mutually trusting policy spaces. bundleKey | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/bundleKey | Key # Function: bundleKey() > **bundleKey**(`bundleHash`): [`ContentKey`](. cancelSession | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/cancelSession | Session # Function: cancelSession() > **cancelSession**(`session`, `reason? canonicalHash | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/canonicalHash | Hash # Function: canonicalHash() > **canonicalHash**(`domain`, `payload`, `version? canonicalSerialize | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/canonicalSerialize | Serialize # Function: canonicalSerialize() > **canonicalSerialize**(`domain`, `payload`, `version? canonicalSign | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/canonicalSign | Sign # Function: canonicalSign() > **canonicalSign**(`domain`, `payload`, `signFn`, `version? canonicalVerify | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/canonicalVerify | Verify # Function: canonicalVerify() > **canonicalVerify**(`domain`, `payload`, `signature`, `verifyFn`, `version? collectSigningResponses | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/collectSigningResponses | SigningResponses # Function: collectSigningResponses() > **collectSigningResponses**(`requiredRoles`, `responses`, `options? compileMastTree | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/compileMastTree | MastTree # Function: compileMastTree() > **compileMastTree**(`scripts`): [`CompiledMast`](. compilePolicyGraph | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/compilePolicyGraph | PolicyGraph # Function: compilePolicyGraph() > **compilePolicyGraph**(`policy`): [`CompiledRecursivePolicy`](. computeBranchInventoryHash | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/computeBranchInventoryHash | BranchInventoryHash # Function: computeBranchInventoryHash() > **computeBranchInventoryHash**(`inventory`): `string` ## Parameters ### inventory [`BranchInventory`](. computeBundleHash | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/computeBundleHash | computeBundleHash computeCanonicalScriptAddress | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/computeCanonicalScriptAddress | computeCanonicalScriptAddress computeCanonicalScriptHash | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/computeCanonicalScriptHash | computeCanonicalScriptHash computeKeyFingerprint | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/computeKeyFingerprint | computeKeyFingerprint computePolicyPackageHash | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/computePolicyPackageHash | PolicyPackageHash # Function: computePolicyPackageHash() > **computePolicyPackageHash**(`scripts`, `proofs`, `metadata`): `string` Compute the policy package hash — SHA3-256 of all scripts + proofs + metadata. computeScriptHash | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/computeScriptHash | computeScriptHash confirmSession | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/confirmSession | Session # Function: confirmSession() > **confirmSession**(`session`, `confirmation`): [`SigningSession`](. counterWorkflow | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/counterWorkflow | Workflow # Function: counterWorkflow() > **counterWorkflow**(`port`, `maxValue? createAvailabilityReceipt | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/createAvailabilityReceipt | AvailabilityReceipt # Function: createAvailabilityReceipt() > **createAvailabilityReceipt**(`config`): [`AvailabilityReceipt`](. createBranchPackage | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/createBranchPackage | BranchPackage # Function: createBranchPackage() > **createBranchPackage**(`config`): `Promise`\<[`MastBranchPackage`](. createEncryptedBranch | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/createEncryptedBranch | EncryptedBranch # Function: createEncryptedBranch() > **createEncryptedBranch**(`branch`, `encryptFn`, `keyFingerprint`, `recipientPkds`): `Promise`\<[`EncryptedBranchPackage`](. createEncryptionEnvelope | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/createEncryptionEnvelope | EncryptionEnvelope # Function: createEncryptionEnvelope() > **createEncryptionEnvelope**(`algorithm`, `keyBytes`, `nonce`, `ciphertext`): [`EncryptionEnvelope`](. createKeyWrappingEnvelope | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/createKeyWrappingEnvelope | KeyWrappingEnvelope # Function: createKeyWrappingEnvelope() > **createKeyWrappingEnvelope**(`algorithm`, `recipientPkd`, `wrappedKey`, `keyFingerprint`): [`KeyWrappingEnvelope`](. createSigningRequest | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/createSigningRequest | SigningRequest # Function: createSigningRequest() > **createSigningRequest**(`config`, `requesterSignFn`): `Promise`\<[`PolicySigningRequest`](. createSigningResponse | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/createSigningResponse | SigningResponse # Function: createSigningResponse() > **createSigningResponse**(`config`): [`PolicySigningResponse`](. createSigningSession | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/createSigningSession | SigningSession # Function: createSigningSession() > **createSigningSession**(`config`): [`SigningSession`](. decryptBranch | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/decryptBranch | Branch # Function: decryptBranch() > **decryptBranch**(`encrypted`, `decryptFn`, `keyFingerprint`): `Promise`\<[`DecryptedBranchResult`](. deserializeBranchPackage | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/deserializeBranchPackage | BranchPackage # Function: deserializeBranchPackage() > **deserializeBranchPackage**(`data`): [`MastBranchPackage`](. deserializeEncryptionEnvelope | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/deserializeEncryptionEnvelope | EncryptionEnvelope # Function: deserializeEncryptionEnvelope() > **deserializeEncryptionEnvelope**(`data`): [`EncryptionEnvelope`](. deserializeKeyWrappingEnvelope | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/deserializeKeyWrappingEnvelope | KeyWrappingEnvelope # Function: deserializeKeyWrappingEnvelope() > **deserializeKeyWrappingEnvelope**(`data`): [`KeyWrappingEnvelope`](. encryptedBranchPublicMetadata | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/encryptedBranchPublicMetadata | BranchPublicMetadata # Function: encryptedBranchPublicMetadata() > **encryptedBranchPublicMetadata**(`encrypted`): `object` ## Parameters ### encrypted [`EncryptedBranchPackage`](. findPolicyNode | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/findPolicyNode | PolicyNode # Function: findPolicyNode() > **findPolicyNode**(`tree`, `id`): [`PolicyNode`](. getActivePolicyRoot | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/getActivePolicyRoot | ActivePolicyRoot # Function: getActivePolicyRoot() > **getActivePolicyRoot**(`path`, `currentBlock`): `string` Get the active policy root at a given block height from a migration path. getBranchesByAction | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/getBranchesByAction | BranchesByAction # Function: getBranchesByAction() > **getBranchesByAction**(`inventory`, `action`): [`BranchInventoryEntry`](. getBranchesByRole | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/getBranchesByRole | BranchesByRole # Function: getBranchesByRole() > **getBranchesByRole**(`inventory`, `role`): [`BranchInventoryEntry`](. getCriticalBranches | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/getCriticalBranches | CriticalBranches # Function: getCriticalBranches() > **getCriticalBranches**(`inventory`): [`BranchInventoryEntry`](. getPolicyLeaves | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/getPolicyLeaves | PolicyLeaves # Function: getPolicyLeaves() > **getPolicyLeaves**(`tree`): [`PolicyNode`](. getPolicyPath | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/getPolicyPath | PolicyPath # Function: getPolicyPath() > **getPolicyPath**(`tree`, `targetId`): [`PolicyNode`](. getRecoveryBranches | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/getRecoveryBranches | RecoveryBranches # Function: getRecoveryBranches() > **getRecoveryBranches**(`inventory`): [`BranchInventoryEntry`](. isEncryptedBranch | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/isEncryptedBranch | isEncryptedBranch isMigrationActive | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/isMigrationActive | MigrationActive # Function: isMigrationActive() > **isMigrationActive**(`step`, `currentBlock`): `boolean` Check whether a migration step is currently active at a given block height. isMigrationComplete | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/isMigrationComplete | MigrationComplete # Function: isMigrationComplete() > **isMigrationComplete**(`step`, `currentBlock`): `boolean` Check whether a migration step is fully complete (old policy deprecated). nowMs | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/nowMs | Ms # Function: nowMs() > **nowMs**(): [`UnixTimeMs`](. nowSec | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/nowSec | Sec # Function: nowSec() > **nowSec**(): [`UnixTimeSec`](. parseContentKey | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/parseContentKey | ContentKey # Function: parseContentKey() > **parseContentKey**(`key`): [`ContentKey`](. policyManifestKey | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/policyManifestKey | ManifestKey # Function: policyManifestKey() > **policyManifestKey**(`policyId`, `version`): [`ContentKey`](. proofKey | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/proofKey | Key # Function: proofKey() > **proofKey**(`policyRoot`, `scriptHash`): [`ContentKey`](. queryPolicies | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/queryPolicies | Policies # Function: queryPolicies() > **queryPolicies**(`client`, `config`): `Promise`\<[`PolicyQueryResult`](. receiptCoversBranch | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/receiptCoversBranch | CoversBranch # Function: receiptCoversBranch() > **receiptCoversBranch**(`receipt`, `scriptHash`): `boolean` ## Parameters ### receipt [`AvailabilityReceipt`](. receiptCoversInventory | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/receiptCoversInventory | CoversInventory # Function: receiptCoversInventory() > **receiptCoversInventory**(`receipt`, `inventory`): `boolean` ## Parameters ### receipt [`AvailabilityReceipt`](. recordEvidence | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/recordEvidence | Evidence # Function: recordEvidence() > **recordEvidence**(`session`, `evidence`): [`SigningSession`](. resolvePolicyForSubject | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/resolvePolicyForSubject | PolicyForSubject # Function: resolvePolicyForSubject() > **resolvePolicyForSubject**(`client`, `config`): `Promise`\<[`ResolvedPolicy`](. roundBasedWorkflow | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/roundBasedWorkflow | BasedWorkflow # Function: roundBasedWorkflow() > **roundBasedWorkflow**(`roundPort`, `pk1`, `pk2`): [`PrevStateWorkflow`](. scriptKey | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/scriptKey | Key # Function: scriptKey() > **scriptKey**(`scriptHash`): [`ContentKey`](. serializeBranchPackage | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/serializeBranchPackage | BranchPackage # Function: serializeBranchPackage() > **serializeBranchPackage**(`branch`): `Uint8Array` ## Parameters ### branch [`MastBranchPackage`](. serializeEncryptionEnvelope | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/serializeEncryptionEnvelope | EncryptionEnvelope # Function: serializeEncryptionEnvelope() > **serializeEncryptionEnvelope**(`envelope`): `Uint8Array` ## Parameters ### envelope [`EncryptionEnvelope`](. serializeKeyWrappingEnvelope | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/serializeKeyWrappingEnvelope | KeyWrappingEnvelope # Function: serializeKeyWrappingEnvelope() > **serializeKeyWrappingEnvelope**(`envelope`): `Uint8Array` ## Parameters ### envelope [`KeyWrappingEnvelope`](. sessionSummary | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/sessionSummary | Summary # Function: sessionSummary() > **sessionSummary**(`session`): `object` Get the session's readiness summary. signAvailabilityReceipt | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/signAvailabilityReceipt | AvailabilityReceipt # Function: signAvailabilityReceipt() > **signAvailabilityReceipt**(`receipt`, `signFn`, `custodianPkd`): `Promise`\<[`AvailabilityReceipt`](. signPolicyManifest | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/signPolicyManifest | PolicyManifest # Function: signPolicyManifest() > **signPolicyManifest**(`manifest`, `signFn`, `authorityPkd`): `Promise`\<[`RecursiveMastPolicyManifest`](. splitPolicyManifest | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/splitPolicyManifest | PolicyManifest # Function: splitPolicyManifest() > **splitPolicyManifest**(`manifest`, `branchHashes`): `object` Split a policy manifest into public and restricted components. submitSession | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/submitSession | Session # Function: submitSession() > **submitSession**(`session`): [`SigningSession`](. timelockWorkflow | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/timelockWorkflow | Workflow # Function: timelockWorkflow() > **timelockWorkflow**(`lockPort`, `ownerPk`): [`PrevStateWorkflow`](. toDelegationChainScript | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/toDelegationChainScript | DelegationChainScript # Function: toDelegationChainScript() > **toDelegationChainScript**(`chain`): `string` Generate the full nested MAST script for a delegation chain. toMigrationPathScript | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/toMigrationPathScript | MigrationPathScript # Function: toMigrationPathScript() > **toMigrationPathScript**(`path`): `string` Generate the full nested MAST script for a migration path. toMinimaProofExpression | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/toMinimaProofExpression | MinimaProofExpression # Function: toMinimaProofExpression() > **toMinimaProofExpression**(`link`): `string` Generate a canonical Minima 5-argument PROOF expression. toNestedMastScript | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/toNestedMastScript | NestedMastScript # Function: toNestedMastScript() > **toNestedMastScript**(`chain`): `string` Generate the full nested MAST KISSVM script for a proof chain. toProofExpression | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/toProofExpression | ProofExpression # ~~Function: toProofExpression()~~ > **toProofExpression**(`link`): `string` ## Parameters ### link [`ProofLink`](. toTotemProofExpression | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/toTotemProofExpression | TotemProofExpression # ~~Function: toTotemProofExpression()~~ > **toTotemProofExpression**(`link`): `string` ## Parameters ### link [`ProofLink`](. unixTimeMsToSec | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/unixTimeMsToSec | TimeMsToSec # Function: unixTimeMsToSec() > **unixTimeMsToSec**(`ms`): [`UnixTimeSec`](. unixTimeSecToMs | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/unixTimeSecToMs | TimeSecToMs # Function: unixTimeSecToMs() > **unixTimeSecToMs**(`sec`): [`UnixTimeMs`](. validateInventoryCoverage | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/validateInventoryCoverage | InventoryCoverage # Function: validateInventoryCoverage() > **validateInventoryCoverage**(`inventory`, `availableHashes`): `object` ## Parameters ### inventory [`BranchInventory`](. verifyAvailabilityReceipt | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/verifyAvailabilityReceipt | AvailabilityReceipt # Function: verifyAvailabilityReceipt() > **verifyAvailabilityReceipt**(`receipt`, `verifyFn`): `Promise`\<\{ `reason? verifyBranchPackage | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/verifyBranchPackage | BranchPackage # ~~Function: verifyBranchPackage()~~ > **verifyBranchPackage**(`branch`): `object` ## Parameters ### branch [`MastBranchPackage`](. verifyDelegationChain | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/verifyDelegationChain | DelegationChain # Function: verifyDelegationChain() > **verifyDelegationChain**(`chain`): `object` Verify a delegation chain. verifyProofChain | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/verifyProofChain | ProofChain # Function: verifyProofChain() > **verifyProofChain**(`chain`, `expectedLeafScriptHash? verifyScriptMembership | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/verifyScriptMembership | ScriptMembership # Function: verifyScriptMembership() > **verifyScriptMembership**(`script`, `proofHex`, `expectedRoot`): `object` ## Parameters ### script `string` ### proofHex `string` ### expectedRoot `string` ## Returns `object` ### reason? verifySigningRequest | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/verifySigningRequest | SigningRequest # Function: verifySigningRequest() > **verifySigningRequest**(`request`, `options`): `SigningRequestVerificationReport` ## Parameters ### request [`PolicySigningRequest`](. vestingWorkflow | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/vestingWorkflow | Workflow # Function: vestingWorkflow() > **vestingWorkflow**(`startPort`, `totalPort`, `claimedPort`, `beneficiaryPk`): [`PrevStateWorkflow`](. watchPolicy | https://docs.totem.ing/api/totemsdk-recursive-mast/functions/watchPolicy | Policy # Function: watchPolicy() > **watchPolicy**(`client`, `config`): () => `void` Watch a policy for updates (epoch changes, rotations, revocations). AnnouncePolicyConfig | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/AnnouncePolicyConfig | AnnouncePolicyConfig # Interface: AnnouncePolicyConfig ## Properties ### capabilities > **capabilities**: `string`[] *** ### expiresAt > **expiresAt**: `number` *** ### manifest > **manifest**: [`RecursiveMastPolicyManifest`](RecursiveMastPolicyManifest. AuditConfig | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/AuditConfig | AuditConfig # Interface: AuditConfig ## Properties ### availabilityPolicy > **availabilityPolicy**: [`AvailabilityPolicy`](AvailabilityPolicy. AvailabilityPolicy | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/AvailabilityPolicy | AvailabilityPolicy # Interface: AvailabilityPolicy ## Properties ### archivePreviousVersions > **archivePreviousVersions**: `boolean` *** ### minimumReplicas > **minimumReplicas**: `number` *** ### replicationCheckInterval? AvailabilityReceipt | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/AvailabilityReceipt | AvailabilityReceipt # Interface: AvailabilityReceipt ## Properties ### branchHashes > **branchHashes**: `string`[] *** ### custodianIdentityId > **custodianIdentityId**: `string` *** ### custodianPkd? BranchFilter | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/BranchFilter | BranchFilter # Interface: BranchFilter ## Properties ### action? BranchInventory | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/BranchInventory | BranchInventory # Interface: BranchInventory ## Properties ### branches > **branches**: [`BranchInventoryEntry`](BranchInventoryEntry. BranchInventoryEntry | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/BranchInventoryEntry | BranchInventoryEntry # Interface: BranchInventoryEntry ## Properties ### action > **action**: `string` *** ### critical > **critical**: `boolean` *** ### policyRoot > **policyRoot**: `string` *** ### recoveryPath > **recoveryPath**: `boolean` *** ### role? CompiledMast | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/CompiledMast | CompiledMast # Interface: CompiledMast ## Properties ### leafCount > **leafCount**: `number` *** ### rootAddress > **rootAddress**: `string` *** ### rootHex > **rootHex**: `string` *** ### scripts > **scripts**: [`MinimaScriptProof`](MinimaScriptProof. CompiledPolicyNode | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/CompiledPolicyNode | CompiledPolicyNode # Interface: CompiledPolicyNode ## Properties ### logicalNodeId > **logicalNodeId**: `string` *** ### mast > **mast**: [`CompiledMast`](CompiledMast. CompiledRecursivePolicy | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/CompiledRecursivePolicy | CompiledRecursivePolicy # Interface: CompiledRecursivePolicy ## Properties ### anchorAddress > **anchorAddress**: `string` *** ### anchorRoot > **anchorRoot**: `string` *** ### compiledNodes > **compiledNodes**: `Map`\<`string`, [`CompiledPolicyNode`](CompiledPolicyNode. ContentKey | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/ContentKey | ContentKey CreateSigningRequestConfig | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/CreateSigningRequestConfig | CreateSigningRequestConfig # Interface: CreateSigningRequestConfig ## Properties ### action > **action**: `string` *** ### disclosedScripts > **disclosedScripts**: [`ScriptDisclosure`](ScriptDisclosure. CreateSigningResponseConfig | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/CreateSigningResponseConfig | CreateSigningResponseConfig # Interface: CreateSigningResponseConfig ## Properties ### actingAddress > **actingAddress**: `string` *** ### approvalEvidence? DecryptedBranchResult | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/DecryptedBranchResult | DecryptedBranchResult # Interface: DecryptedBranchResult ## Properties ### branch > **branch**: [`MastBranchPackage`](MastBranchPackage. EncryptedBranchPackage | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/EncryptedBranchPackage | EncryptedBranchPackage # Interface: EncryptedBranchPackage ## Properties ### action > **action**: `string` *** ### encryptedPayload > **encryptedPayload**: `Uint8Array` *** ### encryptionKeyFingerprint > **encryptionKeyFingerprint**: `string` *** ### expiresAt? EncryptionEnvelope | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/EncryptionEnvelope | EncryptionEnvelope # Interface: EncryptionEnvelope ## Properties ### algorithm > **algorithm**: [`EncryptionAlgorithm`](. EvidenceState | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/EvidenceState | EvidenceState # Interface: EvidenceState ## Properties ### collected > **collected**: `boolean` *** ### data? ExpectedInput | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/ExpectedInput | ExpectedInput # Interface: ExpectedInput ## Properties ### address? ExpectedOutput | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/ExpectedOutput | ExpectedOutput # Interface: ExpectedOutput ## Properties ### address > **address**: `string` Recipient address. HttpStoreOptions | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/HttpStoreOptions | HttpStoreOptions # Interface: HttpStoreOptions ## Properties ### baseUrl > **baseUrl**: `string` *** ### fetchFn? KeyWrappingEnvelope | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/KeyWrappingEnvelope | KeyWrappingEnvelope # Interface: KeyWrappingEnvelope ## Properties ### algorithm > **algorithm**: [`EncryptionAlgorithm`](. LayeredPolicyConfig | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/LayeredPolicyConfig | LayeredPolicyConfig # Interface: LayeredPolicyConfig ## Properties ### assetId > **assetId**: `string` Asset root identifier (e. MastBranchPackage | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/MastBranchPackage | MastBranchPackage # Interface: MastBranchPackage ## Properties ### action > **action**: `string` *** ### childRoots? MastBranchSummary | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/MastBranchSummary | MastBranchSummary # Interface: MastBranchSummary ## Properties ### action > **action**: `string` *** ### expiresAt? MemoryStoreOptions | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/MemoryStoreOptions | MemoryStoreOptions # Interface: MemoryStoreOptions ## Properties ### persistPath? MinimaScriptProof | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/MinimaScriptProof | MinimaScriptProof # Interface: MinimaScriptProof Canonical MAST compiler — produces Minima-compatible MMR roots, script addresses, and ScriptProofs using the core package's byte-exact MMR primitives. MirrorResult | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/MirrorResult | MirrorResult PolicyAction | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicyAction | PolicyAction # Interface: PolicyAction ## Properties ### action > **action**: `string` Action identifier (e. PolicyAnchorConfig | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicyAnchorConfig | PolicyAnchorConfig # Interface: PolicyAnchorConfig Policy Anchor Coin — a stable on-chain UTXO whose locking script commits to a set of policy roots that can rotate through state updates. PolicyAvailabilityReport | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicyAvailabilityReport | PolicyAvailabilityReport PolicyDelegationEdge | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicyDelegationEdge | PolicyDelegationEdge # Interface: PolicyDelegationEdge ## Properties ### constraints? PolicyEndpoint | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicyEndpoint | PolicyEndpoint # Interface: PolicyEndpoint ## Properties ### address > **address**: `string` Connection string or topic. PolicyGraph | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicyGraph | PolicyGraph # Interface: PolicyGraph ## Properties ### edges > **edges**: [`PolicyDelegationEdge`](PolicyDelegationEdge. PolicyGraphNode | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicyGraphNode | PolicyGraphNode # Interface: PolicyGraphNode ## Properties ### id > **id**: `string` *** ### name > **name**: `string` *** ### parentId? PolicyLayer | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicyLayer | PolicyLayer # Interface: PolicyLayer ## Properties ### authorityPkd > **authorityPkd**: `string` The public key digest of the authority controlling this layer. PolicyLookupClient | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicyLookupClient | PolicyLookupClient # Interface: PolicyLookupClient ## Methods ### announcePolicy() > **announcePolicy**(`manifest`, `metadata`): `Promise`\<`void`\> Announce a policy manifest to the network. PolicyNode | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicyNode | PolicyNode # Interface: PolicyNode ## Properties ### children > **children**: `PolicyNode`[] *** ### id > **id**: `string` *** ### metadata? PolicyNodeInput | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicyNodeInput | PolicyNodeInput # Interface: PolicyNodeInput ## Properties ### id > **id**: `string` *** ### metadata? PolicyPathDescriptor | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicyPathDescriptor | PolicyPathDescriptor # Interface: PolicyPathDescriptor ## Properties ### action > **action**: `string` The action being executed. PolicyQueryResult | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicyQueryResult | PolicyQueryResult PolicyRole | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicyRole | PolicyRole # Interface: PolicyRole ## Properties ### currentRoot > **currentRoot**: `string` Current root for this role's subtree. PolicySignature | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicySignature | PolicySignature # Interface: PolicySignature ## Properties ### keyIndex > **keyIndex**: `number` *** ### leaseReceipt > **leaseReceipt**: `string` *** ### publicKey > **publicKey**: `string` *** ### signature > **signature**: `string` *** ### signedAt > **signedAt**: [`UnixTimeMs`](. PolicySigner | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicySigner | PolicySigner # Interface: PolicySigner ## Properties ### address > **address**: `string` ## Methods ### burnKey()? PolicySignerConfig | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicySignerConfig | PolicySignerConfig # Interface: PolicySignerConfig ## Properties ### address > **address**: `string` *** ### publicKeyHex > **publicKeyHex**: `string` *** ### signFn > **signFn**: (`data`, `keyIndex`) => `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\> #### Parameters ##### data `Uint8Array` ##### keyIndex `number` #### Returns `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\> *** ### treeId > **treeId**: `string` *** ### wotsLeaseProvider? PolicySigningRequest | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicySigningRequest | PolicySigningRequest # Interface: PolicySigningRequest ## Properties ### action > **action**: `string` The action being executed. PolicySigningResponse | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicySigningResponse | PolicySigningResponse # Interface: PolicySigningResponse ## Properties ### actingAddress > **actingAddress**: `string` *** ### approvalEvidence? PolicyTree | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicyTree | PolicyTree # Interface: PolicyTree ## Properties ### depth > **depth**: `number` *** ### nodeCount > **nodeCount**: `number` *** ### nodeMap > **nodeMap**: `Map`\<`string`, [`PolicyNode`](PolicyNode. PolicyUpdateNotification | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PolicyUpdateNotification | PolicyUpdateNotification # Interface: PolicyUpdateNotification ## Properties ### currentRoot > **currentRoot**: `string` *** ### manifest > **manifest**: `Uint8Array` *** ### policyEpoch > **policyEpoch**: `number` *** ### policyId > **policyId**: `string` *** ### policyVersion > **policyVersion**: `number` *** ### previousRoot? PrevStateWorkflow | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/PrevStateWorkflow | PrevStateWorkflow # Interface: PrevStateWorkflow ## Properties ### id > **id**: `string` *** ### name > **name**: `string` *** ### script > **script**: `string` *** ### scriptHash > **scriptHash**: `string` *** ### transitions > **transitions**: [`StateTransition`](StateTransition. ProofChain | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/ProofChain | ProofChain # Interface: ProofChain ## Properties ### depth > **depth**: `number` *** ### leafScriptHash > **leafScriptHash**: `string` *** ### links > **links**: [`ProofLink`](ProofLink. ProofLink | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/ProofLink | ProofLink # Interface: ProofLink ## Properties ### label? QueryPolicyConfig | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/QueryPolicyConfig | QueryPolicyConfig # Interface: QueryPolicyConfig ## Properties ### activeOnly? RecursiveMastPolicyManifest | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/RecursiveMastPolicyManifest | RecursiveMastPolicyManifest # Interface: RecursiveMastPolicyManifest ## Properties ### actions > **actions**: [`PolicyAction`](PolicyAction. RecursiveMastPolicyStore | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/RecursiveMastPolicyStore | RecursiveMastPolicyStore # Interface: RecursiveMastPolicyStore ## Methods ### deleteBranch()? RequiredRoleState | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/RequiredRoleState | RequiredRoleState # Interface: RequiredRoleState ## Properties ### required > **required**: `boolean` *** ### role > **role**: `string` *** ### signature? ResolvePolicyConfig | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/ResolvePolicyConfig | ResolvePolicyConfig # Interface: ResolvePolicyConfig ## Properties ### action > **action**: `string` The action to resolve a policy for. ResolvedPolicy | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/ResolvedPolicy | ResolvedPolicy # Interface: ResolvedPolicy ## Properties ### current > **current**: `boolean` Whether the resolved policy is current (epoch matches latest). RestrictedBranchPackage | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/RestrictedBranchPackage | RestrictedBranchPackage # Interface: RestrictedBranchPackage ## Properties ### branchHash > **branchHash**: `string` The branch's script hash. ScriptDisclosure | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/ScriptDisclosure | ScriptDisclosure # Interface: ScriptDisclosure ## Properties ### mmrProof > **mmrProof**: `string` MMR proof that this script is in the policy root. SignedEvidence | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/SignedEvidence | SignedEvidence # Interface: SignedEvidence ## Properties ### data > **data**: `string` The evidence data. SignedIdentityClaim | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/SignedIdentityClaim | SignedIdentityClaim # Interface: SignedIdentityClaim ## Properties ### identity > **identity**: `string` The claimed identity (e. SigningRoundResult | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/SigningRoundResult | SigningRoundResult # Interface: SigningRoundResult ## Properties ### approved > **approved**: [`PolicySigningResponse`](PolicySigningResponse. SigningSession | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/SigningSession | SigningSession # Interface: SigningSession ## Properties ### action > **action**: `string` *** ### createdAt > **createdAt**: `number` *** ### evidence > **evidence**: [`EvidenceState`](EvidenceState. SigningSessionConfig | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/SigningSessionConfig | SigningSessionConfig # Interface: SigningSessionConfig ## Properties ### action > **action**: `string` *** ### expirySeconds? StateTransition | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/StateTransition | StateTransition VerificationResult | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/VerificationResult | VerificationResult # Interface: VerificationResult ## Properties ### chain? WatchPolicyConfig | https://docs.totem.ing/api/totemsdk-recursive-mast/interfaces/WatchPolicyConfig | WatchPolicyConfig # Interface: WatchPolicyConfig ## Properties ### afterEpoch? BlockDuration | https://docs.totem.ing/api/totemsdk-recursive-mast/type-aliases/BlockDuration | BlockDuration BlockHeight | https://docs.totem.ing/api/totemsdk-recursive-mast/type-aliases/BlockHeight | BlockHeight EncodingDomain | https://docs.totem.ing/api/totemsdk-recursive-mast/type-aliases/EncodingDomain | EncodingDomain EncryptionAlgorithm | https://docs.totem.ing/api/totemsdk-recursive-mast/type-aliases/EncryptionAlgorithm | EncryptionAlgorithm # Type Alias: EncryptionAlgorithm > **EncryptionAlgorithm** = *typeof* [`ENCRYPTION_ALGORITHMS`](. SigningDomain | https://docs.totem.ing/api/totemsdk-recursive-mast/type-aliases/SigningDomain | SigningDomain SigningSessionStatus | https://docs.totem.ing/api/totemsdk-recursive-mast/type-aliases/SigningSessionStatus | SigningSessionStatus UnixTimeMs | https://docs.totem.ing/api/totemsdk-recursive-mast/type-aliases/UnixTimeMs | UnixTimeMs UnixTimeSec | https://docs.totem.ing/api/totemsdk-recursive-mast/type-aliases/UnixTimeSec | UnixTimeSec CANONICAL_ENCODING_VERSION | https://docs.totem.ing/api/totemsdk-recursive-mast/variables/CANONICAL_ENCODING_VERSION | CANONICAL_ENCODING_VERSION ENCRYPTION_ALGORITHMS | https://docs.totem.ing/api/totemsdk-recursive-mast/variables/ENCRYPTION_ALGORITHMS | ENCRYPTION_ALGORITHMS ENVELOPE_VERSION | https://docs.totem.ing/api/totemsdk-recursive-mast/variables/ENVELOPE_VERSION | ENVELOPE_VERSION KEY_PREFIX | https://docs.totem.ing/api/totemsdk-recursive-mast/variables/KEY_PREFIX | KEY_PREFIX STANDARD_LAYERS | https://docs.totem.ing/api/totemsdk-recursive-mast/variables/STANDARD_LAYERS | STANDARD\_LAYERS # Variable: STANDARD\_LAYERS > `const` **STANDARD\_LAYERS**: `object` Standard layer IDs for the canonical 7-layer chain. UnifiedIdentityWallet | https://docs.totem.ing/api/totemsdk-root-identity/classes/UnifiedIdentityWallet | UnifiedIdentityWallet # Class: UnifiedIdentityWallet ## Constructors ### Constructor > **new UnifiedIdentityWallet**(`baseSeed`, `childCount? OwnershipProof | https://docs.totem.ing/api/totemsdk-root-identity/interfaces/OwnershipProof | OwnershipProof # Interface: OwnershipProof Ownership proof demonstrating that a root key controls a set of child addresses. WotsProof | https://docs.totem.ing/api/totemsdk-root-identity/interfaces/WotsProof | WotsProof # Interface: WotsProof A single WOTS signing proof tied to an on-chain address. MAX_CHILD_COUNT | https://docs.totem.ing/api/totemsdk-root-identity/variables/MAX_CHILD_COUNT | MAX_CHILD_COUNT consumeNonce | https://docs.totem.ing/api/totemsdk-se-server/functions/consumeNonce | consumeNonce createSeRouter | https://docs.totem.ing/api/totemsdk-se-server/functions/createSeRouter | SeRouter # Function: createSeRouter() > **createSeRouter**(`config`, `pool`): `Router` ## Parameters ### config [`SeServerConfig`](. createSeServer | https://docs.totem.ing/api/totemsdk-se-server/functions/createSeServer | SeServer # Function: createSeServer() > **createSeServer**(`config`, `monitorOpts? createTimelockMonitor | https://docs.totem.ing/api/totemsdk-se-server/functions/createTimelockMonitor | TimelockMonitor # Function: createTimelockMonitor() > **createTimelockMonitor**(`pool`, `opts? decryptReclaimTx | https://docs.totem.ing/api/totemsdk-se-server/functions/decryptReclaimTx | decryptReclaimTx encryptReclaimTx | https://docs.totem.ing/api/totemsdk-se-server/functions/encryptReclaimTx | encryptReclaimTx getApproachingTimelockChains | https://docs.totem.ing/api/totemsdk-se-server/functions/getApproachingTimelockChains | ApproachingTimelockChains # Function: getApproachingTimelockChains() > **getApproachingTimelockChains**(`pool`): `Promise`\<[`StatechainRecord`](. getPublicKeyHex | https://docs.totem.ing/api/totemsdk-se-server/functions/getPublicKeyHex | PublicKeyHex # Function: getPublicKeyHex() > **getPublicKeyHex**(`seed`): `string` Derives the SE WOTS public key digest from seed. getPublicKeyHexAsync | https://docs.totem.ing/api/totemsdk-se-server/functions/getPublicKeyHexAsync | PublicKeyHexAsync # Function: getPublicKeyHexAsync() > **getPublicKeyHexAsync**(`seed`): `Promise`\<`string`\> Full WOTS public key derivation (async, loads WASM core). getStatechainRecord | https://docs.totem.ing/api/totemsdk-se-server/functions/getStatechainRecord | StatechainRecord # Function: getStatechainRecord() > **getStatechainRecord**(`pool`, `chainId`): `Promise`\<[`StatechainRecord`](. insertRevocation | https://docs.totem.ing/api/totemsdk-se-server/functions/insertRevocation | insertRevocation insertStatechainRecord | https://docs.totem.ing/api/totemsdk-se-server/functions/insertStatechainRecord | StatechainRecord # Function: insertStatechainRecord() > **insertStatechainRecord**(`pool`, `rec`): `Promise`\<`void`\> ## Parameters ### pool `Pool` ### rec `Omit`\<[`StatechainRecord`](. isRevoked | https://docs.totem.ing/api/totemsdk-se-server/functions/isRevoked | isRevoked issueNonce | https://docs.totem.ing/api/totemsdk-se-server/functions/issueNonce | issueNonce loadConfigFromEnv | https://docs.totem.ing/api/totemsdk-se-server/functions/loadConfigFromEnv | ConfigFromEnv # Function: loadConfigFromEnv() > **loadConfigFromEnv**(): [`SeServerConfig`](. logSignEvent | https://docs.totem.ing/api/totemsdk-se-server/functions/logSignEvent | logSignEvent migrateStatechainTables | https://docs.totem.ing/api/totemsdk-se-server/functions/migrateStatechainTables | migrateStatechainTables seSign | https://docs.totem.ing/api/totemsdk-se-server/functions/seSign | Sign # Function: seSign() > **seSign**(`seed`, `commitmentBytes`): `Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\> Sign commitmentBytes with the SE's WOTS key at index 0. updateStatechainOwner | https://docs.totem.ing/api/totemsdk-se-server/functions/updateStatechainOwner | updateStatechainOwner updateStatechainStatus | https://docs.totem.ing/api/totemsdk-se-server/functions/updateStatechainStatus | updateStatechainStatus wotsVerifyDigestAsync | https://docs.totem.ing/api/totemsdk-se-server/functions/wotsVerifyDigestAsync | VerifyDigestAsync # Function: wotsVerifyDigestAsync() > **wotsVerifyDigestAsync**(`sig`, `message`, `pkDigest`): `Promise`\<`boolean`\> Verify a WOTS digest signature. SeServer | https://docs.totem.ing/api/totemsdk-se-server/interfaces/SeServer | SeServer # Interface: SeServer ## Properties ### app > **app**: `Express` *** ### pool > **pool**: `Pool` ## Methods ### close() > **close**(): `Promise`\<`void`\> #### Returns `Promise`\<`void`\> *** ### listen() > **listen**(`port? SeServerConfig | https://docs.totem.ing/api/totemsdk-se-server/interfaces/SeServerConfig | SeServerConfig # Interface: SeServerConfig ## Properties ### betaMode? SeSignEvent | https://docs.totem.ing/api/totemsdk-se-server/interfaces/SeSignEvent | SeSignEvent # Interface: SeSignEvent ## Properties ### chainId > **chainId**: `string` *** ### eventType > **eventType**: `string` *** ### projectId? StatechainRecord | https://docs.totem.ing/api/totemsdk-se-server/interfaces/StatechainRecord | StatechainRecord TimelockAlert | https://docs.totem.ing/api/totemsdk-se-server/interfaces/TimelockAlert | TimelockAlert # Interface: TimelockAlert ## Properties ### chain > **chain**: [`StatechainRecord`](StatechainRecord. SE_API_VERSION | https://docs.totem.ing/api/totemsdk-se-server/variables/SE_API_VERSION | SE\_API\_VERSION # Variable: SE\_API\_VERSION > `const` **SE\_API\_VERSION**: `"v1"` = `'v1'` Stable API version prefix. ConsoleLogger | https://docs.totem.ing/api/totemsdk-server/classes/ConsoleLogger | ConsoleLogger # Class: ConsoleLogger ## Implements - [`LoggerAdapter`](. DefaultTimerAdapter | https://docs.totem.ing/api/totemsdk-server/classes/DefaultTimerAdapter | DefaultTimerAdapter # Class: DefaultTimerAdapter ## Implements - [`TimerAdapter`](. EnvironmentAuthProvider | https://docs.totem.ing/api/totemsdk-server/classes/EnvironmentAuthProvider | EnvironmentAuthProvider # Class: EnvironmentAuthProvider ## Implements - [`AuthTokenProvider`](. ExchangeHelper | https://docs.totem.ing/api/totemsdk-server/classes/ExchangeHelper | ExchangeHelper # Class: ExchangeHelper Exchange Contract Helper Creates DEX-style exchange contracts using VERIFYOUT. FileStorageAdapter | https://docs.totem.ing/api/totemsdk-server/classes/FileStorageAdapter | FileStorageAdapter # Class: FileStorageAdapter ## Implements - [`StorageAdapter`](. FlashCashHelper | https://docs.totem.ing/api/totemsdk-server/classes/FlashCashHelper | FlashCashHelper # Class: FlashCashHelper Flash Cash Helper Creates flash loan contracts for single-transaction borrowing. HTLCHelper | https://docs.totem.ing/api/totemsdk-server/classes/HTLCHelper | HTLCHelper # Class: HTLCHelper HTLC Helper Creates Hashed Timelock Contracts for atomic swaps and lightning-style payments. InMemoryAuthProvider | https://docs.totem.ing/api/totemsdk-server/classes/InMemoryAuthProvider | InMemoryAuthProvider # Class: InMemoryAuthProvider ## Implements - [`AuthTokenProvider`](. LeaseMonitor | https://docs.totem.ing/api/totemsdk-server/classes/LeaseMonitor | LeaseMonitor # Class: LeaseMonitor ## Constructors ### Constructor > **new LeaseMonitor**(`leaseStore`, `timer? LeaseStore | https://docs.totem.ing/api/totemsdk-server/classes/LeaseStore | LeaseStore # Class: LeaseStore ## Constructors ### Constructor > **new LeaseStore**(`storage`, `logger? MASTHelper | https://docs.totem.ing/api/totemsdk-server/classes/MASTHelper | MASTHelper # Class: MASTHelper MAST Helper Creates Merkelized Abstract Syntax Tree contracts for privacy and scalability. MMRTree | https://docs.totem.ing/api/totemsdk-server/classes/MMRTree | MMRTree # Class: MMRTree Simple MMR Tree for TreeKeyNode Builds a perfect binary tree from N entries (N must be power of 2 for simplicity) This matches TreeKeyNode. MemoryStorageAdapter | https://docs.totem.ing/api/totemsdk-server/classes/MemoryStorageAdapter | MemoryStorageAdapter # Class: MemoryStorageAdapter ## Implements - [`StorageAdapter`](. MiniNumber | https://docs.totem.ing/api/totemsdk-server/classes/MiniNumber | MiniNumber MinimaClient | https://docs.totem.ing/api/totemsdk-server/classes/MinimaClient | MinimaClient # Class: MinimaClient ## Extends - `EventEmitter` ## Constructors ### Constructor > **new MinimaClient**(`config`): `MinimaClient` #### Parameters ##### config `ClientConfig` #### Returns `MinimaClient` #### Overrides `EventEmitter. MinimaProvider | https://docs.totem.ing/api/totemsdk-server/classes/MinimaProvider | MinimaProvider # Class: MinimaProvider ## Extends - `EventEmitter` ## Constructors ### Constructor > **new MinimaProvider**(`config`): `MinimaProvider` #### Parameters ##### config `ProviderConfig` #### Returns `MinimaProvider` #### Overrides `EventEmitter. MinimaWallet | https://docs.totem.ing/api/totemsdk-server/classes/MinimaWallet | MinimaWallet # Class: MinimaWallet Minima-compatible wallet for Node. NodeConfigProvider | https://docs.totem.ing/api/totemsdk-server/classes/NodeConfigProvider | NodeConfigProvider # Class: NodeConfigProvider ## Implements - [`ConfigProvider`](. NodeCryptoAdapter | https://docs.totem.ing/api/totemsdk-server/classes/NodeCryptoAdapter | NodeCryptoAdapter # Class: NodeCryptoAdapter ## Implements - [`CryptoAdapter`](. NodeHttpClient | https://docs.totem.ing/api/totemsdk-server/classes/NodeHttpClient | NodeHttpClient # Class: NodeHttpClient ## Implements - [`HttpClient`](. NodeWebSocketFactory | https://docs.totem.ing/api/totemsdk-server/classes/NodeWebSocketFactory | NodeWebSocketFactory # Class: NodeWebSocketFactory ## Implements - [`WebSocketFactory`](. NoopLifecycleAdapter | https://docs.totem.ing/api/totemsdk-server/classes/NoopLifecycleAdapter | NoopLifecycleAdapter # Class: NoopLifecycleAdapter ## Implements - [`LifecycleAdapter`](. NoopLogger | https://docs.totem.ing/api/totemsdk-server/classes/NoopLogger | NoopLogger # Class: NoopLogger ## Implements - [`LoggerAdapter`](. NoopMetrics | https://docs.totem.ing/api/totemsdk-server/classes/NoopMetrics | NoopMetrics # Class: NoopMetrics ## Implements - [`MetricsAdapter`](. SlowCashHelper | https://docs.totem.ing/api/totemsdk-server/classes/SlowCashHelper | SlowCashHelper # Class: SlowCashHelper Slow Cash Helper Creates rate-limited withdrawal contracts. StatefulGameHelper | https://docs.totem.ing/api/totemsdk-server/classes/StatefulGameHelper | StatefulGameHelper # Class: StatefulGameHelper Stateful Game Helper Creates multi-round stateful contracts (like coin flip). StorageAuthProvider | https://docs.totem.ing/api/totemsdk-server/classes/StorageAuthProvider | StorageAuthProvider # Class: StorageAuthProvider ## Implements - [`AuthTokenProvider`](. TimelockHelper | https://docs.totem.ing/api/totemsdk-server/classes/TimelockHelper | TimelockHelper # Class: TimelockHelper Timelock Helper Creates timelocked scripts that can only be spent after a certain block. TransactionLifecycle | https://docs.totem.ing/api/totemsdk-server/classes/TransactionLifecycle | TransactionLifecycle # Class: TransactionLifecycle ## Constructors ### Constructor > **new TransactionLifecycle**(`txService`, `leaseStore`, `watermarkStore`, `receiptStore`, `logger? TransactionLifecycleError | https://docs.totem.ing/api/totemsdk-server/classes/TransactionLifecycleError | TransactionLifecycleError # Class: TransactionLifecycleError ## Extends - `Error` ## Constructors ### Constructor > **new TransactionLifecycleError**(`message`, `code`, `userMessage`): `TransactionLifecycleError` #### Parameters ##### message `string` ##### code `number` ##### userMessage `string` #### Returns `TransactionLifecycleError` #### Overrides `Error. TransactionReceiptStore | https://docs.totem.ing/api/totemsdk-server/classes/TransactionReceiptStore | TransactionReceiptStore # Class: TransactionReceiptStore ## Constructors ### Constructor > **new TransactionReceiptStore**(`storage`, `logger? TransactionService | https://docs.totem.ing/api/totemsdk-server/classes/TransactionService | TransactionService # Class: TransactionService ## Constructors ### Constructor > **new TransactionService**(`http`, `config`, `logger? TreeKey | https://docs.totem.ing/api/totemsdk-server/classes/TreeKey | TreeKey # Class: TreeKey TreeKey - Full hierarchical key tree with multiple levels Matches TreeKey. TreeKeyNode | https://docs.totem.ing/api/totemsdk-server/classes/TreeKeyNode | TreeKeyNode # Class: TreeKeyNode TreeKeyNode - One node in the key tree containing 64 Winternitz keys Matches TreeKeyNode. VaultHelper | https://docs.totem.ing/api/totemsdk-server/classes/VaultHelper | VaultHelper # Class: VaultHelper Vault Helper Creates vault/covenant contracts with safe house enforcement. WatermarkExhaustedError | https://docs.totem.ing/api/totemsdk-server/classes/WatermarkExhaustedError | WatermarkExhaustedError # Class: WatermarkExhaustedError ## Extends - `Error` ## Constructors ### Constructor > **new WatermarkExhaustedError**(): `WatermarkExhaustedError` #### Returns `WatermarkExhaustedError` #### Overrides `Error. WatermarkStore | https://docs.totem.ing/api/totemsdk-server/classes/WatermarkStore | WatermarkStore # Class: WatermarkStore ## Constructors ### Constructor > **new WatermarkStore**(`storage`, `logger? addressToRoot | https://docs.totem.ing/api/totemsdk-server/functions/addressToRoot | addressToRoot aggregateSignatures | https://docs.totem.ing/api/totemsdk-server/functions/aggregateSignatures | Signatures # Function: aggregateSignatures() > **aggregateSignatures**(`totemSignature`, `externalSignatures`): `Uint8Array`\<`ArrayBufferLike`\>[] ## Parameters ### totemSignature #### publicKey `Uint8Array` #### signature `Uint8Array` ### externalSignatures [`ExternalSignature`](. assert32 | https://docs.totem.ing/api/totemsdk-server/functions/assert32 | Function: assert32() > **assert32**(`u`, `label? baseWWithChecksum | https://docs.totem.ing/api/totemsdk-server/functions/baseWWithChecksum | WWithChecksum # Function: baseWWithChecksum() > **baseWWithChecksum**(`msgHash`, `paramSet? bigIntToByteArray | https://docs.totem.ing/api/totemsdk-server/functions/bigIntToByteArray | IntToByteArray # Function: bigIntToByteArray() > **bigIntToByteArray**(`value`): `Uint8Array` Convert a BigInt to Java BigInteger. buildMinimaCoin | https://docs.totem.ing/api/totemsdk-server/functions/buildMinimaCoin | MinimaCoin # Function: buildMinimaCoin() > **buildMinimaCoin**(`opts`): [`MinimaCoin`](. buildScriptProofFromDescriptor | https://docs.totem.ing/api/totemsdk-server/functions/buildScriptProofFromDescriptor | ScriptProofFromDescriptor # Function: buildScriptProofFromDescriptor() > **buildScriptProofFromDescriptor**(`descriptor`): [`ScriptProofResult`](. bytesToUtf8 | https://docs.totem.ing/api/totemsdk-server/functions/bytesToUtf8 | bytesToUtf8 calculateProofRoot | https://docs.totem.ing/api/totemsdk-server/functions/calculateProofRoot | ProofRoot # Function: calculateProofRoot() > **calculateProofRoot**(`leafData`, `proof`): `Bytes` Calculate root from leaf data and proof Matches SignatureProof. canonicalJson | https://docs.totem.ing/api/totemsdk-server/functions/canonicalJson | canonicalJson cleanSeedPhrase | https://docs.totem.ing/api/totemsdk-server/functions/cleanSeedPhrase | SeedPhrase # Function: cleanSeedPhrase() > **cleanSeedPhrase**(`seedPhrase`): `string` Clean and normalize a seed phrase matching Minima's BIP39. computeScriptAddress | https://docs.totem.ing/api/totemsdk-server/functions/computeScriptAddress | computeScriptAddress concat | https://docs.totem.ing/api/totemsdk-server/functions/concat | Function: concat() > **concat**(. convertFlatChunkToSDK | https://docs.totem.ing/api/totemsdk-server/functions/convertFlatChunkToSDK | FlatChunkToSDK # Function: convertFlatChunkToSDK() > **convertFlatChunkToSDK**(`chunk`): [`MMRProofChunk`](. convertLegacyProofToSDK | https://docs.totem.ing/api/totemsdk-server/functions/convertLegacyProofToSDK | LegacyProofToSDK # Function: convertLegacyProofToSDK() > **convertLegacyProofToSDK**(`legacy`): `object` ## Parameters ### legacy [`LegacyMMRProof`](. convertStringToSeed | https://docs.totem.ing/api/totemsdk-server/functions/convertStringToSeed | StringToSeed # Function: convertStringToSeed() > **convertStringToSeed**(`phrase`): `Uint8Array` Convert a seed phrase to a 32-byte seed matching Minima's BIP39. convertWordListToSeed | https://docs.totem.ing/api/totemsdk-server/functions/convertWordListToSeed | WordListToSeed # Function: convertWordListToSeed() > **convertWordListToSeed**(`words`): `Uint8Array` Convert word array to seed matching Minima's BIP39. createAdapterRegistry | https://docs.totem.ing/api/totemsdk-server/functions/createAdapterRegistry | AdapterRegistry # Function: createAdapterRegistry() > **createAdapterRegistry**(`adapters`): [`AdapterRegistry`](. createAuthedNodeHttpClient | https://docs.totem.ing/api/totemsdk-server/functions/createAuthedNodeHttpClient | AuthedNodeHttpClient # Function: createAuthedNodeHttpClient() > **createAuthedNodeHttpClient**(`getToken`, `options? createCancellationToken | https://docs.totem.ing/api/totemsdk-server/functions/createCancellationToken | CancellationToken # Function: createCancellationToken() > **createCancellationToken**(): [`CancellationTokenSource`](. createConfigFromEnv | https://docs.totem.ing/api/totemsdk-server/functions/createConfigFromEnv | ConfigFromEnv # Function: createConfigFromEnv() > **createConfigFromEnv**(`envMapping? createDefaultTransaction | https://docs.totem.ing/api/totemsdk-server/functions/createDefaultTransaction | DefaultTransaction # Function: createDefaultTransaction() > **createDefaultTransaction**(): [`MinimaTransaction`](. createEmptyMMRProof | https://docs.totem.ing/api/totemsdk-server/functions/createEmptyMMRProof | EmptyMMRProof # Function: createEmptyMMRProof() > **createEmptyMMRProof**(): [`MMRProof`](. createExchangeDescriptor | https://docs.totem.ing/api/totemsdk-server/functions/createExchangeDescriptor | ExchangeDescriptor # Function: createExchangeDescriptor() > **createExchangeDescriptor**(`address`, `ownerPublicKey`, `desiredAddress`, `desiredAmount`, `desiredTokenId`): [`ScriptDescriptor`](. createFlashCashDescriptor | https://docs.totem.ing/api/totemsdk-server/functions/createFlashCashDescriptor | FlashCashDescriptor # Function: createFlashCashDescriptor() > **createFlashCashDescriptor**(`address`, `ownerPublicKey`, `interestMultiplier? createHTLCDescriptor | https://docs.totem.ing/api/totemsdk-server/functions/createHTLCDescriptor | HTLCDescriptor # Function: createHTLCDescriptor() > **createHTLCDescriptor**(`address`, `ownerPublicKey`, `recipientPublicKey`, `hashLock`, `timeoutBlock`, `isOwner`, `preimage? createMASTDescriptor | https://docs.totem.ing/api/totemsdk-server/functions/createMASTDescriptor | MASTDescriptor # Function: createMASTDescriptor() > **createMASTDescriptor**(`address`, `rootHash`, `branchScript`, `branchProof`, `wotsPublicKey? createMMRDataLeafNode | https://docs.totem.ing/api/totemsdk-server/functions/createMMRDataLeafNode | MMRDataLeafNode # Function: createMMRDataLeafNode() > **createMMRDataLeafNode**(`pubkey`, `sumValue? createMMRDataParentNode | https://docs.totem.ing/api/totemsdk-server/functions/createMMRDataParentNode | MMRDataParentNode # Function: createMMRDataParentNode() > **createMMRDataParentNode**(`left`, `right`): [`MMRData`](. createMMREntryNumber | https://docs.totem.ing/api/totemsdk-server/functions/createMMREntryNumber | MMREntryNumber # Function: createMMREntryNumber() > **createMMREntryNumber**(`value`): [`JavaMMREntryNumber`](. createMofNMultisigDescriptor | https://docs.totem.ing/api/totemsdk-server/functions/createMofNMultisigDescriptor | MofNMultisigDescriptor # Function: createMofNMultisigDescriptor() > **createMofNMultisigDescriptor**(`address`, `threshold`, `publicKeys`, `ownPublicKey`): [`ScriptDescriptor`](. createMultisigDescriptor | https://docs.totem.ing/api/totemsdk-server/functions/createMultisigDescriptor | MultisigDescriptor # Function: createMultisigDescriptor() > **createMultisigDescriptor**(`address`, `publicKey1`, `publicKey2`, `ownPublicKey`): [`ScriptDescriptor`](. createNodeAdapters | https://docs.totem.ing/api/totemsdk-server/functions/createNodeAdapters | NodeAdapters # Function: createNodeAdapters() > **createNodeAdapters**(`options`): [`AdapterRegistry`](. createPerAddressTreeKey | https://docs.totem.ing/api/totemsdk-server/functions/createPerAddressTreeKey | PerAddressTreeKey # ~~Function: createPerAddressTreeKey()~~ > **createPerAddressTreeKey**(`baseSeed`, `addressIndex`): [`TreeKey`](. createPerAddressTreeKeyAsync | https://docs.totem.ing/api/totemsdk-server/functions/createPerAddressTreeKeyAsync | PerAddressTreeKeyAsync # ~~Function: createPerAddressTreeKeyAsync()~~ > **createPerAddressTreeKeyAsync**(`baseSeed`, `addressIndex`, `onProgress? createServerAdapters | https://docs.totem.ing/api/totemsdk-server/functions/createServerAdapters | ServerAdapters # Function: createServerAdapters() > **createServerAdapters**(`options`): [`AdapterRegistry`](. createSignedByDescriptor | https://docs.totem.ing/api/totemsdk-server/functions/createSignedByDescriptor | SignedByDescriptor # Function: createSignedByDescriptor() > **createSignedByDescriptor**(`address`, `wotsRootPublicKey`): [`ScriptDescriptor`](. createSlowCashDescriptor | https://docs.totem.ing/api/totemsdk-server/functions/createSlowCashDescriptor | SlowCashDescriptor # Function: createSlowCashDescriptor() > **createSlowCashDescriptor**(`address`, `ownerPublicKey`, `withdrawalPercent? createTimelockDescriptor | https://docs.totem.ing/api/totemsdk-server/functions/createTimelockDescriptor | TimelockDescriptor # Function: createTimelockDescriptor() > **createTimelockDescriptor**(`address`, `publicKey`, `unlockBlock`): [`ScriptDescriptor`](. createUnifiedChildTreeKey | https://docs.totem.ing/api/totemsdk-server/functions/createUnifiedChildTreeKey | UnifiedChildTreeKey # Function: createUnifiedChildTreeKey() > **createUnifiedChildTreeKey**(`baseSeed`, `index`): [`TreeKey`](. createUnifiedChildTreeKeyAsync | https://docs.totem.ing/api/totemsdk-server/functions/createUnifiedChildTreeKeyAsync | UnifiedChildTreeKeyAsync # Function: createUnifiedChildTreeKeyAsync() > **createUnifiedChildTreeKeyAsync**(`baseSeed`, `index`, `onProgress? createUnifiedRootTreeKey | https://docs.totem.ing/api/totemsdk-server/functions/createUnifiedRootTreeKey | UnifiedRootTreeKey # Function: createUnifiedRootTreeKey() > **createUnifiedRootTreeKey**(`baseSeed`): [`TreeKey`](. deduplicateScriptDescriptors | https://docs.totem.ing/api/totemsdk-server/functions/deduplicateScriptDescriptors | ScriptDescriptors # Function: deduplicateScriptDescriptors() > **deduplicateScriptDescriptors**(`descriptors`): `Map`\<`string`, [`ScriptDescriptor`](. deriveAddressFromPublicKey | https://docs.totem.ing/api/totemsdk-server/functions/deriveAddressFromPublicKey | deriveAddressFromPublicKey deriveChildTreeSeedJava | https://docs.totem.ing/api/totemsdk-server/functions/deriveChildTreeSeedJava | ChildTreeSeedJava # Function: deriveChildTreeSeedJava() > **deriveChildTreeSeedJava**(`childSeed`, `childIndex`): `Uint8Array` Derive child tree seed matching Java TreeKeyNode. deriveUnifiedAddressPublicKey | https://docs.totem.ing/api/totemsdk-server/functions/deriveUnifiedAddressPublicKey | UnifiedAddressPublicKey # Function: deriveUnifiedAddressPublicKey() > **deriveUnifiedAddressPublicKey**(`baseSeed`, `index`): `Bytes` Fast path for deriving a child address public key without constructing the full TreeKey. deriveUnifiedChildSeed | https://docs.totem.ing/api/totemsdk-server/functions/deriveUnifiedChildSeed | UnifiedChildSeed # Function: deriveUnifiedChildSeed() > **deriveUnifiedChildSeed**(`baseSeed`, `index`): `Uint8Array` Derive a unified child seed for the address at `index`. deserializeTreeSignature | https://docs.totem.ing/api/totemsdk-server/functions/deserializeTreeSignature | TreeSignature # Function: deserializeTreeSignature() > **deserializeTreeSignature**(`data`): [`TreeSignature`](. encodeMiniData | https://docs.totem.ing/api/totemsdk-server/functions/encodeMiniData | encodeMiniData encodeMiniNumber | https://docs.totem.ing/api/totemsdk-server/functions/encodeMiniNumber | MiniNumber # Function: encodeMiniNumber() > **encodeMiniNumber**(`value`, `scale? encodeMiniString | https://docs.totem.ing/api/totemsdk-server/functions/encodeMiniString | encodeMiniString encodeStateValue | https://docs.totem.ing/api/totemsdk-server/functions/encodeStateValue | StateValue # Function: encodeStateValue() > **encodeStateValue**(`stateValue`): `Uint8Array` ## Parameters ### stateValue [`StateValue`](. finalizeLease | https://docs.totem.ing/api/totemsdk-server/functions/finalizeLease | finalizeLease flatIndexFromLanes | https://docs.totem.ing/api/totemsdk-server/functions/flatIndexFromLanes | flatIndexFromLanes generateSeedPhrase | https://docs.totem.ing/api/totemsdk-server/functions/generateSeedPhrase | generateSeedPhrase generateWordList | https://docs.totem.ing/api/totemsdk-server/functions/generateWordList | WordList # Function: generateWordList() > **generateWordList**(): `string`[] Generate a new random 24-word seed phrase Uses crypto. getParamSet | https://docs.totem.ing/api/totemsdk-server/functions/getParamSet | ParamSet # Function: getParamSet() > **getParamSet**(`_env? getRootPublicKey | https://docs.totem.ing/api/totemsdk-server/functions/getRootPublicKey | RootPublicKey # Function: getRootPublicKey() > **getRootPublicKey**(`proof`): `Bytes` Compute root public key from a Winternitz signature proof Matches SignatureProof. hashAllObjects | https://docs.totem.ing/api/totemsdk-server/functions/hashAllObjects | AllObjects # Function: hashAllObjects() > **hashAllObjects**(. hashCanonical | https://docs.totem.ing/api/totemsdk-server/functions/hashCanonical | hashCanonical hashObject | https://docs.totem.ing/api/totemsdk-server/functions/hashObject | Object # Function: hashObject() > **hashObject**(`data`): `Uint8Array` Hash a single object matching Java's Crypto. indexToMiniDataBytes | https://docs.totem.ing/api/totemsdk-server/functions/indexToMiniDataBytes | ToMiniDataBytes # Function: indexToMiniDataBytes() > **indexToMiniDataBytes**(`index`): `Uint8Array` Convert index to MiniData bytes matching Java's: new MiniData(new BigInteger(Integer. javaHashAllObjects | https://docs.totem.ing/api/totemsdk-server/functions/javaHashAllObjects | HashAllObjects # Function: javaHashAllObjects() > **javaHashAllObjects**(. mmrLeafExact | https://docs.totem.ing/api/totemsdk-server/functions/mmrLeafExact | LeafExact # Function: mmrLeafExact() > **mmrLeafExact**(`script`): `Bytes` Byte-exact one-leaf MMR leaf used by Minima Address. mmrRootFromSingleLeaf | https://docs.totem.ing/api/totemsdk-server/functions/mmrRootFromSingleLeaf | RootFromSingleLeaf # Function: mmrRootFromSingleLeaf() > **mmrRootFromSingleLeaf**(`script`): `Bytes` In a single-leaf MMR the root equals the leaf commitment. mxToHex | https://docs.totem.ing/api/totemsdk-server/functions/mxToHex | ToHex # Function: mxToHex() > **mxToHex**(`address`): `string` Convert an Mx (radix-32) or hex Minima address to lowercase hex. normalizeHex | https://docs.totem.ing/api/totemsdk-server/functions/normalizeHex | normalizeHex parseDecimalToMiniNumber | https://docs.totem.ing/api/totemsdk-server/functions/parseDecimalToMiniNumber | DecimalToMiniNumber # Function: parseDecimalToMiniNumber() > **parseDecimalToMiniNumber**(`decimal`): [`ParsedMiniNumber`](. parseMMRProofFromHex | https://docs.totem.ing/api/totemsdk-server/functions/parseMMRProofFromHex | MMRProofFromHex # Function: parseMMRProofFromHex() > **parseMMRProofFromHex**(`data`): `object` Deserialize MMRProof from bytes matching Minima's MMRProof. phraseToSeed | https://docs.totem.ing/api/totemsdk-server/functions/phraseToSeed | ToSeed # Function: phraseToSeed() > **phraseToSeed**(`rawPhrase`): `Uint8Array` Full pipeline: raw user input → 32-byte seed 1. prepareLease | https://docs.totem.ing/api/totemsdk-server/functions/prepareLease | Lease # Function: prepareLease() > **prepareLease**(`apiUrl`, `apiKey`, `args`): `Promise`\<[`PrepareResp`](. prfChainSeed | https://docs.totem.ing/api/totemsdk-server/functions/prfChainSeed | ChainSeed # ~~Function: prfChainSeed()~~ > **prfChainSeed**(`seed`, `i`, `j`, `_paramSet`): `Uint8Array` ## Parameters ### seed `Uint8Array` ### i `number` ### j `number` ### \_paramSet [`ParamSet`](. scriptFromWotsPk | https://docs.totem.ing/api/totemsdk-server/functions/scriptFromWotsPk | FromWotsPk # Function: scriptFromWotsPk() > **scriptFromWotsPk**(`pkDigest32`): `string` Produce KISSVM script that authorizes with a WOTS PK digest (32 bytes). scriptToAddress | https://docs.totem.ing/api/totemsdk-server/functions/scriptToAddress | scriptToAddress sendTransaction | https://docs.totem.ing/api/totemsdk-server/functions/sendTransaction | Transaction # Function: sendTransaction() > **sendTransaction**(`params`): `Promise`\<[`SendResult`](. serializeCoin | https://docs.totem.ing/api/totemsdk-server/functions/serializeCoin | Coin # Function: serializeCoin() > **serializeCoin**(`coin`): `Uint8Array` ## Parameters ### coin [`MinimaCoin`](. serializeExtraScripts | https://docs.totem.ing/api/totemsdk-server/functions/serializeExtraScripts | serializeExtraScripts serializeMMRData | https://docs.totem.ing/api/totemsdk-server/functions/serializeMMRData | MMRData # Function: serializeMMRData() > **serializeMMRData**(`mmrData`): `Uint8Array` Serialize MMRData matching Java MMRData. serializeMMREntry | https://docs.totem.ing/api/totemsdk-server/functions/serializeMMREntry | MMREntry # Function: serializeMMREntry() > **serializeMMREntry**(`entry`): `Uint8Array` Serialize MMREntry matching Java MMREntry. serializeMMREntryNumber | https://docs.totem.ing/api/totemsdk-server/functions/serializeMMREntryNumber | MMREntryNumber # Function: serializeMMREntryNumber() > **serializeMMREntryNumber**(`entry`): `Uint8Array` Serialize MMREntryNumber matching Java MMREntryNumber. serializeMMRProof | https://docs.totem.ing/api/totemsdk-server/functions/serializeMMRProof | MMRProof # Function: serializeMMRProof() > **serializeMMRProof**(`proof`, `blockTime? serializeMMRProofChunk | https://docs.totem.ing/api/totemsdk-server/functions/serializeMMRProofChunk | MMRProofChunk # Function: serializeMMRProofChunk() > **serializeMMRProofChunk**(`chunk`): `Uint8Array` ## Parameters ### chunk [`MMRProofChunk`](. serializeMiniData | https://docs.totem.ing/api/totemsdk-server/functions/serializeMiniData | MiniData # Function: serializeMiniData() > **serializeMiniData**(`data`): `Uint8Array` Serialize bytes in MiniData format (Java compatible) Re-export of Streamable. serializeMiniNumber | https://docs.totem.ing/api/totemsdk-server/functions/serializeMiniNumber | MiniNumber # Function: serializeMiniNumber() > **serializeMiniNumber**(`n`): `Uint8Array` Serialize a number in MiniNumber format (Java compatible) Thin wrapper over Streamable. serializeMiniNumberONE | https://docs.totem.ing/api/totemsdk-server/functions/serializeMiniNumberONE | MiniNumberONE # Function: serializeMiniNumberONE() > **serializeMiniNumberONE**(): `Uint8Array` Serialize MiniNumber. serializeMiniNumberZERO | https://docs.totem.ing/api/totemsdk-server/functions/serializeMiniNumberZERO | MiniNumberZERO # Function: serializeMiniNumberZERO() > **serializeMiniNumberZERO**(): `Uint8Array` Serialize MiniNumber. serializeScriptProofWithProof | https://docs.totem.ing/api/totemsdk-server/functions/serializeScriptProofWithProof | ScriptProofWithProof # Function: serializeScriptProofWithProof() > **serializeScriptProofWithProof**(`script`, `proof`, `blockTime? serializeStateVariables | https://docs.totem.ing/api/totemsdk-server/functions/serializeStateVariables | StateVariables # Function: serializeStateVariables() > **serializeStateVariables**(`stateValues`): `Uint8Array` ## Parameters ### stateValues [`StateValue`](. serializeTreeSignature | https://docs.totem.ing/api/totemsdk-server/functions/serializeTreeSignature | TreeSignature # Function: serializeTreeSignature() > **serializeTreeSignature**(`sig`): `Bytes` Serialize a TreeSignature to bytes Uses Streamable. simpleTotemSendRequest | https://docs.totem.ing/api/totemsdk-server/functions/simpleTotemSendRequest | TotemSendRequest # Function: simpleTotemSendRequest() > **simpleTotemSendRequest**(`to`, `amount`, `tokenId? toHex | https://docs.totem.ing/api/totemsdk-server/functions/toHex | toHex toWinternitzDigits | https://docs.totem.ing/api/totemsdk-server/functions/toWinternitzDigits | WinternitzDigits # Function: toWinternitzDigits() > **toWinternitzDigits**(`hash32`, `ps? utf8ToBytes | https://docs.totem.ing/api/totemsdk-server/functions/utf8ToBytes | utf8ToBytes validateExternalSignature | https://docs.totem.ing/api/totemsdk-server/functions/validateExternalSignature | ExternalSignature # Function: validateExternalSignature() > **validateExternalSignature**(`signature`, `transactionDigest`): `boolean` ## Parameters ### signature [`ExternalSignature`](. validatePhrase | https://docs.totem.ing/api/totemsdk-server/functions/validatePhrase | validatePhrase validateSendTransactionRequest | https://docs.totem.ing/api/totemsdk-server/functions/validateSendTransactionRequest | validateSendTransactionRequest verifySignature | https://docs.totem.ing/api/totemsdk-server/functions/verifySignature | verifySignature verifySignatureDetailed | https://docs.totem.ing/api/totemsdk-server/functions/verifySignatureDetailed | SignatureDetailed # Function: verifySignatureDetailed() > **verifySignatureDetailed**(`address`, `message`, `signatureHex`, `publicKeyHex`): [`VerificationResult`](. verifyTreeSignature | https://docs.totem.ing/api/totemsdk-server/functions/verifyTreeSignature | TreeSignature # Function: verifyTreeSignature() > **verifyTreeSignature**(`expectedPubkey`, `data`, `signature`): `boolean` Verify a tree signature against expected public key and data Matches TreeKey. verifyTreeSignatureDetailed | https://docs.totem.ing/api/totemsdk-server/functions/verifyTreeSignatureDetailed | TreeSignatureDetailed # Function: verifyTreeSignatureDetailed() > **verifyTreeSignatureDetailed**(`expectedPubkey`, `data`, `signature`): [`VerificationResult`](. wotsAddressFromKeypair | https://docs.totem.ing/api/totemsdk-server/functions/wotsAddressFromKeypair | wotsAddressFromKeypair wotsKeypairFromSeed | https://docs.totem.ing/api/totemsdk-server/functions/wotsKeypairFromSeed | wotsKeypairFromSeed wotsSignLegacy | https://docs.totem.ing/api/totemsdk-server/functions/wotsSignLegacy | SignLegacy # Function: wotsSignLegacy() > **wotsSignLegacy**(`msgHash`, `seed`, `index`, `paramSet? writeHashToStream | https://docs.totem.ing/api/totemsdk-server/functions/writeHashToStream | HashToStream # Function: writeHashToStream() > **writeHashToStream**(`data`): `Uint8Array` Serialize hash in MiniData. writeMMREntryNumber | https://docs.totem.ing/api/totemsdk-server/functions/writeMMREntryNumber | MMREntryNumber # Function: writeMMREntryNumber() > **writeMMREntryNumber**(`value`, `scale? writeMiniByte | https://docs.totem.ing/api/totemsdk-server/functions/writeMiniByte | MiniByte # Function: writeMiniByte() > **writeMiniByte**(`value`): `Uint8Array` Encode a MiniByte per Java MiniByte. writeMiniNumber | https://docs.totem.ing/api/totemsdk-server/functions/writeMiniNumber | MiniNumber # Function: writeMiniNumber() > **writeMiniNumber**(`value`, `scale? AdapterRegistry | https://docs.totem.ing/api/totemsdk-server/interfaces/AdapterRegistry | AdapterRegistry # Interface: AdapterRegistry ## Properties ### auth > **auth**: [`AuthTokenProvider`](AuthTokenProvider. AuthTokenProvider | https://docs.totem.ing/api/totemsdk-server/interfaces/AuthTokenProvider | AuthTokenProvider CancellationToken | https://docs.totem.ing/api/totemsdk-server/interfaces/CancellationToken | CancellationToken CancellationTokenSource | https://docs.totem.ing/api/totemsdk-server/interfaces/CancellationTokenSource | CancellationTokenSource # Interface: CancellationTokenSource ## Properties ### token > `readonly` **token**: [`CancellationToken`](CancellationToken. CoinProofData | https://docs.totem.ing/api/totemsdk-server/interfaces/CoinProofData | CoinProofData # Interface: CoinProofData ## Properties ### address > **address**: `Uint8Array` *** ### blockCreated > **blockCreated**: `bigint` *** ### coinId > **coinId**: `Uint8Array` *** ### mmrEntryNumber > **mmrEntryNumber**: `bigint` *** ### rawAmountBytes > **rawAmountBytes**: `Uint8Array` *** ### rawBlockCreatedBytes > **rawBlockCreatedBytes**: `Uint8Array` *** ### rawMmrEntryBytes > **rawMmrEntryBytes**: `Uint8Array` *** ### rawTokenData? ConfigProvider | https://docs.totem.ing/api/totemsdk-server/interfaces/ConfigProvider | ConfigProvider # Interface: ConfigProvider ## Properties ### apiKey? CreateNodeAdaptersOptions | https://docs.totem.ing/api/totemsdk-server/interfaces/CreateNodeAdaptersOptions | CreateNodeAdaptersOptions # Interface: CreateNodeAdaptersOptions ## Extended by - [`CreateServerAdaptersOptions`](CreateServerAdaptersOptions. CreateServerAdaptersOptions | https://docs.totem.ing/api/totemsdk-server/interfaces/CreateServerAdaptersOptions | CreateServerAdaptersOptions # Interface: CreateServerAdaptersOptions ## Extends - [`CreateNodeAdaptersOptions`](CreateNodeAdaptersOptions. CryptoAdapter | https://docs.totem.ing/api/totemsdk-server/interfaces/CryptoAdapter | CryptoAdapter DAppContractCallParams | https://docs.totem.ing/api/totemsdk-server/interfaces/DAppContractCallParams | DAppContractCallParams # Interface: DAppContractCallParams ## Properties ### args? DAppHtlcParams | https://docs.totem.ing/api/totemsdk-server/interfaces/DAppHtlcParams | DAppHtlcParams DAppLiquidityParams | https://docs.totem.ing/api/totemsdk-server/interfaces/DAppLiquidityParams | DAppLiquidityParams # Interface: DAppLiquidityParams ## Properties ### amountA? DAppMultisigParams | https://docs.totem.ing/api/totemsdk-server/interfaces/DAppMultisigParams | DAppMultisigParams # Interface: DAppMultisigParams ## Properties ### publicKeys > **publicKeys**: `string`[] *** ### requiredSignatures > **requiredSignatures**: `number` *** ### timeoutBlocks? DAppStateVariable | https://docs.totem.ing/api/totemsdk-server/interfaces/DAppStateVariable | DAppStateVariable # Interface: DAppStateVariable ## Properties ### port > **port**: `number` *** ### type? DAppSwapParams | https://docs.totem.ing/api/totemsdk-server/interfaces/DAppSwapParams | DAppSwapParams # Interface: DAppSwapParams ## Properties ### amountIn > **amountIn**: `string` *** ### fromTokenId > **fromTokenId**: `string` *** ### minAmountOut > **minAmountOut**: `string` *** ### poolAddress? DAppTimelockParams | https://docs.totem.ing/api/totemsdk-server/interfaces/DAppTimelockParams | DAppTimelockParams # Interface: DAppTimelockParams ## Properties ### fallbackAddress? DAppTransactionInput | https://docs.totem.ing/api/totemsdk-server/interfaces/DAppTransactionInput | DAppTransactionInput # Interface: DAppTransactionInput ## Properties ### address? DAppTransactionOutput | https://docs.totem.ing/api/totemsdk-server/interfaces/DAppTransactionOutput | DAppTransactionOutput # Interface: DAppTransactionOutput ## Properties ### address > **address**: `string` *** ### amount > **amount**: `string` *** ### script? EnvironmentConfigMapping | https://docs.totem.ing/api/totemsdk-server/interfaces/EnvironmentConfigMapping | EnvironmentConfigMapping # Interface: EnvironmentConfigMapping ## Properties ### apiKey? ExternalSignature | https://docs.totem.ing/api/totemsdk-server/interfaces/ExternalSignature | ExternalSignature # Interface: ExternalSignature ## Properties ### proof? FileStorageAdapterOptions | https://docs.totem.ing/api/totemsdk-server/interfaces/FileStorageAdapterOptions | FileStorageAdapterOptions # Interface: FileStorageAdapterOptions ## Properties ### directory > **directory**: `string` *** ### failurePolicy? FinalizeRequest | https://docs.totem.ing/api/totemsdk-server/interfaces/FinalizeRequest | FinalizeRequest # Interface: FinalizeRequest ## Properties ### importId? FinalizeResponse | https://docs.totem.ing/api/totemsdk-server/interfaces/FinalizeResponse | FinalizeResponse FlatMMRProofChunk | https://docs.totem.ing/api/totemsdk-server/interfaces/FlatMMRProofChunk | FlatMMRProofChunk HierarchicalWitnessBundle | https://docs.totem.ing/api/totemsdk-server/interfaces/HierarchicalWitnessBundle | HierarchicalWitnessBundle # Interface: HierarchicalWitnessBundle Hierarchical witness bundle produced by per-address TreeKey signing. HttpClient | https://docs.totem.ing/api/totemsdk-server/interfaces/HttpClient | HttpClient # Interface: HttpClient ## Methods ### delete() > **delete**\<`T`\>(`url`, `options? HttpRequestOptions | https://docs.totem.ing/api/totemsdk-server/interfaces/HttpRequestOptions | HttpRequestOptions # Interface: HttpRequestOptions ## Properties ### cancellationToken? HttpResponse | https://docs.totem.ing/api/totemsdk-server/interfaces/HttpResponse | HttpResponse JavaMMRData | https://docs.totem.ing/api/totemsdk-server/interfaces/JavaMMRData | JavaMMRData # Interface: JavaMMRData MMRData interface for serialization purposes Matches Minima's MMRData. JavaMMREntry | https://docs.totem.ing/api/totemsdk-server/interfaces/JavaMMREntry | JavaMMREntry # Interface: JavaMMREntry MMREntry interface for serialization purposes Matches Minima's MMREntry. JavaMMREntryNumber | https://docs.totem.ing/api/totemsdk-server/interfaces/JavaMMREntryNumber | JavaMMREntryNumber # Interface: JavaMMREntryNumber MMREntryNumber interface matching Minima's MMREntryNumber. KeyGenProgress | https://docs.totem.ing/api/totemsdk-server/interfaces/KeyGenProgress | KeyGenProgress LeaseExpiryEvent | https://docs.totem.ing/api/totemsdk-server/interfaces/LeaseExpiryEvent | LeaseExpiryEvent # Interface: LeaseExpiryEvent ## Properties ### expiresAt > **expiresAt**: `number` *** ### lease > **lease**: [`StoredLease`](StoredLease. LeaseMonitorConfig | https://docs.totem.ing/api/totemsdk-server/interfaces/LeaseMonitorConfig | LeaseMonitorConfig # Interface: LeaseMonitorConfig ## Properties ### defaultIntervalMs? LeaseStoreConfig | https://docs.totem.ing/api/totemsdk-server/interfaces/LeaseStoreConfig | LeaseStoreConfig # Interface: LeaseStoreConfig ## Properties ### storageKey? LeaseWotsIndices | https://docs.totem.ing/api/totemsdk-server/interfaces/LeaseWotsIndices | LeaseWotsIndices LegacyMMRProof | https://docs.totem.ing/api/totemsdk-server/interfaces/LegacyMMRProof | LegacyMMRProof # Interface: LegacyMMRProof ## Properties ### blockTime > **blockTime**: `bigint` *** ### proofChain > **proofChain**: [`FlatMMRProofChunk`](FlatMMRProofChunk. LifecycleAdapter | https://docs.totem.ing/api/totemsdk-server/interfaces/LifecycleAdapter | LifecycleAdapter # Interface: LifecycleAdapter ## Methods ### onResume()? LoggerAdapter | https://docs.totem.ing/api/totemsdk-server/interfaces/LoggerAdapter | LoggerAdapter # Interface: LoggerAdapter ## Methods ### debug() > **debug**(`message`, . MMRData | https://docs.totem.ing/api/totemsdk-server/interfaces/MMRData | MMRData # Interface: MMRData MMRData structure matching Minima's MMRData. MMREntry | https://docs.totem.ing/api/totemsdk-server/interfaces/MMREntry | MMREntry # Interface: MMREntry MMREntry structure matching Minima's MMREntry. MMRProof | https://docs.totem.ing/api/totemsdk-server/interfaces/MMRProof | MMRProof # Interface: MMRProof MMRProof structure matching Minima's MMRProof. MMRProofChunk | https://docs.totem.ing/api/totemsdk-server/interfaces/MMRProofChunk | MMRProofChunk # Interface: MMRProofChunk MMRProofChunk - one step in the proof path Matches Minima's MMRProof structure ## Properties ### isLeft > **isLeft**: `boolean` *** ### mmrData > **mmrData**: [`MMRData`](MMRData. MetricsAdapter | https://docs.totem.ing/api/totemsdk-server/interfaces/MetricsAdapter | MetricsAdapter # Interface: MetricsAdapter ## Methods ### gauge() > **gauge**(`name`, `value`, `tags? MinimaCoin | https://docs.totem.ing/api/totemsdk-server/interfaces/MinimaCoin | MinimaCoin # Interface: MinimaCoin ## Properties ### address > **address**: `Uint8Array` *** ### amount > **amount**: `string` *** ### coinId > **coinId**: `Uint8Array` *** ### created > **created**: `bigint` *** ### mmrEntryNumber > **mmrEntryNumber**: `bigint` *** ### rawAmountBytes? MinimaToken | https://docs.totem.ing/api/totemsdk-server/interfaces/MinimaToken | MinimaToken # Interface: MinimaToken ## Properties ### coinId > **coinId**: `Uint8Array` *** ### created? MinimaTransaction | https://docs.totem.ing/api/totemsdk-server/interfaces/MinimaTransaction | MinimaTransaction # Interface: MinimaTransaction Transaction Serialization & Digest Computation Port of the extension's MinimaTransactionBuilder serialization logic to the SDK core for full parity with the Totem wallet extension. NodeConfigOptions | https://docs.totem.ing/api/totemsdk-server/interfaces/NodeConfigOptions | NodeConfigOptions # Interface: NodeConfigOptions ## Properties ### additionalConfig? NodeHttpClientOptions | https://docs.totem.ing/api/totemsdk-server/interfaces/NodeHttpClientOptions | NodeHttpClientOptions # Interface: NodeHttpClientOptions ## Properties ### defaultHeaders? ParsedMiniNumber | https://docs.totem.ing/api/totemsdk-server/interfaces/ParsedMiniNumber | ParsedMiniNumber PrepareRequest | https://docs.totem.ing/api/totemsdk-server/interfaces/PrepareRequest | PrepareRequest # Interface: PrepareRequest ## Properties ### addressIndex? PrepareResponse | https://docs.totem.ing/api/totemsdk-server/interfaces/PrepareResponse | PrepareResponse # Interface: PrepareResponse ## Extended by - [`PrepareResult`](PrepareResult. PrepareResult | https://docs.totem.ing/api/totemsdk-server/interfaces/PrepareResult | PrepareResult # Interface: PrepareResult ## Extends - [`PrepareResponse`](PrepareResponse. RawStateVariable | https://docs.totem.ing/api/totemsdk-server/interfaces/RawStateVariable | RawStateVariable ScriptCatalogEntry | https://docs.totem.ing/api/totemsdk-server/interfaces/ScriptCatalogEntry | ScriptCatalogEntry # Interface: ScriptCatalogEntry ## Properties ### address > **address**: `string` *** ### createdAt > **createdAt**: `number` *** ### lastUsed > **lastUsed**: `number` *** ### script > **script**: `string` *** ### scriptType > **scriptType**: [`ScriptType`](. ScriptDescriptor | https://docs.totem.ing/api/totemsdk-server/interfaces/ScriptDescriptor | ScriptDescriptor # Interface: ScriptDescriptor ## Properties ### address > **address**: `string` *** ### externalSignatures? ScriptProofResult | https://docs.totem.ing/api/totemsdk-server/interfaces/ScriptProofResult | ScriptProofResult # Interface: ScriptProofResult ## Properties ### proof > **proof**: [`MMRProof`](MMRProof. SendParams | https://docs.totem.ing/api/totemsdk-server/interfaces/SendParams | SendParams # Interface: SendParams Parameters for `sendTransaction()`. SendResult | https://docs.totem.ing/api/totemsdk-server/interfaces/SendResult | SendResult # Interface: SendResult Result returned by `sendTransaction()` on success. SignRequest | https://docs.totem.ing/api/totemsdk-server/interfaces/SignRequest | SignRequest SignResult | https://docs.totem.ing/api/totemsdk-server/interfaces/SignResult | SignResult # Interface: SignResult ## Properties ### signedHex > **signedHex**: `string` *** ### witnessBundle > **witnessBundle**: [`HierarchicalWitnessBundle`](HierarchicalWitnessBundle. SignatureProof | https://docs.totem.ing/api/totemsdk-server/interfaces/SignatureProof | SignatureProof # Interface: SignatureProof SignatureProof structure matching Minima's SignatureProof. SiteTransactionPermission | https://docs.totem.ing/api/totemsdk-server/interfaces/SiteTransactionPermission | SiteTransactionPermission # Interface: SiteTransactionPermission ## Properties ### expiresAt > **expiresAt**: `number` *** ### grantedAt > **grantedAt**: `number` *** ### origin > **origin**: `string` *** ### scopes > **scopes**: [`TransactionScope`](TransactionScope. SpendableCoinInput | https://docs.totem.ing/api/totemsdk-server/interfaces/SpendableCoinInput | SpendableCoinInput # Interface: SpendableCoinInput ## Properties ### address > **address**: `string` *** ### amount > **amount**: `string` *** ### coinId > **coinId**: `string` *** ### coinProofData? StateValue | https://docs.totem.ing/api/totemsdk-server/interfaces/StateValue | StateValue StateVariable | https://docs.totem.ing/api/totemsdk-server/interfaces/StateVariable | StateVariable StorageAdapter | https://docs.totem.ing/api/totemsdk-server/interfaces/StorageAdapter | StorageAdapter StorageAuthProviderOptions | https://docs.totem.ing/api/totemsdk-server/interfaces/StorageAuthProviderOptions | StorageAuthProviderOptions # Interface: StorageAuthProviderOptions ## Properties ### tokenKey? StoredLease | https://docs.totem.ing/api/totemsdk-server/interfaces/StoredLease | StoredLease # Interface: StoredLease ## Properties ### createdAt > **createdAt**: `number` *** ### expiresAt > **expiresAt**: `number` *** ### indices > **indices**: [`LeaseWotsIndices`](LeaseWotsIndices. SyncResult | https://docs.totem.ing/api/totemsdk-server/interfaces/SyncResult | SyncResult TimerAdapter | https://docs.totem.ing/api/totemsdk-server/interfaces/TimerAdapter | TimerAdapter TotemSendTransactionRequest | https://docs.totem.ing/api/totemsdk-server/interfaces/TotemSendTransactionRequest | TotemSendTransactionRequest # Interface: TotemSendTransactionRequest ## Properties ### burn? TotemSendTransactionResponse | https://docs.totem.ing/api/totemsdk-server/interfaces/TotemSendTransactionResponse | TotemSendTransactionResponse # Interface: TotemSendTransactionResponse ## Properties ### artifactId? TransactionBuildResult | https://docs.totem.ing/api/totemsdk-server/interfaces/TransactionBuildResult | TransactionBuildResult # Interface: TransactionBuildResult ## Properties ### digestTx > **digestTx**: `Uint8Array` *** ### digestTxHex > **digestTxHex**: `string` *** ### serialized > **serialized**: `Uint8Array` *** ### serializedHex > **serializedHex**: `string` *** ### transaction > **transaction**: [`MinimaTransaction`](MinimaTransaction. TransactionError | https://docs.totem.ing/api/totemsdk-server/interfaces/TransactionError | TransactionError TransactionLifecycleConfig | https://docs.totem.ing/api/totemsdk-server/interfaces/TransactionLifecycleConfig | TransactionLifecycleConfig # Interface: TransactionLifecycleConfig ## Properties ### syncWatermarkBeforePrepare? TransactionMetadata | https://docs.totem.ing/api/totemsdk-server/interfaces/TransactionMetadata | TransactionMetadata TransactionReceipt | https://docs.totem.ing/api/totemsdk-server/interfaces/TransactionReceipt | TransactionReceipt # Interface: TransactionReceipt ## Properties ### amount > **amount**: `string` *** ### indices > **indices**: [`WotsIndices`](WotsIndices. TransactionReceiptStoreConfig | https://docs.totem.ing/api/totemsdk-server/interfaces/TransactionReceiptStoreConfig | TransactionReceiptStoreConfig # Interface: TransactionReceiptStoreConfig ## Properties ### maxReceipts? TransactionRoundState | https://docs.totem.ing/api/totemsdk-server/interfaces/TransactionRoundState | TransactionRoundState # Interface: TransactionRoundState ## Properties ### newStates > **newStates**: [`StateValue`](StateValue. TransactionScope | https://docs.totem.ing/api/totemsdk-server/interfaces/TransactionScope | TransactionScope # Interface: TransactionScope ## Properties ### allowedIntents > **allowedIntents**: [`DAppTransactionIntent`](. TransactionServiceConfig | https://docs.totem.ing/api/totemsdk-server/interfaces/TransactionServiceConfig | TransactionServiceConfig # Interface: TransactionServiceConfig ## Properties ### apiKey > **apiKey**: `string` *** ### baseUrl > **baseUrl**: `string` *** ### paramSet? TreeSignature | https://docs.totem.ing/api/totemsdk-server/interfaces/TreeSignature | TreeSignature # Interface: TreeSignature Full Signature structure matching Minima's Signature. VerificationResult | https://docs.totem.ing/api/totemsdk-server/interfaces/VerificationResult | VerificationResult # Interface: VerificationResult ## Properties ### error? VerifyOutExpectation | https://docs.totem.ing/api/totemsdk-server/interfaces/VerifyOutExpectation | VerifyOutExpectation WatermarkState | https://docs.totem.ing/api/totemsdk-server/interfaces/WatermarkState | WatermarkState # Interface: WatermarkState ## Properties ### lastSyncTimestamp? WatermarkStoreConfig | https://docs.totem.ing/api/totemsdk-server/interfaces/WatermarkStoreConfig | WatermarkStoreConfig # Interface: WatermarkStoreConfig ## Properties ### storageKey? WatermarkSyncFunction | https://docs.totem.ing/api/totemsdk-server/interfaces/WatermarkSyncFunction | WatermarkSyncFunction WebSocketClient | https://docs.totem.ing/api/totemsdk-server/interfaces/WebSocketClient | WebSocketClient # Interface: WebSocketClient ## Properties ### onclose > **onclose**: ((`ev`) => `void`) \| `null` *** ### onerror > **onerror**: ((`ev`) => `void`) \| `null` *** ### onmessage > **onmessage**: ((`ev`) => `void`) \| `null` *** ### onopen > **onopen**: ((`ev`) => `void`) \| `null` *** ### readyState > `readonly` **readyState**: `number` *** ### url > `readonly` **url**: `string` ## Methods ### addEventListener() > **addEventListener**\<`K`\>(`event`, `listener`): `void` #### Type Parameters ##### K `K` *extends* keyof [`WebSocketEventMap`](. WebSocketCloseEvent | https://docs.totem.ing/api/totemsdk-server/interfaces/WebSocketCloseEvent | WebSocketCloseEvent WebSocketErrorEvent | https://docs.totem.ing/api/totemsdk-server/interfaces/WebSocketErrorEvent | WebSocketErrorEvent # Interface: WebSocketErrorEvent ## Properties ### error? WebSocketFactory | https://docs.totem.ing/api/totemsdk-server/interfaces/WebSocketFactory | WebSocketFactory # Interface: WebSocketFactory ## Methods ### create() > **create**(`url`, `protocols? WebSocketFactoryOptions | https://docs.totem.ing/api/totemsdk-server/interfaces/WebSocketFactoryOptions | WebSocketFactoryOptions # Interface: WebSocketFactoryOptions ## Properties ### maxPayloadBytes? WebSocketMessageEvent | https://docs.totem.ing/api/totemsdk-server/interfaces/WebSocketMessageEvent | WebSocketMessageEvent # Interface: WebSocketMessageEvent ## Properties ### data > **data**: `string` \| [`BinaryData`](. WebSocketOpenEvent | https://docs.totem.ing/api/totemsdk-server/interfaces/WebSocketOpenEvent | WebSocketOpenEvent WitnessBundle | https://docs.totem.ing/api/totemsdk-server/interfaces/WitnessBundle | WitnessBundle # ~~Interface: WitnessBundle~~ ## Deprecated Use HierarchicalWitnessBundle. WotsIndices | https://docs.totem.ing/api/totemsdk-server/interfaces/WotsIndices | WotsIndices WotsSigningDependencies | https://docs.totem.ing/api/totemsdk-server/interfaces/WotsSigningDependencies | WotsSigningDependencies # ~~Interface: WotsSigningDependencies~~ ## Deprecated WotsSigningDependencies is no longer used by TransactionService. BinaryData | https://docs.totem.ing/api/totemsdk-server/type-aliases/BinaryData | BinaryData Bytes | https://docs.totem.ing/api/totemsdk-server/type-aliases/Bytes | Bytes # Type Alias: Bytes > **Bytes** = `Uint8Array` Streamable. DAppTransactionIntent | https://docs.totem.ing/api/totemsdk-server/type-aliases/DAppTransactionIntent | DAppTransactionIntent LeaseExpiryCallback | https://docs.totem.ing/api/totemsdk-server/type-aliases/LeaseExpiryCallback | LeaseExpiryCallback # Type Alias: LeaseExpiryCallback > **LeaseExpiryCallback** = (`event`) => `void` ## Parameters ### event [`LeaseExpiryEvent`](. LeaseStatus | https://docs.totem.ing/api/totemsdk-server/type-aliases/LeaseStatus | LeaseStatus ParamSet | https://docs.totem.ing/api/totemsdk-server/type-aliases/ParamSet | ParamSet # Type Alias: ParamSet > **ParamSet** = `object` WOTS Parameter Set - BouncyCastle Compatible (w=8) Matches Minima Java implementation which uses BouncyCastle: - Winternitz. PrepareArgs | https://docs.totem.ing/api/totemsdk-server/type-aliases/PrepareArgs | PrepareArgs # Type Alias: PrepareArgs > **PrepareArgs** = `object` Totem <-> Axia hardened WOTS helpers (no deps on server internals). PrepareResp | https://docs.totem.ing/api/totemsdk-server/type-aliases/PrepareResp | PrepareResp # Type Alias: PrepareResp > **PrepareResp** = `object` ## Properties ### digestTx? ProgressCallback | https://docs.totem.ing/api/totemsdk-server/type-aliases/ProgressCallback | ProgressCallback # Type Alias: ProgressCallback > **ProgressCallback** = (`progress`) => `void` ## Parameters ### progress [`KeyGenProgress`](. ScriptType | https://docs.totem.ing/api/totemsdk-server/type-aliases/ScriptType | ScriptType StateVariableType | https://docs.totem.ing/api/totemsdk-server/type-aliases/StateVariableType | StateVariableType TimerHandle | https://docs.totem.ing/api/totemsdk-server/type-aliases/TimerHandle | TimerHandle TotemTransactionErrorCode | https://docs.totem.ing/api/totemsdk-server/type-aliases/TotemTransactionErrorCode | TotemTransactionErrorCode WebSocketEventMap | https://docs.totem.ing/api/totemsdk-server/type-aliases/WebSocketEventMap | WebSocketEventMap # Type Alias: WebSocketEventMap > **WebSocketEventMap** = `object` ## Properties ### close > **close**: [`WebSocketCloseEvent`](. WotsKeypair | https://docs.totem.ing/api/totemsdk-server/type-aliases/WotsKeypair | WotsKeypair WotsSignature | https://docs.totem.ing/api/totemsdk-server/type-aliases/WotsSignature | WotsSignature CORE_BUILD_ID | https://docs.totem.ing/api/totemsdk-server/variables/CORE_BUILD_ID | CORE\_BUILD\_ID # Variable: CORE\_BUILD\_ID > `const` **CORE\_BUILD\_ID**: `"2026. CORE_VERSION | https://docs.totem.ing/api/totemsdk-server/variables/CORE_VERSION | CORE\_VERSION # Variable: CORE\_VERSION > `const` **CORE\_VERSION**: `"1. DEFAULT_KEYS_PER_LEVEL | https://docs.totem.ing/api/totemsdk-server/variables/DEFAULT_KEYS_PER_LEVEL | DEFAULT_KEYS_PER_LEVEL DEFAULT_LEVELS | https://docs.totem.ing/api/totemsdk-server/variables/DEFAULT_LEVELS | DEFAULT_LEVELS F | https://docs.totem.ing/api/totemsdk-server/variables/F | F MINIMA_CONSTANTS | https://docs.totem.ing/api/totemsdk-server/variables/MINIMA_CONSTANTS | MINIMA_CONSTANTS STATETYPE_BOOL | https://docs.totem.ing/api/totemsdk-server/variables/STATETYPE_BOOL | STATETYPE_BOOL STATETYPE_HEX | https://docs.totem.ing/api/totemsdk-server/variables/STATETYPE_HEX | STATETYPE_HEX STATETYPE_NUMBER | https://docs.totem.ing/api/totemsdk-server/variables/STATETYPE_NUMBER | STATETYPE_NUMBER STATETYPE_STRING | https://docs.totem.ing/api/totemsdk-server/variables/STATETYPE_STRING | STATETYPE_STRING TOTEM_SEND_TRANSACTION_VERSION | https://docs.totem.ing/api/totemsdk-server/variables/TOTEM_SEND_TRANSACTION_VERSION | TOTEM_SEND_TRANSACTION_VERSION WORD_LIST | https://docs.totem.ing/api/totemsdk-server/variables/WORD_LIST | WORD\_LIST # Variable: WORD\_LIST > `const` **WORD\_LIST**: readonly `string`[] Official BIP39 English word list (2048 words) From https://github. WOTS_MINIMA | https://docs.totem.ing/api/totemsdk-server/variables/WOTS_MINIMA | WOTS\_MINIMA # Variable: WOTS\_MINIMA > `const` **WOTS\_MINIMA**: [`ParamSet`](. WOTS_V1_DEV | https://docs.totem.ing/api/totemsdk-server/variables/WOTS_V1_DEV | WOTS\_V1\_DEV # Variable: WOTS\_V1\_DEV > `const` **WOTS\_V1\_DEV**: [`ParamSet`](. WOTS_V2_SPEC | https://docs.totem.ing/api/totemsdk-server/variables/WOTS_V2_SPEC | WOTS\_V2\_SPEC # Variable: WOTS\_V2\_SPEC > `const` **WOTS\_V2\_SPEC**: [`ParamSet`](. WebSocketReadyState | https://docs.totem.ing/api/totemsdk-server/variables/WebSocketReadyState | WebSocketReadyState bytesToHex | https://docs.totem.ing/api/totemsdk-server/variables/bytesToHex | bytesToHex computeTransactionDigest | https://docs.totem.ing/api/totemsdk-server/variables/computeTransactionDigest | computeTransactionDigest concatBytes | https://docs.totem.ing/api/totemsdk-server/variables/concatBytes | concatBytes createChallenge | https://docs.totem.ing/api/totemsdk-server/variables/createChallenge | createChallenge deriveChainSeedJava | https://docs.totem.ing/api/totemsdk-server/variables/deriveChainSeedJava | deriveChainSeedJava deriveFullPublicKey | https://docs.totem.ing/api/totemsdk-server/variables/deriveFullPublicKey | deriveFullPublicKey derivePKdigest | https://docs.totem.ing/api/totemsdk-server/variables/derivePKdigest | derivePKdigest derivePerAddressSeed | https://docs.totem.ing/api/totemsdk-server/variables/derivePerAddressSeed | derivePerAddressSeed deriveRootPrivSeed | https://docs.totem.ing/api/totemsdk-server/variables/deriveRootPrivSeed | deriveRootPrivSeed deserializeMMRProof | https://docs.totem.ing/api/totemsdk-server/variables/deserializeMMRProof | MMRProof # ~~Variable: deserializeMMRProof~~ > `const` **deserializeMMRProof**: *typeof* [`parseMMRProofFromHex`](. expandPrivateKey | https://docs.totem.ing/api/totemsdk-server/variables/expandPrivateKey | expandPrivateKey fromHex | https://docs.totem.ing/api/totemsdk-server/variables/fromHex | fromHex h | https://docs.totem.ing/api/totemsdk-server/variables/h | h hashChain | https://docs.totem.ing/api/totemsdk-server/variables/hashChain | hashChain hex | https://docs.totem.ing/api/totemsdk-server/variables/hex | hex hexToBytes | https://docs.totem.ing/api/totemsdk-server/variables/hexToBytes | hexToBytes makeMxAddress | https://docs.totem.ing/api/totemsdk-server/variables/makeMxAddress | makeMxAddress mmrRootFromPublicKeys | https://docs.totem.ing/api/totemsdk-server/variables/mmrRootFromPublicKeys | mmrRootFromPublicKeys parseMxAddress | https://docs.totem.ing/api/totemsdk-server/variables/parseMxAddress | parseMxAddress precomputeTransactionCoinID | https://docs.totem.ing/api/totemsdk-server/variables/precomputeTransactionCoinID | precomputeTransactionCoinID serializeRealMMRProof | https://docs.totem.ing/api/totemsdk-server/variables/serializeRealMMRProof | RealMMRProof # Variable: serializeRealMMRProof > `const` **serializeRealMMRProof**: *typeof* [`serializeMMRProof`](. serializeTransaction | https://docs.totem.ing/api/totemsdk-server/variables/serializeTransaction | serializeTransaction sha3_256 | https://docs.totem.ing/api/totemsdk-server/variables/sha3_256 | sha3_256 timingSafeEqual | https://docs.totem.ing/api/totemsdk-server/variables/timingSafeEqual | timingSafeEqual u16be | https://docs.totem.ing/api/totemsdk-server/variables/u16be | u16be u32be | https://docs.totem.ing/api/totemsdk-server/variables/u32be | u32be validateChallenge | https://docs.totem.ing/api/totemsdk-server/variables/validateChallenge | validateChallenge verifyMMRProof | https://docs.totem.ing/api/totemsdk-server/variables/verifyMMRProof | verifyMMRProof wotsPkFromSig | https://docs.totem.ing/api/totemsdk-server/variables/wotsPkFromSig | wotsPkFromSig wotsPublicKeyFromSeed | https://docs.totem.ing/api/totemsdk-server/variables/wotsPublicKeyFromSeed | wotsPublicKeyFromSeed wotsSign | https://docs.totem.ing/api/totemsdk-server/variables/wotsSign | wotsSign wotsVerify | https://docs.totem.ing/api/totemsdk-server/variables/wotsVerify | wotsVerify wotsVerifyDigest | https://docs.totem.ing/api/totemsdk-server/variables/wotsVerifyDigest | wotsVerifyDigest writeMiniData | https://docs.totem.ing/api/totemsdk-server/variables/writeMiniData | writeMiniData writeMiniString | https://docs.totem.ing/api/totemsdk-server/variables/writeMiniString | writeMiniString addSpatialRelationToGraph | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/addSpatialRelationToGraph | SpatialRelationToGraph # Function: addSpatialRelationToGraph() > **addSpatialRelationToGraph**(`graph`, `claim`): `ProofGraph` Add a spatial relation claim as a 'custom' node to a proof graph (immutable — returns a new graph). bboxCovers | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/bboxCovers | Covers # Function: bboxCovers() > **bboxCovers**(`a`, `b`): `boolean` True when box `a` fully covers box `b`. bboxIntersects | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/bboxIntersects | Intersects # Function: bboxIntersects() > **bboxIntersects**(`a`, `b`): `boolean` True when two bounding boxes share any area or edge. canonicalJson | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/canonicalJson | Json # Function: canonicalJson() > **canonicalJson**(`value`): `string` Deterministic canonical JSON with recursively sorted keys. computeGeometryHash | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/computeGeometryHash | GeometryHash # Function: computeGeometryHash() > **computeGeometryHash**(`geometry`): `string` Compute the stable geometry identifier: "totem:geo:". computeSpatialObjectId | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/computeSpatialObjectId | SpatialObjectId # Function: computeSpatialObjectId() > **computeSpatialObjectId**(`input`): `string` Compute a stable URI-style spatial object ID: "totem:spatial:". computeSpatialRelationId | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/computeSpatialRelationId | SpatialRelationId # Function: computeSpatialRelationId() > **computeSpatialRelationId**(`input`): `string` Compute a stable URI-style spatial relation claim ID using the same "totem:spatial:" namespace as spatial objects. createUnsignedSpatialProof | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/createUnsignedSpatialProof | UnsignedSpatialProof # Function: createUnsignedSpatialProof() > **createUnsignedSpatialProof**(`params`): `UnsignedProof` Create an unsigned attestation proof for a spatial relation claim. distanceMeters | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/distanceMeters | Meters # Function: distanceMeters() > **distanceMeters**(`a`, `b`): `number` Great-circle distance between two [lon, lat] points using the Haversine formula. distancePointToLineStringMeters | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/distancePointToLineStringMeters | PointToLineStringMeters # Function: distancePointToLineStringMeters() > **distancePointToLineStringMeters**(`point`, `line`): `number` Minimum distance from a point to a LineString. distancePointToSegmentMeters | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/distancePointToSegmentMeters | PointToSegmentMeters # Function: distancePointToSegmentMeters() > **distancePointToSegmentMeters**(`point`, `a`, `b`): `number` Perpendicular distance from a point to a line segment defined by [a, b]. evaluateSpatialRelation | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/evaluateSpatialRelation | SpatialRelation # Function: evaluateSpatialRelation() > **evaluateSpatialRelation**(`params`): [`SpatialRelationClaim`](. getBoundingBox | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/getBoundingBox | BoundingBox # Function: getBoundingBox() > **getBoundingBox**(`geometry`): [`BoundingBox`](. hashSpatialObject | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/hashSpatialObject | SpatialObject # Function: hashSpatialObject() > **hashSpatialObject**(`obj`): `string` Hash a complete SpatialObject (excluding spatialId and metadata) to lowercase SHA3-256 hex without a 0x prefix — the value used in EvidenceRef. hashSpatialRelationClaim | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/hashSpatialRelationClaim | SpatialRelationClaim # Function: hashSpatialRelationClaim() > **hashSpatialRelationClaim**(`claim`): `string` Hash a complete SpatialRelationClaim (excluding relationId and metadata) to lowercase SHA3-256 hex without a 0x prefix — the value used in EvidenceRef. isPointNearBoundary | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/isPointNearBoundary | PointNearBoundary # Function: isPointNearBoundary() > **isPointNearBoundary**(`point`, `polygon`, `thresholdM`): `boolean` True when a point is within `thresholdM` meters of any boundary ring of a Polygon (outer ring and holes). isRingClosed | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/isRingClosed | RingClosed # Function: isRingClosed() > **isRingClosed**(`ring`): `boolean` Ring closure: the first and last points must be equal. normalizePolygon | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/normalizePolygon | Polygon # Function: normalizePolygon() > **normalizePolygon**(`polygon`): [`GeoPolygonGeometry`](. normalizePolygonRing | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/normalizePolygonRing | PolygonRing # Function: normalizePolygonRing() > **normalizePolygonRing**(`ring`): [`Coordinate`](. pointInMultiPolygon | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/pointInMultiPolygon | InMultiPolygon # Function: pointInMultiPolygon() > **pointInMultiPolygon**(`point`, `multi`): `boolean` Point-in-MultiPolygon: true when the point is inside any of the polygons. pointInPolygon | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/pointInPolygon | InPolygon # Function: pointInPolygon() > **pointInPolygon**(`point`, `polygon`): `boolean` Ray-casting point-in-polygon test over the outer ring of a Polygon. signSpatialProof | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/signSpatialProof | SpatialProof # Function: signSpatialProof() > **signSpatialProof**(`unsigned`, `seed`, `keyIndex`): `SignedProof` Sign an unsigned spatial proof with a WOTS key. spatialClaimEvidenceRefs | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/spatialClaimEvidenceRefs | ClaimEvidenceRefs # Function: spatialClaimEvidenceRefs() > **spatialClaimEvidenceRefs**(`claim`, `obj`, `subjectGeometry? spatialObjectToEvidenceRef | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/spatialObjectToEvidenceRef | ObjectToEvidenceRef # Function: spatialObjectToEvidenceRef() > **spatialObjectToEvidenceRef**(`obj`): `EvidenceRef` Convert a SpatialObject into an EvidenceRef for inclusion in a proof. spatialObjectToProofGraphNode | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/spatialObjectToProofGraphNode | ObjectToProofGraphNode # Function: spatialObjectToProofGraphNode() > **spatialObjectToProofGraphNode**(`obj`): `ProofGraphNode` Build a ProofGraphNode for a spatial object. spatialRelationFromLocationClaim | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/spatialRelationFromLocationClaim | RelationFromLocationClaim # Function: spatialRelationFromLocationClaim() > **spatialRelationFromLocationClaim**(`params`): [`SpatialRelationClaim`](. spatialRelationToEvidenceRef | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/spatialRelationToEvidenceRef | RelationToEvidenceRef # Function: spatialRelationToEvidenceRef() > **spatialRelationToEvidenceRef**(`claim`): `EvidenceRef` Convert a SpatialRelationClaim into an EvidenceRef for inclusion in a proof. spatialRelationToGraphEdges | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/spatialRelationToGraphEdges | RelationToGraphEdges # Function: spatialRelationToGraphEdges() > **spatialRelationToGraphEdges**(`claim`): `ProofGraphEdge`[] Build ProofGraphEdges for a spatial relation claim: about relation → subject references relation → spatial object derived_from relation → location claim (when present) references relation → subject proof (when present) references relation → raster manifest (when present) Edge IDs are deterministic (content-derived in @totemsdk/proofgraph). spatialRelationToProofGraphNode | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/spatialRelationToProofGraphNode | RelationToProofGraphNode # Function: spatialRelationToProofGraphNode() > **spatialRelationToProofGraphNode**(`claim`): `ProofGraphNode` Build a ProofGraphNode for a spatial relation claim. toHex | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/toHex | toHex validateCoordinate | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/validateCoordinate | Coordinate # Function: validateCoordinate() > **validateCoordinate**(`coord`): [`SpatialValidationResult`](. validateGeometry | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/validateGeometry | Geometry # Function: validateGeometry() > **validateGeometry**(`geometry`): [`SpatialValidationResult`](. validateSpatialObject | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/validateSpatialObject | SpatialObject # Function: validateSpatialObject() > **validateSpatialObject**(`obj`): [`SpatialValidationResult`](. validateSpatialRelationClaim | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/validateSpatialRelationClaim | SpatialRelationClaim # Function: validateSpatialRelationClaim() > **validateSpatialRelationClaim**(`claim`): `object` Validate the structure of a spatial relation claim (does not re-evaluate the geometry — verification of the proof envelope also checks the claim ID and evidence hashes). verifySpatialProof | https://docs.totem.ing/api/totemsdk-spatial-proof/functions/verifySpatialProof | SpatialProof # Function: verifySpatialProof() > **verifySpatialProof**(`signed`): [`SpatialProofVerifyResult`](. BoundingBox | https://docs.totem.ing/api/totemsdk-spatial-proof/interfaces/BoundingBox | BoundingBox CreateSpatialProofParams | https://docs.totem.ing/api/totemsdk-spatial-proof/interfaces/CreateSpatialProofParams | CreateSpatialProofParams # Interface: CreateSpatialProofParams ## Properties ### claim > **claim**: [`SpatialRelationClaim`](SpatialRelationClaim. EngineInfo | https://docs.totem.ing/api/totemsdk-spatial-proof/interfaces/EngineInfo | EngineInfo EvaluateSpatialRelationParams | https://docs.totem.ing/api/totemsdk-spatial-proof/interfaces/EvaluateSpatialRelationParams | EvaluateSpatialRelationParams # Interface: EvaluateSpatialRelationParams ## Properties ### computedAt? GeoLineStringGeometry | https://docs.totem.ing/api/totemsdk-spatial-proof/interfaces/GeoLineStringGeometry | GeoLineStringGeometry # Interface: GeoLineStringGeometry ## Properties ### coordinates > **coordinates**: [`Coordinate`](. GeoMultiPolygonGeometry | https://docs.totem.ing/api/totemsdk-spatial-proof/interfaces/GeoMultiPolygonGeometry | GeoMultiPolygonGeometry # Interface: GeoMultiPolygonGeometry ## Properties ### coordinates > **coordinates**: [`Coordinate`](. GeoPointGeometry | https://docs.totem.ing/api/totemsdk-spatial-proof/interfaces/GeoPointGeometry | GeoPointGeometry # Interface: GeoPointGeometry ## Properties ### coordinates > **coordinates**: [`Coordinate`](. GeoPolygonGeometry | https://docs.totem.ing/api/totemsdk-spatial-proof/interfaces/GeoPolygonGeometry | GeoPolygonGeometry # Interface: GeoPolygonGeometry ## Properties ### coordinates > **coordinates**: [`Coordinate`](. SpatialObject | https://docs.totem.ing/api/totemsdk-spatial-proof/interfaces/SpatialObject | SpatialObject # Interface: SpatialObject ## Properties ### crs? SpatialProofVerifyResult | https://docs.totem.ing/api/totemsdk-spatial-proof/interfaces/SpatialProofVerifyResult | SpatialProofVerifyResult # Interface: SpatialProofVerifyResult ## Properties ### evidenceHashValid? SpatialRelationClaim | https://docs.totem.ing/api/totemsdk-spatial-proof/interfaces/SpatialRelationClaim | SpatialRelationClaim # Interface: SpatialRelationClaim ## Properties ### computedAt > **computedAt**: `number` *** ### engine > **engine**: [`EngineInfo`](EngineInfo. SpatialRelationClaimInputs | https://docs.totem.ing/api/totemsdk-spatial-proof/interfaces/SpatialRelationClaimInputs | SpatialRelationClaimInputs # Interface: SpatialRelationClaimInputs ## Properties ### locationClaimId? SpatialRelationClaimResult | https://docs.totem.ing/api/totemsdk-spatial-proof/interfaces/SpatialRelationClaimResult | SpatialRelationClaimResult # Interface: SpatialRelationClaimResult ## Properties ### confidenceScore? SpatialValidationResult | https://docs.totem.ing/api/totemsdk-spatial-proof/interfaces/SpatialValidationResult | SpatialValidationResult Coordinate | https://docs.totem.ing/api/totemsdk-spatial-proof/type-aliases/Coordinate | Coordinate # Type Alias: Coordinate > **Coordinate** = \[`number`, `number`\] @totemsdk/spatial-proof — Type definitions Pure schema for geospatial relationship proofs. GeoGeometry | https://docs.totem.ing/api/totemsdk-spatial-proof/type-aliases/GeoGeometry | GeoGeometry # Type Alias: GeoGeometry > **GeoGeometry** = [`GeoPointGeometry`](. SpatialObjectKind | https://docs.totem.ing/api/totemsdk-spatial-proof/type-aliases/SpatialObjectKind | SpatialObjectKind SpatialRelationType | https://docs.totem.ing/api/totemsdk-spatial-proof/type-aliases/SpatialRelationType | SpatialRelationType HttpSEClient | https://docs.totem.ing/api/totemsdk-statechain/classes/HttpSEClient | HttpSEClient # Class: HttpSEClient HTTP implementation of SEClient that talks to any compatible SE server. SENotFoundError | https://docs.totem.ing/api/totemsdk-statechain/classes/SENotFoundError | SENotFoundError # Class: SENotFoundError ## Extends - `Error` ## Constructors ### Constructor > **new SENotFoundError**(`sePublicKeyHex`): `SENotFoundError` #### Parameters ##### sePublicKeyHex `string` #### Returns `SENotFoundError` #### Overrides `Error. buildStatechainScript | https://docs.totem.ing/api/totemsdk-statechain/functions/buildStatechainScript | StatechainScript # Function: buildStatechainScript() > **buildStatechainScript**(`sePkd`): `string` MULTISIG(2) locking script for the state chain UTXO. claimOwnership | https://docs.totem.ing/api/totemsdk-statechain/functions/claimOwnership | Ownership # Function: claimOwnership() > **claimOwnership**(`chain`, `leaseProvider`): `Promise`\<[`ClaimPayload`](. clearSeRegistryCache | https://docs.totem.ing/api/totemsdk-statechain/functions/clearSeRegistryCache | SeRegistryCache # Function: clearSeRegistryCache() > **clearSeRegistryCache**(): `void` Clear the in-memory registry cache (useful in tests). createDurableStateChainStore | https://docs.totem.ing/api/totemsdk-statechain/functions/createDurableStateChainStore | DurableStateChainStore # Function: createDurableStateChainStore() > **createDurableStateChainStore**(`adapter`, `options? createStateChain | https://docs.totem.ing/api/totemsdk-statechain/functions/createStateChain | StateChain # Function: createStateChain() > **createStateChain**(`coinId`, `owner`, `sePublicKey`, `leaseProvider`, `chainProvider? fetchSeRegistry | https://docs.totem.ing/api/totemsdk-statechain/functions/fetchSeRegistry | SeRegistry # Function: fetchSeRegistry() > **fetchSeRegistry**(`registryUrl? reclaimAbandoned | https://docs.totem.ing/api/totemsdk-statechain/functions/reclaimAbandoned | Abandoned # Function: reclaimAbandoned() > **reclaimAbandoned**(`chain`, `proof`, `leaseProvider? resolveSEClient | https://docs.totem.ing/api/totemsdk-statechain/functions/resolveSEClient | SEClient # Function: resolveSEClient() > **resolveSEClient**(`sePublicKeyHex`, `ownerSign`, `opts? scriptAddress | https://docs.totem.ing/api/totemsdk-statechain/functions/scriptAddress | scriptAddress transferOwnership | https://docs.totem.ing/api/totemsdk-statechain/functions/transferOwnership | Ownership # Function: transferOwnership() > **transferOwnership**(`chain`, `newOwner`, `seClient`, `_verifyBlindSig? verifyStateChain | https://docs.totem.ing/api/totemsdk-statechain/functions/verifyStateChain | StateChain # Function: verifyStateChain() > **verifyStateChain**(`chain`, `opts? AbandonedProof | https://docs.totem.ing/api/totemsdk-statechain/interfaces/AbandonedProof | AbandonedProof # Interface: AbandonedProof ## Properties ### evidence? ClaimPayload | https://docs.totem.ing/api/totemsdk-statechain/interfaces/ClaimPayload | ClaimPayload # Interface: ClaimPayload ## Properties ### chainId > **chainId**: `string` *** ### claimAddress > **claimAddress**: `string` *** ### coinId > **coinId**: `string` *** ### txHex > **txHex**: `string` *** ### txpowId? DurableStateChainStore | https://docs.totem.ing/api/totemsdk-statechain/interfaces/DurableStateChainStore | DurableStateChainStore # Interface: DurableStateChainStore ## Methods ### get() > **get**(`chainId`): `Promise`\<[`StoredStateChain`](. DurableStateChainStoreOptions | https://docs.totem.ing/api/totemsdk-statechain/interfaces/DurableStateChainStoreOptions | DurableStateChainStoreOptions # Interface: DurableStateChainStoreOptions ## Properties ### namespace? HttpSEClientOptions | https://docs.totem.ing/api/totemsdk-statechain/interfaces/HttpSEClientOptions | HttpSEClientOptions # Interface: HttpSEClientOptions ## Properties ### fetch? RecoveryReport | https://docs.totem.ing/api/totemsdk-statechain/interfaces/RecoveryReport | RecoveryReport # Interface: RecoveryReport ## Properties ### hasReclaimTx > `readonly` **hasReclaimTx**: `boolean` True when a persisted `reclaimTx` exists for the chain. ResolveSEClientOptions | https://docs.totem.ing/api/totemsdk-statechain/interfaces/ResolveSEClientOptions | ResolveSEClientOptions # Interface: ResolveSEClientOptions ## Properties ### fetch? SEClient | https://docs.totem.ing/api/totemsdk-statechain/interfaces/SEClient | SEClient # Interface: SEClient ## Methods ### blindSign() > **blindSign**(`chainId`, `commitmentHex`): `Promise`\<`string`\> #### Parameters ##### chainId `string` ##### commitmentHex `string` #### Returns `Promise`\<`string`\> *** ### isRevoked() > **isRevoked**(`ownerPartyId`): `Promise`\<`boolean`\> #### Parameters ##### ownerPartyId `string` #### Returns `Promise`\<`boolean`\> *** ### registerChain()? SERegistryEntry | https://docs.totem.ing/api/totemsdk-statechain/interfaces/SERegistryEntry | SERegistryEntry StateChain | https://docs.totem.ing/api/totemsdk-statechain/interfaces/StateChain | StateChain # Interface: StateChain StateChain — in-memory state of a Mercury-protocol statechain UTXO. StateChainRegistryState | https://docs.totem.ing/api/totemsdk-statechain/interfaces/StateChainRegistryState | StateChainRegistryState # Interface: StateChainRegistryState ## Properties ### chains > `readonly` **chains**: `Record`\<`string`, [`StoredStateChain`](. StatechainLeaseOps | https://docs.totem.ing/api/totemsdk-statechain/interfaces/StatechainLeaseOps | StatechainLeaseOps StatechainLeaseProvider | https://docs.totem.ing/api/totemsdk-statechain/interfaces/StatechainLeaseProvider | StatechainLeaseProvider # Interface: StatechainLeaseProvider StatechainLeaseProvider — operational context for SE-based flows. StatechainOwner | https://docs.totem.ing/api/totemsdk-statechain/interfaces/StatechainOwner | StatechainOwner # Interface: StatechainOwner StatechainOwner — owner identity and signing capability. TransferRecord | https://docs.totem.ing/api/totemsdk-statechain/interfaces/TransferRecord | TransferRecord # Interface: TransferRecord TransferRecord — one entry per ownership hop in transferHistory. VerifyOptions | https://docs.totem.ing/api/totemsdk-statechain/interfaces/VerifyOptions | VerifyOptions # Interface: VerifyOptions ## Properties ### verifyBlindSig? VerifyResult | https://docs.totem.ing/api/totemsdk-statechain/interfaces/VerifyResult | VerifyResult # Interface: VerifyResult ## Properties ### depth > **depth**: `number` *** ### reason? StatechainStatus | https://docs.totem.ing/api/totemsdk-statechain/type-aliases/StatechainStatus | StatechainStatus StoredStateChain | https://docs.totem.ing/api/totemsdk-statechain/type-aliases/StoredStateChain | StoredStateChain # Type Alias: StoredStateChain > **StoredStateChain** = `Omit`\<[`StateChain`](. StoredStatechainOwner | https://docs.totem.ing/api/totemsdk-statechain/type-aliases/StoredStatechainOwner | StoredStatechainOwner # Type Alias: StoredStatechainOwner > **StoredStatechainOwner** = `Omit`\<[`StatechainOwner`](. RECLAIM_TIMELOCK | https://docs.totem.ing/api/totemsdk-statechain/variables/RECLAIM_TIMELOCK | RECLAIM_TIMELOCK STATECHAIN_RECORD_VERSION | https://docs.totem.ing/api/totemsdk-statechain/variables/STATECHAIN_RECORD_VERSION | STATECHAIN\_RECORD\_VERSION # Variable: STATECHAIN\_RECORD\_VERSION > `const` **STATECHAIN\_RECORD\_VERSION**: `1` = `1` On-disk registry format version (independent of on-chain protocol version). ArtifactStore | https://docs.totem.ing/api/totemsdk-storage/classes/ArtifactStore | ArtifactStore # Class: ArtifactStore ## Constructors ### Constructor > **new ArtifactStore**(`backend`, `options? MemoryStore | https://docs.totem.ing/api/totemsdk-storage/classes/MemoryStore | MemoryStore # Class: MemoryStore ## Implements - [`StorageAdapterWithCapabilities`](. Namespace | https://docs.totem.ing/api/totemsdk-storage/classes/Namespace | Namespace # Class: Namespace ## Implements - [`StorageAdapter`](. StorageError | https://docs.totem.ing/api/totemsdk-storage/classes/StorageError | StorageError # Class: StorageError ## Extends - `Error` ## Constructors ### Constructor > **new StorageError**(`message`, `code`, `details? artifactRefId | https://docs.totem.ing/api/totemsdk-storage/functions/artifactRefId | RefId # Function: artifactRefId() > **artifactRefId**(`ref`): `string` ## Parameters ### ref [`ArtifactRef`](. asStorageError | https://docs.totem.ing/api/totemsdk-storage/functions/asStorageError | StorageError # Function: asStorageError() > **asStorageError**(`err`, `fallback? assertCapabilities | https://docs.totem.ing/api/totemsdk-storage/functions/assertCapabilities | Capabilities # Function: assertCapabilities() > **assertCapabilities**(`adapter`, `required`): `void` No-silent-downgrade guard (RFC-007 §4. createJournal | https://docs.totem.ing/api/totemsdk-storage/functions/createJournal | Journal # Function: createJournal() > **createJournal**\<`T`\>(`adapter`, `options? createRevisionedSnapshotStore | https://docs.totem.ing/api/totemsdk-storage/functions/createRevisionedSnapshotStore | RevisionedSnapshotStore # Function: createRevisionedSnapshotStore() > **createRevisionedSnapshotStore**\<`T`\>(`adapter`, `options`): [`RevisionedSnapshotStore`](. enqueueItem | https://docs.totem.ing/api/totemsdk-storage/functions/enqueueItem | Item # Function: enqueueItem() > **enqueueItem**\<`T`\>(`store`, `key`, `item`): `Promise`\<[`EnqueueReceipt`](. isStorageError | https://docs.totem.ing/api/totemsdk-storage/functions/isStorageError | isStorageError jsonClean | https://docs.totem.ing/api/totemsdk-storage/functions/jsonClean | Clean # Function: jsonClean() > **jsonClean**(`value`): `unknown` Persistable values are JSON-clean by contract (the codec rejects bare `undefined` rather than silently dropping it): object keys with undefined values are removed and undefined array entries become `null`, matching `JSON. ArtifactBackendCapabilities | https://docs.totem.ing/api/totemsdk-storage/interfaces/ArtifactBackendCapabilities | ArtifactBackendCapabilities ArtifactIndexEntry | https://docs.totem.ing/api/totemsdk-storage/interfaces/ArtifactIndexEntry | ArtifactIndexEntry # Interface: ArtifactIndexEntry ## Properties ### createdAt > `readonly` **createdAt**: `number` *** ### id > `readonly` **id**: `string` *** ### owner? ArtifactRead | https://docs.totem.ing/api/totemsdk-storage/interfaces/ArtifactRead | ArtifactRead # Interface: ArtifactRead ## Properties ### bytes? ArtifactRef | https://docs.totem.ing/api/totemsdk-storage/interfaces/ArtifactRef | ArtifactRef ArtifactStoreBackend | https://docs.totem.ing/api/totemsdk-storage/interfaces/ArtifactStoreBackend | ArtifactStoreBackend # Interface: ArtifactStoreBackend ## Properties ### capabilities > `readonly` **capabilities**: [`ArtifactBackendCapabilities`](ArtifactBackendCapabilities. CasStore | https://docs.totem.ing/api/totemsdk-storage/interfaces/CasStore | CasStore # Interface: CasStore ## Methods ### conditionalUpdate() > **conditionalUpdate**\<`T`\>(`key`, `update`): `Promise`\<[`ConditionalResult`](ConditionalResult. Codec | https://docs.totem.ing/api/totemsdk-storage/interfaces/Codec | Codec ConditionalResult | https://docs.totem.ing/api/totemsdk-storage/interfaces/ConditionalResult | ConditionalResult EnqueueReceipt | https://docs.totem.ing/api/totemsdk-storage/interfaces/EnqueueReceipt | EnqueueReceipt Journal | https://docs.totem.ing/api/totemsdk-storage/interfaces/Journal | Journal # Interface: Journal\ ## Type Parameters ### T `T` ## Methods ### append() > **append**(`record`): `Promise`\<[`JournalEntry`](JournalEntry. JournalEntry | https://docs.totem.ing/api/totemsdk-storage/interfaces/JournalEntry | JournalEntry # Interface: JournalEntry\ One immutable journal entry. JournalOptions | https://docs.totem.ing/api/totemsdk-storage/interfaces/JournalOptions | JournalOptions # Interface: JournalOptions\ ## Type Parameters ### T `T` ## Properties ### migrate? JournalRecoveryReport | https://docs.totem.ing/api/totemsdk-storage/interfaces/JournalRecoveryReport | JournalRecoveryReport # Interface: JournalRecoveryReport ## Properties ### gapAt > `readonly` **gapAt**: readonly `number`[] seqs missing below the contiguous tail — corruption the journal refuses. PutOptions | https://docs.totem.ing/api/totemsdk-storage/interfaces/PutOptions | PutOptions # Interface: PutOptions ## Properties ### metadata? PutReceipt | https://docs.totem.ing/api/totemsdk-storage/interfaces/PutReceipt | PutReceipt # Interface: PutReceipt ## Properties ### acknowledge > `readonly` **acknowledge**: `"volatile"` \| `"buffered"` \| `"durably-acknowledged"` *** ### ref > `readonly` **ref**: [`ArtifactRef`](ArtifactRef. RevisionedSnapshotStore | https://docs.totem.ing/api/totemsdk-storage/interfaces/RevisionedSnapshotStore | RevisionedSnapshotStore # Interface: RevisionedSnapshotStore\ ## Type Parameters ### T `T` ## Methods ### getRecord() > **getRecord**(): `Promise`\<[`SnapshotRecord`](SnapshotRecord. RevisionedSnapshotStoreOptions | https://docs.totem.ing/api/totemsdk-storage/interfaces/RevisionedSnapshotStoreOptions | RevisionedSnapshotStoreOptions # Interface: RevisionedSnapshotStoreOptions\ ## Type Parameters ### T `T` ## Properties ### empty > `readonly` **empty**: () => `T` Build a pristine state when no record exists. SnapshotRecord | https://docs.totem.ing/api/totemsdk-storage/interfaces/SnapshotRecord | SnapshotRecord # Interface: SnapshotRecord\ ## Type Parameters ### T `T` ## Properties ### revision > `readonly` **revision**: `number` Monotonic transition counter — advanced on every mutation. StorageAdapter | https://docs.totem.ing/api/totemsdk-storage/interfaces/StorageAdapter | StorageAdapter # Interface: StorageAdapter ## Extended by - [`StorageAdapterWithCapabilities`](StorageAdapterWithCapabilities. StorageAdapterWithCapabilities | https://docs.totem.ing/api/totemsdk-storage/interfaces/StorageAdapterWithCapabilities | StorageAdapterWithCapabilities # Interface: StorageAdapterWithCapabilities ## Extends - [`StorageAdapter`](StorageAdapter. StorageErrorDetails | https://docs.totem.ing/api/totemsdk-storage/interfaces/StorageErrorDetails | StorageErrorDetails # Interface: StorageErrorDetails ## Properties ### cause? StoreCapabilities | https://docs.totem.ing/api/totemsdk-storage/interfaces/StoreCapabilities | StoreCapabilities Transaction | https://docs.totem.ing/api/totemsdk-storage/interfaces/Transaction | Transaction TransactionalStore | https://docs.totem.ing/api/totemsdk-storage/interfaces/TransactionalStore | TransactionalStore # Interface: TransactionalStore ## Methods ### transaction() > **transaction**(): [`Transaction`](Transaction. ArtifactReadStatus | https://docs.totem.ing/api/totemsdk-storage/type-aliases/ArtifactReadStatus | ArtifactReadStatus ConditionalUpdateDecision | https://docs.totem.ing/api/totemsdk-storage/type-aliases/ConditionalUpdateDecision | ConditionalUpdateDecision ConditionalUpdater | https://docs.totem.ing/api/totemsdk-storage/type-aliases/ConditionalUpdater | ConditionalUpdater # Type Alias: ConditionalUpdater\ > **ConditionalUpdater**\<`T`\> = (`current`) => [`ConditionalUpdateDecision`](ConditionalUpdateDecision. FailurePolicy | https://docs.totem.ing/api/totemsdk-storage/type-aliases/FailurePolicy | FailurePolicy # Type Alias: FailurePolicy > **FailurePolicy** = *typeof* [`FailurePolicies`](. StorageErrorCode | https://docs.totem.ing/api/totemsdk-storage/type-aliases/StorageErrorCode | StorageErrorCode # Type Alias: StorageErrorCode > **StorageErrorCode** = *typeof* [`StorageErrorCodes`](. WriteAckMode | https://docs.totem.ing/api/totemsdk-storage/type-aliases/WriteAckMode | WriteAckMode # Type Alias: WriteAckMode > **WriteAckMode** = *typeof* [`WriteAckModes`](. ARTIFACT_DEFAULT_ALGORITHM | https://docs.totem.ing/api/totemsdk-storage/variables/ARTIFACT_DEFAULT_ALGORITHM | ARTIFACT_DEFAULT_ALGORITHM CODEC_MAGIC | https://docs.totem.ing/api/totemsdk-storage/variables/CODEC_MAGIC | CODEC_MAGIC CODEC_VERSION | https://docs.totem.ing/api/totemsdk-storage/variables/CODEC_VERSION | CODEC_VERSION FailurePolicies | https://docs.totem.ing/api/totemsdk-storage/variables/FailurePolicies | FailurePolicies JOURNAL_RECORD_VERSION | https://docs.totem.ing/api/totemsdk-storage/variables/JOURNAL_RECORD_VERSION | JOURNAL\_RECORD\_VERSION # Variable: JOURNAL\_RECORD\_VERSION > `const` **JOURNAL\_RECORD\_VERSION**: `2` = `2` Current entry format version. SNAPSHOT_RECORD_VERSION | https://docs.totem.ing/api/totemsdk-storage/variables/SNAPSHOT_RECORD_VERSION | SNAPSHOT\_RECORD\_VERSION # Variable: SNAPSHOT\_RECORD\_VERSION > `const` **SNAPSHOT\_RECORD\_VERSION**: `1` = `1` On-disk record version. StorageErrorCodes | https://docs.totem.ing/api/totemsdk-storage/variables/StorageErrorCodes | StorageErrorCodes WriteAckModes | https://docs.totem.ing/api/totemsdk-storage/variables/WriteAckModes | WriteAckModes codec | https://docs.totem.ing/api/totemsdk-storage/variables/codec | Variable: codec > `const` **codec**: [`Codec`](. ClosedTransportError | https://docs.totem.ing/api/totemsdk-stream-transport/classes/ClosedTransportError | ClosedTransportError # Class: ClosedTransportError Thrown by send() when the transport has been closed. HyperswarmStreamTransport | https://docs.totem.ing/api/totemsdk-stream-transport/classes/HyperswarmStreamTransport | HyperswarmStreamTransport # Class: HyperswarmStreamTransport Adapts a raw Hyperswarm connection (a Node. InMemoryTransport | https://docs.totem.ing/api/totemsdk-stream-transport/classes/InMemoryTransport | InMemoryTransport # Class: InMemoryTransport In-process bidirectional transport for use in unit tests and the contract suite. NodeStreamTransport | https://docs.totem.ing/api/totemsdk-stream-transport/classes/NodeStreamTransport | NodeStreamTransport # Class: NodeStreamTransport Wraps any Node. StdioStreamTransport | https://docs.totem.ing/api/totemsdk-stream-transport/classes/StdioStreamTransport | StdioStreamTransport # Class: StdioStreamTransport Canonical bidirectional byte-stream transport contract. WebRTCDataChannelTransport | https://docs.totem.ing/api/totemsdk-stream-transport/classes/WebRTCDataChannelTransport | WebRTCDataChannelTransport # Class: WebRTCDataChannelTransport Wraps an RTCDataChannel (browser WebRTC) as IStreamTransport. WebSocketTransport | https://docs.totem.ing/api/totemsdk-stream-transport/classes/WebSocketTransport | WebSocketTransport # Class: WebSocketTransport Wraps a browser or Node. broadcastTopic | https://docs.totem.ing/api/totemsdk-stream-transport/functions/broadcastTopic | Topic # Function: broadcastTopic() > **broadcastTopic**(`namespace`): `Buffer` 32-byte DHT topic for a broadcast namespace. channelTopic | https://docs.totem.ing/api/totemsdk-stream-transport/functions/channelTopic | Topic # Function: channelTopic() > **channelTopic**(`channelId`): `Buffer` 32-byte DHT topic for a specific payment channel. createHyperswarmTransport | https://docs.totem.ing/api/totemsdk-stream-transport/functions/createHyperswarmTransport | HyperswarmTransport # Function: createHyperswarmTransport() > **createHyperswarmTransport**(`config`): `Promise`\<[`HyperswarmStreamTransport`](. createInMemoryPair | https://docs.totem.ing/api/totemsdk-stream-transport/functions/createInMemoryPair | InMemoryPair # Function: createInMemoryPair() > **createInMemoryPair**(): \[[`InMemoryTransport`](. createWebSocketTransport | https://docs.totem.ing/api/totemsdk-stream-transport/functions/createWebSocketTransport | WebSocketTransport # Function: createWebSocketTransport() > **createWebSocketTransport**(`url`): `Promise`\<[`WebSocketTransport`](. peerTopic | https://docs.totem.ing/api/totemsdk-stream-transport/functions/peerTopic | Topic # Function: peerTopic() > **peerTopic**(`pubkey`): `Buffer` 32-byte DHT topic for a specific peer public key. HyperswarmTransportConfig | https://docs.totem.ing/api/totemsdk-stream-transport/interfaces/HyperswarmTransportConfig | HyperswarmTransportConfig # Interface: HyperswarmTransportConfig ## Properties ### joinOpts? IStreamTransport | https://docs.totem.ing/api/totemsdk-stream-transport/interfaces/IStreamTransport | IStreamTransport # Interface: IStreamTransport Canonical bidirectional byte-stream transport contract. StdioStreamTransportOptions | https://docs.totem.ing/api/totemsdk-stream-transport/interfaces/StdioStreamTransportOptions | StdioStreamTransportOptions # Interface: StdioStreamTransportOptions Adapts a Node. CloseHandler | https://docs.totem.ing/api/totemsdk-stream-transport/type-aliases/CloseHandler | CloseHandler DataHandler | https://docs.totem.ing/api/totemsdk-stream-transport/type-aliases/DataHandler | DataHandler ErrorHandler | https://docs.totem.ing/api/totemsdk-stream-transport/type-aliases/ErrorHandler | ErrorHandler TransportState | https://docs.totem.ing/api/totemsdk-stream-transport/type-aliases/TransportState | TransportState # Type Alias: TransportState > **TransportState** = `"connecting"` \| `"open"` \| `"closing"` \| `"closed"` @totemsdk/stream-transport Transport-layer abstractions for Totem SDK. CoinSelectionError | https://docs.totem.ing/api/totemsdk-tx-builder/classes/CoinSelectionError | CoinSelectionError # Class: CoinSelectionError ## Extends - `Error` ## Constructors ### Constructor > **new CoinSelectionError**(`message`, `code`, `details? CoinSelectionService | https://docs.totem.ing/api/totemsdk-tx-builder/classes/CoinSelectionService | CoinSelectionService # Class: CoinSelectionService ## Constructors ### Constructor > **new CoinSelectionService**(`fetcher`, `storage? MultisigManager | https://docs.totem.ing/api/totemsdk-tx-builder/classes/MultisigManager | MultisigManager # Class: MultisigManager ## Constructors ### Constructor > **new MultisigManager**(`storage? MultisigStorageError | https://docs.totem.ing/api/totemsdk-tx-builder/classes/MultisigStorageError | MultisigStorageError # Class: MultisigStorageError Local storage error so corruption is surfaced, never treated as absence. addDecimalStrings | https://docs.totem.ing/api/totemsdk-tx-builder/functions/addDecimalStrings | addDecimalStrings addDecimalStringsWasm | https://docs.totem.ing/api/totemsdk-tx-builder/functions/addDecimalStringsWasm | addDecimalStringsWasm addressFromPkDigest | https://docs.totem.ing/api/totemsdk-tx-builder/functions/addressFromPkDigest | FromPkDigest # Function: addressFromPkDigest() > **addressFromPkDigest**(`pkDigest32`): `string` Replicate Minima's SIGNEDBY-address derivation from a 32-byte WOTS pk digest: script = `RETURN SIGNEDBY(pkDigest)` → MMR leaf → Mx address. bigIntToDecimalString | https://docs.totem.ing/api/totemsdk-tx-builder/functions/bigIntToDecimalString | bigIntToDecimalString buildPoolFundTx | https://docs.totem.ing/api/totemsdk-tx-builder/functions/buildPoolFundTx | PoolFundTx # Function: buildPoolFundTx() > **buildPoolFundTx**(`params`): [`PoolFundBuildResult`](. compareDecimal | https://docs.totem.ing/api/totemsdk-tx-builder/functions/compareDecimal | compareDecimal compareDecimalWasm | https://docs.totem.ing/api/totemsdk-tx-builder/functions/compareDecimalWasm | compareDecimalWasm computeMultisigAddressWasm | https://docs.totem.ing/api/totemsdk-tx-builder/functions/computeMultisigAddressWasm | MultisigAddressWasm # Function: computeMultisigAddressWasm() > **computeMultisigAddressWasm**(`config`): `Promise`\<\{ `address`: `string`; `scriptHash`: `string`; \}\> ## Parameters ### config #### address? hashPoolFundTx | https://docs.totem.ing/api/totemsdk-tx-builder/functions/hashPoolFundTx | PoolFundTx # Function: hashPoolFundTx() > **hashPoolFundTx**(`tx`): `Uint8Array` ## Parameters ### tx [`PoolFundTx`](. isPositive | https://docs.totem.ing/api/totemsdk-tx-builder/functions/isPositive | isPositive isPositiveWasm | https://docs.totem.ing/api/totemsdk-tx-builder/functions/isPositiveWasm | isPositiveWasm orderCoinsByAmountWasm | https://docs.totem.ing/api/totemsdk-tx-builder/functions/orderCoinsByAmountWasm | CoinsByAmountWasm # Function: orderCoinsByAmountWasm() > **orderCoinsByAmountWasm**(`coins`): `Promise`\<[`SpendableCoin`](. parseDecimalToBigInt | https://docs.totem.ing/api/totemsdk-tx-builder/functions/parseDecimalToBigInt | parseDecimalToBigInt recomputeDigestWasm | https://docs.totem.ing/api/totemsdk-tx-builder/functions/recomputeDigestWasm | recomputeDigestWasm selectCoinsWasm | https://docs.totem.ing/api/totemsdk-tx-builder/functions/selectCoinsWasm | CoinsWasm # Function: selectCoinsWasm() > **selectCoinsWasm**(`coins`, `options`, `excludedAddresses? sha3_256_hexWasm | https://docs.totem.ing/api/totemsdk-tx-builder/functions/sha3_256_hexWasm | sha3_256_hexWasm subtractDecimalStrings | https://docs.totem.ing/api/totemsdk-tx-builder/functions/subtractDecimalStrings | subtractDecimalStrings subtractDecimalStringsWasm | https://docs.totem.ing/api/totemsdk-tx-builder/functions/subtractDecimalStringsWasm | subtractDecimalStringsWasm toProofHex | https://docs.totem.ing/api/totemsdk-tx-builder/functions/toProofHex | ProofHex # Function: toProofHex() > **toProofHex**(`proof`): `string` ## Parameters ### proof [`DeepFundingProof`](. verifyPoolFundTx | https://docs.totem.ing/api/totemsdk-tx-builder/functions/verifyPoolFundTx | PoolFundTx # Function: verifyPoolFundTx() > **verifyPoolFundTx**(`tx`, `proof`, `expectedPoolAddress? BuildPoolFundTxParams | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/BuildPoolFundTxParams | BuildPoolFundTxParams # Interface: BuildPoolFundTxParams ## Properties ### amount > **amount**: `string` *** ### fundingCoinId > **fundingCoinId**: `string` *** ### lpAddress > **lpAddress**: `string` *** ### lpKeyIndex? CoinFetcher | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/CoinFetcher | CoinFetcher # Interface: CoinFetcher ## Methods ### fetchCoins() > **fetchCoins**(`addresses`, `tokenId? CoinSelectionOptions | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/CoinSelectionOptions | CoinSelectionOptions # Interface: CoinSelectionOptions ## Properties ### excludedAddresses? CoinSelectionResult | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/CoinSelectionResult | CoinSelectionResult # Interface: CoinSelectionResult ## Properties ### change > **change**: `string` *** ### fromAddresses > **fromAddresses**: `string`[] *** ### insufficientFunds > **insufficientFunds**: `boolean` *** ### selectedCoins > **selectedCoins**: [`SpendableCoin`](SpendableCoin. DeepFundingProof | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/DeepFundingProof | DeepFundingProof EnhancedBuildParams | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/EnhancedBuildParams | EnhancedBuildParams # Interface: EnhancedBuildParams ## Properties ### inputs > **inputs**: [`EnhancedCoinInput`](EnhancedCoinInput. EnhancedCoinInput | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/EnhancedCoinInput | EnhancedCoinInput # Interface: EnhancedCoinInput ## Properties ### address > **address**: `string` *** ### amount > **amount**: `string` *** ### coinId > **coinId**: `string` *** ### coinProofHex? EnhancedCoinOutput | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/EnhancedCoinOutput | EnhancedCoinOutput # Interface: EnhancedCoinOutput ## Properties ### address > **address**: `string` *** ### amount > **amount**: `string` *** ### state? MultisigConfig | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/MultisigConfig | MultisigConfig # Interface: MultisigConfig ## Properties ### address? MultisigExportData | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/MultisigExportData | MultisigExportData # Interface: MultisigExportData ## Properties ### config > **config**: [`MultisigConfig`](MultisigConfig. PendingMultisigTransaction | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/PendingMultisigTransaction | PendingMultisigTransaction # Interface: PendingMultisigTransaction ## Properties ### config > **config**: [`MultisigConfig`](MultisigConfig. PoolFundBuildResult | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/PoolFundBuildResult | PoolFundBuildResult # Interface: PoolFundBuildResult ## Properties ### digest > **digest**: `Uint8Array` *** ### proof > **proof**: [`DeepFundingProof`](DeepFundingProof. PoolFundTx | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/PoolFundTx | PoolFundTx PoolFundVerification | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/PoolFundVerification | PoolFundVerification ScriptProofWitnessInput | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/ScriptProofWitnessInput | ScriptProofWitnessInput SignatureWitnessInput | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/SignatureWitnessInput | SignatureWitnessInput SpendableCoin | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/SpendableCoin | SpendableCoin StorageAdapter | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/StorageAdapter | StorageAdapter TokenProofWitnessInput | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/TokenProofWitnessInput | TokenProofWitnessInput TransactionWitnessDescriptor | https://docs.totem.ing/api/totemsdk-tx-builder/interfaces/TransactionWitnessDescriptor | TransactionWitnessDescriptor # Interface: TransactionWitnessDescriptor ## Properties ### scriptProofs? SendMode | https://docs.totem.ing/api/totemsdk-tx-builder/type-aliases/SendMode | SendMode StoragePort | https://docs.totem.ing/api/totemsdk-tx-builder/type-aliases/StoragePort | StoragePort # Type Alias: StoragePort > **StoragePort** = `Pick`\<[`StorageAdapter`](. POOL_FUND_DOMAIN | https://docs.totem.ing/api/totemsdk-tx-builder/variables/POOL_FUND_DOMAIN | POOL_FUND_DOMAIN assembleTxPoWEnvelope | https://docs.totem.ing/api/totemsdk-txpow/functions/assembleTxPoWEnvelope | TxPoWEnvelope # Function: assembleTxPoWEnvelope() > **assembleTxPoWEnvelope**(`headerBytes`, `bodyBytes`): `Uint8Array` Assemble the complete Minima TxPoW wire format: TxHeader | 0x01 (hasBody) | TxBody This is the representation required for network submission of a genuine L1 block candidate. buildBlockHeaderTail | https://docs.totem.ing/api/totemsdk-txpow/functions/buildBlockHeaderTail | BlockHeaderTail # Function: buildBlockHeaderTail() > **buildBlockHeaderTail**(`template`, `customHash`, `txBodyHash`): `Uint8Array` Build the TxHeader tail (everything after the nonce field) for a block candidate with the given customHash commitment. buildEmptyBlockBody | https://docs.totem.ing/api/totemsdk-txpow/functions/buildEmptyBlockBody | EmptyBlockBody # Function: buildEmptyBlockBody() > **buildEmptyBlockBody**(`prng`, `txnDifficulty`): `Uint8Array` Build the serialized TxBody for a fresh block candidate. buildEmptyBurnTxBytes | https://docs.totem.ing/api/totemsdk-txpow/functions/buildEmptyBurnTxBytes | EmptyBurnTxBytes # Function: buildEmptyBurnTxBytes() > **buildEmptyBurnTxBytes**(): `Uint8Array` Build the empty burn transaction bytes (TxBody. buildEmptyBurnWitnessBytes | https://docs.totem.ing/api/totemsdk-txpow/functions/buildEmptyBurnWitnessBytes | EmptyBurnWitnessBytes # Function: buildEmptyBurnWitnessBytes() > **buildEmptyBurnWitnessBytes**(): `Uint8Array` Build the empty burn witness bytes (TxBody. buildEmptyTransactionBytes | https://docs.totem.ing/api/totemsdk-txpow/functions/buildEmptyTransactionBytes | EmptyTransactionBytes # Function: buildEmptyTransactionBytes() > **buildEmptyTransactionBytes**(): `Uint8Array` Build the empty transaction bytes (TxBody. buildEmptyWitnessBytes | https://docs.totem.ing/api/totemsdk-txpow/functions/buildEmptyWitnessBytes | EmptyWitnessBytes # Function: buildEmptyWitnessBytes() > **buildEmptyWitnessBytes**(): `Uint8Array` Build the empty witness bytes (TxBody. buildHeaderTail | https://docs.totem.ing/api/totemsdk-txpow/functions/buildHeaderTail | HeaderTail # Function: buildHeaderTail() > **buildHeaderTail**(`txBodyHash`, `timeMilli`): `Uint8Array` Build the "header tail" — the part of TxHeader that follows mNonce. calibrateHashRate | https://docs.totem.ing/api/totemsdk-txpow/functions/calibrateHashRate | HashRate # Function: calibrateHashRate() > **calibrateHashRate**(): `Promise`\<`number`\> Run 100K trial SHA3-256 hashes and return the measured hash rate (hashes/sec). canonicalAction | https://docs.totem.ing/api/totemsdk-txpow/functions/canonicalAction | Action # Function: canonicalAction() > **canonicalAction**(`action`): `string` Canonical serialization of a MachineWorkAction. canonicalChallenge | https://docs.totem.ing/api/totemsdk-txpow/functions/canonicalChallenge | Challenge # Function: canonicalChallenge() > **canonicalChallenge**(`challenge`): `string` Canonical serialization of a WorkChallenge. challengeFingerprint | https://docs.totem.ing/api/totemsdk-txpow/functions/challengeFingerprint | Fingerprint # Function: challengeFingerprint() > **challengeFingerprint**(`challenge`): `string` Derive a stable challenge fingerprint (SHA3-256 of canonical challenge bytes). computeActionCommitment | https://docs.totem.ing/api/totemsdk-txpow/functions/computeActionCommitment | ActionCommitment # Function: computeActionCommitment() > **computeActionCommitment**(`action`, `challenge`): `string` Compute the canonical action commitment. computeBlockCandidateId | https://docs.totem.ing/api/totemsdk-txpow/functions/computeBlockCandidateId | BlockCandidateId # Function: computeBlockCandidateId() > **computeBlockCandidateId**(`headerBytes`): `Uint8Array` Compute the TxPoW ID for a mined block-candidate header. computeSuperLevel | https://docs.totem.ing/api/totemsdk-txpow/functions/computeSuperLevel | SuperLevel # Function: computeSuperLevel() > **computeSuperLevel**(`txpowId`, `blockDifficulty`): `number` Compute the Minima Super level for a TxPoW ID against a block difficulty, with Minima's exact integer semantics. computeTxPoWId | https://docs.totem.ing/api/totemsdk-txpow/functions/computeTxPoWId | TxPoWId # Function: computeTxPoWId() > **computeTxPoWId**(`headerBytes`): `Uint8Array` Compute TxPoW ID = SHA3-256(TxHeader bytes). createWorkChallenge | https://docs.totem.ing/api/totemsdk-txpow/functions/createWorkChallenge | WorkChallenge # Function: createWorkChallenge() > **createWorkChallenge**(`recipient`, `domain`, `target`, `options? estimateMiningCost | https://docs.totem.ing/api/totemsdk-txpow/functions/estimateMiningCost | MiningCost # Function: estimateMiningCost() > **estimateMiningCost**(`txnDifficulty`, `hashRatePerSec`): [`MiningEstimate`](. fetchTxPowTarget | https://docs.totem.ing/api/totemsdk-txpow/functions/fetchTxPowTarget | TxPowTarget # Function: fetchTxPowTarget() > **fetchTxPowTarget**(`axiaBaseUrl`, `timeoutMs? getBrowserWasmUrl | https://docs.totem.ing/api/totemsdk-txpow/functions/getBrowserWasmUrl | BrowserWasmUrl # Function: getBrowserWasmUrl() > **getBrowserWasmUrl**(): `string` \| `null` Return the current browser WASM URL, or null if not yet configured. isBlockWinner | https://docs.totem.ing/api/totemsdk-txpow/functions/isBlockWinner | BlockWinner # Function: isBlockWinner() > **isBlockWinner**(`txpowId`, `blockDifficulty`): `boolean` Check whether a txpowId beats the block target (i. isLessThan | https://docs.totem.ing/api/totemsdk-txpow/functions/isLessThan | LessThan # Function: isLessThan() > **isLessThan**(`a`, `b`): `boolean` Big-endian 256-bit comparison: true if a < b. isWasmAvailable | https://docs.totem.ing/api/totemsdk-txpow/functions/isWasmAvailable | WasmAvailable # Function: isWasmAvailable() > **isWasmAvailable**(): `Promise`\<`boolean`\> Returns true when the WASM binary is loaded and `mine` is ready to use. mineHeaderTail | https://docs.totem.ing/api/totemsdk-txpow/functions/mineHeaderTail | HeaderTail # Function: mineHeaderTail() > **mineHeaderTail**(`headerTail`, `target`, `options? mineTxPoW | https://docs.totem.ing/api/totemsdk-txpow/functions/mineTxPoW | TxPoW # Function: mineTxPoW() > **mineTxPoW**(`txBodyBytes`, `txnDifficulty`, `options? mineTxPoWInProcess | https://docs.totem.ing/api/totemsdk-txpow/functions/mineTxPoWInProcess | TxPoWInProcess # Function: mineTxPoWInProcess() > **mineTxPoWInProcess**(`txBodyBytes`, `txnDifficulty`, `options? mineWorkAdmission | https://docs.totem.ing/api/totemsdk-txpow/functions/mineWorkAdmission | WorkAdmission # Function: mineWorkAdmission() > **mineWorkAdmission**(`action`, `challenge`, `templateProvider`, `options? reconstructTxPoWEnvelope | https://docs.totem.ing/api/totemsdk-txpow/functions/reconstructTxPoWEnvelope | TxPoWEnvelope # Function: reconstructTxPoWEnvelope() > **reconstructTxPoWEnvelope**(`proofTemplate`, `headerBytes`, `prng`): `object` Reconstruct the complete Minima TxPoW envelope for a proof. serializeMagic | https://docs.totem.ing/api/totemsdk-txpow/functions/serializeMagic | serializeMagic serializeSuperParents | https://docs.totem.ing/api/totemsdk-txpow/functions/serializeSuperParents | SuperParents # Function: serializeSuperParents() > **serializeSuperParents**(`superParents`): `Uint8Array` Serialize the super-parent RLE runs per TxHeader. serializeTxBody | https://docs.totem.ing/api/totemsdk-txpow/functions/serializeTxBody | TxBody # Function: serializeTxBody() > **serializeTxBody**(`txBytes`, `witnessBytes`, `options? serializeTxHeader | https://docs.totem.ing/api/totemsdk-txpow/functions/serializeTxHeader | TxHeader # Function: serializeTxHeader() > **serializeTxHeader**(`txBodyHash`, `options? serializeTxPoW | https://docs.totem.ing/api/totemsdk-txpow/functions/serializeTxPoW | TxPoW # Function: serializeTxPoW() > **serializeTxPoW**(`txBytes`, `witnessBytes`, `options? setBrowserWorkerUrl | https://docs.totem.ing/api/totemsdk-txpow/functions/setBrowserWorkerUrl | BrowserWorkerUrl # Function: setBrowserWorkerUrl() > **setBrowserWorkerUrl**(`url`): `void` Configure the URL of the browser. setWasmUrl | https://docs.totem.ing/api/totemsdk-txpow/functions/setWasmUrl | WasmUrl # Function: setWasmUrl() > **setWasmUrl**(`url`): `void` Configure the URL from which the browser loads `miner. templateFreshness | https://docs.totem.ing/api/totemsdk-txpow/functions/templateFreshness | Freshness # Function: templateFreshness() > **templateFreshness**(`template`, `latest`, `options? validateWorkChallenge | https://docs.totem.ing/api/totemsdk-txpow/functions/validateWorkChallenge | WorkChallenge # Function: validateWorkChallenge() > **validateWorkChallenge**(`challenge`, `expected? verifyProofOfWork | https://docs.totem.ing/api/totemsdk-txpow/functions/verifyProofOfWork | ProofOfWork # Function: verifyProofOfWork() > **verifyProofOfWork**(`txpowId`, `mTxnDifficulty`): [`VerifyResult`](. verifyTxPoWParts | https://docs.totem.ing/api/totemsdk-txpow/functions/verifyTxPoWParts | TxPoWParts # Function: verifyTxPoWParts() > **verifyTxPoWParts**(`headerBytes`, `bodyBytes`): [`VerifyResult`](. verifyTxPoWWork | https://docs.totem.ing/api/totemsdk-txpow/functions/verifyTxPoWWork | TxPoWWork # Function: verifyTxPoWWork() > **verifyTxPoWWork**(`txpowHex`): [`VerifyResult`](. verifyWorkAdmission | https://docs.totem.ing/api/totemsdk-txpow/functions/verifyWorkAdmission | WorkAdmission # Function: verifyWorkAdmission() > **verifyWorkAdmission**(`action`, `challenge`, `proof`, `templateProvider? MachineWorkAction | https://docs.totem.ing/api/totemsdk-txpow/interfaces/MachineWorkAction | MachineWorkAction # Interface: MachineWorkAction The application action, represented in a generic domain-separated form. MachineWorkAdmissionProof | https://docs.totem.ing/api/totemsdk-txpow/interfaces/MachineWorkAdmissionProof | MachineWorkAdmissionProof # Interface: MachineWorkAdmissionProof The mined Machine Work Admission proof. MineOptions | https://docs.totem.ing/api/totemsdk-txpow/interfaces/MineOptions | MineOptions # Interface: MineOptions ## Properties ### chunkSize? MineResult | https://docs.totem.ing/api/totemsdk-txpow/interfaces/MineResult | MineResult # Interface: MineResult ## Properties ### elapsedMs > **elapsedMs**: `number` *** ### minedHeaderBytes > **minedHeaderBytes**: `Uint8Array` Fully serialized TxHeader bytes with the winning nonce. MineWorkAdmissionOptions | https://docs.totem.ing/api/totemsdk-txpow/interfaces/MineWorkAdmissionOptions | MineWorkAdmissionOptions # Interface: MineWorkAdmissionOptions ## Properties ### \_skipWorker? MinimaWorkRelay | https://docs.totem.ing/api/totemsdk-txpow/interfaces/MinimaWorkRelay | MinimaWorkRelay # Interface: MinimaWorkRelay Relay boundary for a complete Minima TxPoW envelope. MinimaWorkTemplate | https://docs.totem.ing/api/totemsdk-txpow/interfaces/MinimaWorkTemplate | MinimaWorkTemplate # Interface: MinimaWorkTemplate A Minima block-candidate work template. MinimaWorkTemplateProvider | https://docs.totem.ing/api/totemsdk-txpow/interfaces/MinimaWorkTemplateProvider | MinimaWorkTemplateProvider # Interface: MinimaWorkTemplateProvider Provider abstraction for the current Minima block-candidate template. MiningEstimate | https://docs.totem.ing/api/totemsdk-txpow/interfaces/MiningEstimate | MiningEstimate TxBodyOptions | https://docs.totem.ing/api/totemsdk-txpow/interfaces/TxBodyOptions | TxBodyOptions # Interface: TxBodyOptions @totemsdk/txpow TxPoW envelope serialization and proof-of-work mining for the Minima protocol. TxHeaderOptions | https://docs.totem.ing/api/totemsdk-txpow/interfaces/TxHeaderOptions | TxHeaderOptions # Interface: TxHeaderOptions @totemsdk/txpow TxPoW envelope serialization and proof-of-work mining for the Minima protocol. TxPowParams | https://docs.totem.ing/api/totemsdk-txpow/interfaces/TxPowParams | TxPowParams VerifyResult | https://docs.totem.ing/api/totemsdk-txpow/interfaces/VerifyResult | VerifyResult # Interface: VerifyResult ## Properties ### difficulty > **difficulty**: `string` *** ### reason? VerifyWorkAdmissionOptions | https://docs.totem.ing/api/totemsdk-txpow/interfaces/VerifyWorkAdmissionOptions | VerifyWorkAdmissionOptions # Interface: VerifyWorkAdmissionOptions ## Properties ### admissionWindowMs? WorkAdmissionVerification | https://docs.totem.ing/api/totemsdk-txpow/interfaces/WorkAdmissionVerification | WorkAdmissionVerification # Interface: WorkAdmissionVerification Result of verifying a Machine Work Admission proof. WorkChallenge | https://docs.totem.ing/api/totemsdk-txpow/interfaces/WorkChallenge | WorkChallenge # Interface: WorkChallenge The receiver controls the admission requirement. TxPoWOptions | https://docs.totem.ing/api/totemsdk-txpow/type-aliases/TxPoWOptions | TxPoWOptions # Type Alias: TxPoWOptions > **TxPoWOptions** = [`TxHeaderOptions`](. CASCADE_LEVELS | https://docs.totem.ing/api/totemsdk-txpow/variables/CASCADE_LEVELS | CASCADE\_LEVELS # Variable: CASCADE\_LEVELS > `const` **CASCADE\_LEVELS**: `32` = `32` constants. DEFAULT_CHALLENGE_TTL_MS | https://docs.totem.ing/api/totemsdk-txpow/variables/DEFAULT_CHALLENGE_TTL_MS | DEFAULT\_CHALLENGE\_TTL\_MS # Variable: DEFAULT\_CHALLENGE\_TTL\_MS > `const` **DEFAULT\_CHALLENGE\_TTL\_MS**: `number` Default challenge lifetime: 5 minutes. MACHINE_WORK_ADMISSION_VERSION | https://docs.totem.ing/api/totemsdk-txpow/variables/MACHINE_WORK_ADMISSION_VERSION | MACHINE\_WORK\_ADMISSION\_VERSION # Variable: MACHINE\_WORK\_ADMISSION\_VERSION > `const` **MACHINE\_WORK\_ADMISSION\_VERSION**: `1` = `1` Current Machine Work Admission protocol version. MACHINE_WORK_DOMAIN | https://docs.totem.ing/api/totemsdk-txpow/variables/MACHINE_WORK_DOMAIN | MACHINE\_WORK\_DOMAIN # Variable: MACHINE\_WORK\_DOMAIN > `const` **MACHINE\_WORK\_DOMAIN**: `"totem. MAIN_NET_CHAIN_ID | https://docs.totem.ing/api/totemsdk-txpow/variables/MAIN_NET_CHAIN_ID | MAIN_NET_CHAIN_ID MAX_CHALLENGE_TTL_MS | https://docs.totem.ing/api/totemsdk-txpow/variables/MAX_CHALLENGE_TTL_MS | MAX\_CHALLENGE\_TTL\_MS # Variable: MAX\_CHALLENGE\_TTL\_MS > `const` **MAX\_CHALLENGE\_TTL\_MS**: `number` Maximum challenge lifetime: 24 hours. MAX_HASH | https://docs.totem.ing/api/totemsdk-txpow/variables/MAX_HASH | MAX_HASH TX_POW_MIN_DIFFICULTY | https://docs.totem.ing/api/totemsdk-txpow/variables/TX_POW_MIN_DIFFICULTY | TX\_POW\_MIN\_DIFFICULTY # Variable: TX\_POW\_MIN\_DIFFICULTY > `const` **TX\_POW\_MIN\_DIFFICULTY**: `Uint8Array` TX_POW_MIN_DIFFICULTY = floor((2^256 - 1) / 1_000_000) This is the hardcoded floor constant matching Magic. ZERO_HASH | https://docs.totem.ing/api/totemsdk-txpow/variables/ZERO_HASH | ZERO_HASH TotemAdapterError | https://docs.totem.ing/api/totemsdk-wallet-adapter/classes/TotemAdapterError | TotemAdapterError # Class: TotemAdapterError ## Extends - `Error` ## Constructors ### Constructor > **new TotemAdapterError**(`message`, `code? TotemWalletAdapter | https://docs.totem.ing/api/totemsdk-wallet-adapter/classes/TotemWalletAdapter | TotemWalletAdapter # Abstract Class: TotemWalletAdapter Abstract base class for third-party Totem-compatible wallets. AccountEntry | https://docs.totem.ing/api/totemsdk-wallet-adapter/interfaces/AccountEntry | AccountEntry # Interface: AccountEntry ## Properties ### address > **address**: `string` *** ### addressIndex > **addressIndex**: `number` *** ### balance? AdapterProvider | https://docs.totem.ing/api/totemsdk-wallet-adapter/interfaces/AdapterProvider | AdapterProvider # Interface: AdapterProvider ## Properties ### isTotem > **isTotem**: `true` ## Methods ### on() > **on**(`event`, `callback`): `void` #### Parameters ##### event `string` ##### callback (. ChainProviderLike | https://docs.totem.ing/api/totemsdk-wallet-adapter/interfaces/ChainProviderLike | ChainProviderLike # Interface: ChainProviderLike ## Methods ### broadcastTxPoW() > **broadcastTxPoW**(`txpowHex`): `Promise`\<\{ `message? ConnectResponse | https://docs.totem.ing/api/totemsdk-wallet-adapter/interfaces/ConnectResponse | ConnectResponse # Interface: ConnectResponse ## Properties ### address > **address**: `string` *** ### addressIndex > **addressIndex**: `number` *** ### connected > **connected**: `true` *** ### isReconnect? DisconnectResponse | https://docs.totem.ing/api/totemsdk-wallet-adapter/interfaces/DisconnectResponse | DisconnectResponse # Interface: DisconnectResponse ## Properties ### error? GetAccountsResponse | https://docs.totem.ing/api/totemsdk-wallet-adapter/interfaces/GetAccountsResponse | GetAccountsResponse # Interface: GetAccountsResponse ## Properties ### accounts > **accounts**: [`AccountEntry`](AccountEntry. SignDataParams | https://docs.totem.ing/api/totemsdk-wallet-adapter/interfaces/SignDataParams | SignDataParams # Interface: SignDataParams ## Properties ### inputAddresses > **inputAddresses**: `string`[] *** ### inputIndices? SignDataResponse | https://docs.totem.ing/api/totemsdk-wallet-adapter/interfaces/SignDataResponse | SignDataResponse # Interface: SignDataResponse ## Properties ### error? SignTransactionParams | https://docs.totem.ing/api/totemsdk-wallet-adapter/interfaces/SignTransactionParams | SignTransactionParams # Interface: SignTransactionParams ## Properties ### inputAddresses > **inputAddresses**: `string`[] *** ### inputIndices? SignTransactionResponse | https://docs.totem.ing/api/totemsdk-wallet-adapter/interfaces/SignTransactionResponse | SignTransactionResponse # Interface: SignTransactionResponse ## Properties ### error? VerifyResponse | https://docs.totem.ing/api/totemsdk-wallet-adapter/interfaces/VerifyResponse | VerifyResponse # Interface: VerifyResponse ## Properties ### address > **address**: `string` *** ### expiresAt > **expiresAt**: `number` *** ### message > **message**: `string` *** ### publicKey > **publicKey**: `string` *** ### sessionExpiresAt? WalletAdapterConfig | https://docs.totem.ing/api/totemsdk-wallet-adapter/interfaces/WalletAdapterConfig | WalletAdapterConfig # Interface: WalletAdapterConfig ## Properties ### capabilities? WalletCapabilities | https://docs.totem.ing/api/totemsdk-wallet-adapter/interfaces/WalletCapabilities | WalletCapabilities WalletInfo | https://docs.totem.ing/api/totemsdk-wallet-adapter/interfaces/WalletInfo | WalletInfo # Interface: WalletInfo ## Properties ### icon? ChainProviderFactory | https://docs.totem.ing/api/totemsdk-wallet-adapter/type-aliases/ChainProviderFactory | ChainProviderFactory # Type Alias: ChainProviderFactory > **ChainProviderFactory** = (`providerType`, `rpcEndpoint? AxiaLeaseProvider | https://docs.totem.ing/api/totemsdk-wots-lease/classes/AxiaLeaseProvider | AxiaLeaseProvider # Class: AxiaLeaseProvider ## Implements - [`WotsLeaseProvider`](. DeviceRangeViolationError | https://docs.totem.ing/api/totemsdk-wots-lease/classes/DeviceRangeViolationError | DeviceRangeViolationError # Class: DeviceRangeViolationError ## Extends - `Error` ## Constructors ### Constructor > **new DeviceRangeViolationError**(`addressIndex`, `allowedStart`, `allowedEnd`): `DeviceRangeViolationError` #### Parameters ##### addressIndex `number` ##### allowedStart `number` ##### allowedEnd `number` #### Returns `DeviceRangeViolationError` #### Overrides `Error. HybridLeaseProvider | https://docs.totem.ing/api/totemsdk-wots-lease/classes/HybridLeaseProvider | HybridLeaseProvider # Class: HybridLeaseProvider ## Implements - [`WotsLeaseProvider`](. IndicesUnavailableError | https://docs.totem.ing/api/totemsdk-wots-lease/classes/IndicesUnavailableError | IndicesUnavailableError # Class: IndicesUnavailableError ## Extends - `Error` ## Constructors ### Constructor > **new IndicesUnavailableError**(`treeId`, `indices`): `IndicesUnavailableError` #### Parameters ##### treeId `string` ##### indices [`SigningIndices`](. LeaseJournal | https://docs.totem.ing/api/totemsdk-wots-lease/classes/LeaseJournal | LeaseJournal # Class: LeaseJournal ## Constructors ### Constructor > **new LeaseJournal**(`storage`, `logger? LeaseNotFoundError | https://docs.totem.ing/api/totemsdk-wots-lease/classes/LeaseNotFoundError | LeaseNotFoundError # Class: LeaseNotFoundError ## Extends - `Error` ## Constructors ### Constructor > **new LeaseNotFoundError**(`reservationId`): `LeaseNotFoundError` #### Parameters ##### reservationId `string` #### Returns `LeaseNotFoundError` #### Overrides `Error. LocalLeaseProvider | https://docs.totem.ing/api/totemsdk-wots-lease/classes/LocalLeaseProvider | LocalLeaseProvider # Class: LocalLeaseProvider ## Implements - [`WotsLeaseProvider`](. OnchainWatermarkError | https://docs.totem.ing/api/totemsdk-wots-lease/classes/OnchainWatermarkError | OnchainWatermarkError # Class: OnchainWatermarkError ## Extends - `Error` ## Constructors ### Constructor > **new OnchainWatermarkError**(`message`): `OnchainWatermarkError` #### Parameters ##### message `string` #### Returns `OnchainWatermarkError` #### Overrides `Error. OnchainWatermarkNotImplementedError | https://docs.totem.ing/api/totemsdk-wots-lease/classes/OnchainWatermarkNotImplementedError | OnchainWatermarkNotImplementedError # Class: OnchainWatermarkNotImplementedError ## Extends - `Error` ## Constructors ### Constructor > **new OnchainWatermarkNotImplementedError**(): `OnchainWatermarkNotImplementedError` #### Returns `OnchainWatermarkNotImplementedError` #### Overrides `Error. OnchainWatermarkProvider | https://docs.totem.ing/api/totemsdk-wots-lease/classes/OnchainWatermarkProvider | OnchainWatermarkProvider # Class: OnchainWatermarkProvider ## Implements - [`WotsLeaseProvider`](. P2PQuorumLeaseProvider | https://docs.totem.ing/api/totemsdk-wots-lease/classes/P2PQuorumLeaseProvider | P2PQuorumLeaseProvider # Class: P2PQuorumLeaseProvider ## Implements - [`WotsLeaseProvider`](. P2PQuorumNotImplementedError | https://docs.totem.ing/api/totemsdk-wots-lease/classes/P2PQuorumNotImplementedError | P2PQuorumNotImplementedError # Class: P2PQuorumNotImplementedError ## Extends - `Error` ## Constructors ### Constructor > **new P2PQuorumNotImplementedError**(): `P2PQuorumNotImplementedError` #### Returns `P2PQuorumNotImplementedError` #### Overrides `Error. PersonalLeaseNodeNotConfiguredError | https://docs.totem.ing/api/totemsdk-wots-lease/classes/PersonalLeaseNodeNotConfiguredError | PersonalLeaseNodeNotConfiguredError # Class: PersonalLeaseNodeNotConfiguredError ## Extends - `Error` ## Constructors ### Constructor > **new PersonalLeaseNodeNotConfiguredError**(): `PersonalLeaseNodeNotConfiguredError` #### Returns `PersonalLeaseNodeNotConfiguredError` #### Overrides `Error. PersonalLeaseNodeProvider | https://docs.totem.ing/api/totemsdk-wots-lease/classes/PersonalLeaseNodeProvider | PersonalLeaseNodeProvider # Class: PersonalLeaseNodeProvider Layer 3 — personal lookup-node lease coordinator. QuorumConflictError | https://docs.totem.ing/api/totemsdk-wots-lease/classes/QuorumConflictError | QuorumConflictError # Class: QuorumConflictError ## Extends - `Error` ## Constructors ### Constructor > **new QuorumConflictError**(`treeId`, `indices`): `QuorumConflictError` #### Parameters ##### treeId `string` ##### indices [`SigningIndices`](. QuorumUnavailableError | https://docs.totem.ing/api/totemsdk-wots-lease/classes/QuorumUnavailableError | QuorumUnavailableError # Class: QuorumUnavailableError ## Extends - `Error` ## Constructors ### Constructor > **new QuorumUnavailableError**(`required`, `available`): `QuorumUnavailableError` #### Parameters ##### required `number` ##### available `number` #### Returns `QuorumUnavailableError` #### Overrides `Error. WatermarkExhaustedError | https://docs.totem.ing/api/totemsdk-wots-lease/classes/WatermarkExhaustedError | WatermarkExhaustedError # Class: WatermarkExhaustedError ## Extends - `Error` ## Constructors ### Constructor > **new WatermarkExhaustedError**(`treeId`): `WatermarkExhaustedError` #### Parameters ##### treeId `string` #### Returns `WatermarkExhaustedError` #### Overrides `Error. WatermarkMonotonicityError | https://docs.totem.ing/api/totemsdk-wots-lease/classes/WatermarkMonotonicityError | WatermarkMonotonicityError # Class: WatermarkMonotonicityError ## Extends - `Error` ## Constructors ### Constructor > **new WatermarkMonotonicityError**(`message`): `WatermarkMonotonicityError` #### Parameters ##### message `string` #### Returns `WatermarkMonotonicityError` #### Overrides `Error. WotsWatermarkStore | https://docs.totem.ing/api/totemsdk-wots-lease/classes/WotsWatermarkStore | WotsWatermarkStore # Class: WotsWatermarkStore ## Constructors ### Constructor > **new WotsWatermarkStore**(`storage`, `logger? allocateDeviceRange | https://docs.totem.ing/api/totemsdk-wots-lease/functions/allocateDeviceRange | DeviceRange # Function: allocateDeviceRange() > **allocateDeviceRange**(`params`): [`DeviceKeyRange`](. deviceSlotForAddressIndex | https://docs.totem.ing/api/totemsdk-wots-lease/functions/deviceSlotForAddressIndex | deviceSlotForAddressIndex flatIndex | https://docs.totem.ing/api/totemsdk-wots-lease/functions/flatIndex | Index # Function: flatIndex() > **flatIndex**(`idx`): `number` ## Parameters ### idx [`SigningIndices`](. fromFlatIndex | https://docs.totem.ing/api/totemsdk-wots-lease/functions/fromFlatIndex | FlatIndex # Function: fromFlatIndex() > **fromFlatIndex**(`flat`): [`SigningIndices`](. AxiaLeaseProviderConfig | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/AxiaLeaseProviderConfig | AxiaLeaseProviderConfig # Interface: AxiaLeaseProviderConfig ## Properties ### apiKey > **apiKey**: `string` *** ### apiUrl > **apiUrl**: `string` *** ### logger? CertificateSigner | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/CertificateSigner | CertificateSigner # Interface: CertificateSigner Identity used to authenticate lease certificates (Layer 4/5). ConflictRecord | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/ConflictRecord | ConflictRecord DeviceKeyRange | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/DeviceKeyRange | DeviceKeyRange HybridLeaseProviderConfig | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/HybridLeaseProviderConfig | HybridLeaseProviderConfig # Interface: HybridLeaseProviderConfig ## Properties ### certificateSigner? JournalEntry | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/JournalEntry | JournalEntry # Interface: JournalEntry ## Properties ### branchId > **branchId**: `string` *** ### deviceId > **deviceId**: `string` *** ### hash? LeaseCertificate | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/LeaseCertificate | LeaseCertificate # Interface: LeaseCertificate ## Properties ### attestations? LeaseReservation | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/LeaseReservation | LeaseReservation # Interface: LeaseReservation ## Properties ### certificate? LocalWatermark | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/LocalWatermark | LocalWatermark # Interface: LocalWatermark ## Properties ### addressCursor > **addressCursor**: `number` *** ### capacity > **capacity**: `number` *** ### l1Cursor > **l1Cursor**: `number` *** ### l2Cursor > **l2Cursor**: `number` *** ### lastSyncTimestamp? OnchainWatermarkProviderConfig | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/OnchainWatermarkProviderConfig | OnchainWatermarkProviderConfig # Interface: OnchainWatermarkProviderConfig Layer 5 — on-chain watermark anchoring. P2PQuorumLeaseProviderConfig | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/P2PQuorumLeaseProviderConfig | P2PQuorumLeaseProviderConfig # Interface: P2PQuorumLeaseProviderConfig ## Properties ### certificateSigner? PersonalLeaseNodeConfig | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/PersonalLeaseNodeConfig | PersonalLeaseNodeConfig # Interface: PersonalLeaseNodeConfig ## Properties ### authToken? QuorumAttestation | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/QuorumAttestation | QuorumAttestation # Interface: QuorumAttestation ## Properties ### expiresAt > **expiresAt**: `number` *** ### indices > **indices**: [`SigningIndices`](SigningIndices. QuorumPeer | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/QuorumPeer | QuorumPeer # Interface: QuorumPeer Layer 4 — P2P quorum lease coordination. ReserveParams | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/ReserveParams | ReserveParams # Interface: ReserveParams ## Properties ### branchId? SigningIndices | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/SigningIndices | SigningIndices SyncResult | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/SyncResult | SyncResult # Interface: SyncResult ## Properties ### advancedTo? TreeWatermark | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/TreeWatermark | TreeWatermark # Interface: TreeWatermark ## Properties ### addressCursor > **addressCursor**: `number` *** ### branchId? WotsLeaseProvider | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/WotsLeaseProvider | WotsLeaseProvider # Interface: WotsLeaseProvider ## Methods ### burnReservation() > **burnReservation**(`reservationId`, `reason`): `Promise`\<`void`\> #### Parameters ##### reservationId `string` ##### reason `string` #### Returns `Promise`\<`void`\> *** ### commitKeyUse() > **commitKeyUse**(`reservationId`, `txId`): `Promise`\<`void`\> #### Parameters ##### reservationId `string` ##### txId `string` #### Returns `Promise`\<`void`\> *** ### getLocalWatermark() > **getLocalWatermark**(`treeId`): `Promise`\<[`LocalWatermark`](LocalWatermark. WotsWatermarkState | https://docs.totem.ing/api/totemsdk-wots-lease/interfaces/WotsWatermarkState | WotsWatermarkState # Interface: WotsWatermarkState ## Properties ### trees > **trees**: `Record`\<`string`, [`TreeWatermark`](TreeWatermark. LeaseStatus | https://docs.totem.ing/api/totemsdk-wots-lease/type-aliases/LeaseStatus | LeaseStatus UnavailableReason | https://docs.totem.ing/api/totemsdk-wots-lease/type-aliases/UnavailableReason | UnavailableReason Local Edge AI Overview | https://docs.totem.ing/concepts/intelligence-overview | How Totem runs on-device AI inference — provider-neutral intelligence contracts, the QVAC adapter, capability-gated dispatch, and usage receipts — without ever letting inference machinery touch keys. TypeScript Configuration | https://docs.totem.ing/guides/typescript-configuration | Required tsconfig.json settings when using @totemsdk packages in a TypeScript project.