sap_fetch_escrow_v2
Fetch a V2 escrow using its PDA, or retrieve by agent PDA, depositor, and nonce when escrow PDA is unknown.
Instructions
Fetch a V2 escrow by escrow PDA, or by agent PDA, depositor, and nonce.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | No | Escrow nonce (default: 0) — used with agentPda and depositor | |
| agentPda | No | Agent PDA (base58) — used when escrowPda is omitted | |
| depositor | No | Optional depositor wallet (base58) to filter by | |
| escrowPda | No | Escrow V2 PDA (base58) to fetch directly |