Settle SAP x402 Calls
sap_x402_settleSettle served x402 calls through SDK X402Registry.settle. Must be called by the agent owner wallet. 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.
SAP MCP execution guidance: Intent: SAP MCP tool workflow. Pricing: paid value-action; preview cost and transaction effects before user confirmation. Routing: paid hosted call; call sap_estimate_tool_cost first, then use sap_payments_call_paid_tool if the runtime cannot handle x402 natively. Signer boundary: hosted reads/builders never receive keypair bytes; value-moving results must be finalized locally when signing is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | No | Optional escrow nonce as a decimal string. Defaults to 0. | |
| commitment | No | Optional processed|confirmed|finalized commitment | |
| maxRetries | No | Optional RPC retry limit | |
| serviceData | No | Service data to hash into the settlement proof | |
| computeUnits | No | Optional compute-unit limit | |
| callsToSettle | No | Number of calls to settle | |
| skipPreflight | No | Optional skip preflight flag | |
| depositorWallet | No | Depositor wallet public key (base58) | |
| priorityFeeMicroLamports | No | Optional priority fee in microlamports per compute unit |
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. |