Zap-v2 Escrow Status
zap_statusGet the decoded zap-v2 escrow for a (vault, user) from the live API (GET /vaults/:address/zap-v2/status/:user), or null if none is open. Shows mode (0=deposit,1=redeem), per-leg crank progress (legsFilled/legsTotal), readyToClose, expiry, and per-leg failure reasons. Omit user to inspect assigned app wallet, including its existing escrows after revoke. A configured external keypair does not change escrow ownership. AUTH never permits an unrelated wallet. On this remote server it reads the account of the read-only dfm_ key you connect with (Authorization: Bearer dfm_… header); without a key it answers how to connect one. user is required and must be that key’s own wallet.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"vault": "<vault>"
},
"name": "zap_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | ||
| vault | Yes | ||
| escrowSlot | No | Escrow slot 0-7 (from zap_status). A wallet can hold several escrows per fund; omit for the oldest open one. |