Build SAP Escrow V2 Finalize Transaction
sap_escrow_build_finalize_transactionBuild an unsigned transaction to finalize a pending escrow settlement after the dispute window has elapsed, allowing any payer wallet to sign and submit for fee payment.
Instructions
Hosted-safe unsigned builder for finalize_settlement. Use after the dispute window has elapsed and a pending settlement exists; any payerWallet can locally sign to crank finalization. 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. | |
| agentWallet | No | Agent owner wallet public key (base58). | |
| payerWallet | No | Wallet public key (base58) that signs and pays transaction fees to finalize the pending settlement. | |
| depositorWallet | No | Depositor wallet public key (base58). | |
| settlementIndex | No | Pending settlement index as a decimal string. |
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. |