Skip to main content

Module lock

Module lock 

Source
Expand description

Composable Lock and Capture message types (TAIP-17).

TAIP-17 was renamed from “Escrow” to “Lock” in the May 2026 spec advance to Review. The body shape is unchanged: a Lock requests an agent to hold assets on behalf of one party for the benefit of another, and Capture authorises the release of those assets to the beneficiary. The role string EscrowAgent is preserved by the spec and continues to identify the agent holding funds.

Escrow is kept as a type alias for Lock to avoid breaking downstream callers; on-the-wire messages bearing the legacy #Escrow type URI are still accepted by the dispatcher in crate::message::tap_message_enum.

Structs§

Capture
Capture message for releasing locked funds (TAIP-17).
Lock
Lock message for holding assets on behalf of parties (TAIP-17).

Type Aliases§

Escrow
Backward-compatible alias for the renamed Lock message.