Build SAP Escrow V2 Deposit Transaction
sap_escrow_build_deposit_transactionBuild an unsigned deposit transaction to add funds to an existing V2 escrow. Preview it, then finalize locally.
Instructions
Hosted-safe unsigned builder for deposit_escrow_v2. Use this when a hosted workflow needs to add funds to an existing V2 escrow, then finalize locally with sap_payments_finalize_transaction. SAP MCP context: Hosted-safe unsigned Escrow V2 builder. The output is not submitted and is not signed by hosted SAP MCP. Preview it, then call local sap_payments_finalize_transaction with submit:true and confirm:true. Never create temporary signing scripts or read keypair JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | No | Optional escrow nonce as a decimal string. Defaults to 0. | |
| amount | No | Deposit amount as a decimal string. Amount in the escrow token smallest unit: lamports for SOL, micro-USDC for USDC, or base units for the configured SPL token. | |
| agentWallet | No | Agent owner wallet public key (base58). The escrow PDA is derived from agentWallet, depositorWallet, and nonce. | |
| depositorWallet | No | Depositor wallet public key (base58). This wallet signs locally and provides the additional escrow funds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | MCP content blocks returned to the caller. | |
| isError | No | True when the tool result represents an application-level error. |