Skip to content
1 viewer
View

Escrow reference

0 pages, 5 routes, 5 connections and 5 CLI commands, generated from the declarations of Escrow without reading storage or running anything.

AboutCode

Code · 0 files

No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.

Connections · 5

Escrow.Get

Fetch one escrow by id.

Escrow.Get input
FieldTypeRequiredDescriptionAllowed
escrow_idrequired
1 row
Calls and output

Escrow.List

List escrows with optional depositor / beneficiary filters.

Calls and output

Escrow.Lock

Lock `amount` of `asset_id` from the depositor under a typed ReleaseCondition (manual / time_lock / proof_gated). Fires `escrow.lock.v1` → Reserve{ref_id=escrow_id}.

Escrow.Lock input
FieldTypeRequiredDescriptionAllowed
depositorrequired
beneficiaryrequired
asset_idrequired
amountrequired
conditionrequired
5 rows
Calls and output

Escrow.Refund

Return escrowed funds to the depositor (cancel / expiry / condition failed). Fires `escrow.refund.v1` → Release{ref_id=escrow_id}.

Escrow.Refund input
FieldTypeRequiredDescriptionAllowed
escrow_idrequired
1 row
Calls and output

Escrow.Release

Release escrowed funds to the beneficiary IFF the ReleaseCondition holds (evaluated against an optional approver / presented witness / now). Fires a single `escrow.settle.v1` (atomic Settle: reserved → beneficiary). Returns the failure reason if the condition is unmet.

Escrow.Release input
FieldTypeRequiredDescriptionAllowed
escrow_idrequired
1 row
Calls and output

CLI commands · 5

escrow get

Fetch one escrow by id

escrow get {"escrow_id":"escrow-..."}

escrow list

List escrows with optional depositor / beneficiary filters

escrow list
escrow list
escrow list {"depositor_filter":"alice"}

escrow lock

Lock asset units under a release condition

escrow lock {"depositor":"alice","beneficiary":"bob","asset_id":"cre8/x","amount":100,"condition":{"kind":"time_lock","release_after_ts_ms":1735689600000}}

escrow refund

Return escrowed funds to the depositor

escrow refund {"escrow_id":"escrow-..."}

escrow release

Release escrowed funds to the beneficiary if the condition holds

escrow release {"escrow_id":"escrow-...","witness":{"witness_id":"stark:...","target_sha256":"..."}}

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authorityhyper
  • Preferred truthhyper
  • App ownerEscrow
  • SQL projectionnone · DDL declarations: 0
Hyper vertex kinds read
  • Escrow
Hyper vertex kinds written
  • Escrow
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • No model warnings were reported.

Capabilities and dependencies

Depends on
  • Protocol