Build SAP x402 Headers From Escrow
sap_x402_build_headers_from_escrowFetch escrow data for an agent wallet and build SAP x402 HTTP headers for payment settlement.
Instructions
Build SAP x402 HTTP headers by fetching escrow data for an agent wallet with SDK X402Registry.buildPaymentHeadersFromEscrow. SAP MCP context: Payment and settlement flow. Estimate or fetch state before creating escrows or settling calls; write operations require an enabled signer mode and MCP policy approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | No | Optional escrow nonce as a decimal string. Defaults to 0. | |
| network | No | Optional network identifier for X-Payment-Network | |
| agentWallet | No | Agent wallet public key (base58) |
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. |