Typescript (SDK)
Escrow
Create a time-locked escrow
Create a new time-locked escrow for agent-to-agent transactions on a specific chain. Funds are held until released by receipt verification or timed out.
POST
Typescript (SDK)
Authorizations
Lucid API key (lk_live_... or lk_test_...)
Body
application/json
Chain identifier (e.g. 'base', 'ethereum-sepolia')
Beneficiary address
ERC-20 token address
Amount in token base units
Escrow duration in seconds
Optional expected receipt hash for auto-release
Response
Escrow created
.png?fit=max&auto=format&n=VsjUqn6fLqEhBiuI&q=85&s=8b4c7e6431e9a6af1ef23b77bb4ff5fd)
.png?fit=max&auto=format&n=VsjUqn6fLqEhBiuI&q=85&s=d5651a45e4bfbabc33f74e146af3f94a)