{"uid":"cap_CsD80Ghv_gt_rv0KEkVKm","slug":"hcrb-in-csp-commitment-creator-cfd8bf50","name":"hcrb.in CSP Commitment Creator","description":"Generates cryptographic commitments to commercial terms and formats ERC-5564 dual-key stealth address announcements (CSP-1) for invoice-scale B2B payments on Base L2.","url":"https://hcrb.in/v1/tools/csp-commitment-create/call?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["invoice_object"],"properties":{"salt_hex":{"type":"string","description":"Optional 32-byte salt (0x...). If omitted, cryptographically derived"},"view_tag":{"type":"string","description":"Optional 1-byte hex view tag (0xNN)"},"invoice_object":{"type":"object","description":"Structured invoice or commercial agreement object to commit to"},"ephemeral_pubkey":{"type":"string","description":"Optional ephemeral public key for ERC-5564 announcement"},"stealth_recipient":{"type":"string","description":"Optional Base L2 stealth recipient address for announcement"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OmZtSfcGTtHZKI4x90bCz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates cryptographic commitments to commercial terms and formats ERC-5564 dual-key stealth address announcements for B2B invoice payments on Base L2","exampleAgentPrompt":"Commit this invoice to the blockchain privately — here's the invoice object with line items, recipient, and total — and generate an ERC-5564 stealth address announcement for the Base L2 recipient 0xAbC123... using a fresh ephemeral key.","exampleUseCases":[{"title":"Privacy-preserving B2B invoice commitment","prompt":"I need to cryptographically commit to the terms of this invoice before sending payment — here's the invoice JSON with vendor details and a $12,000 total. Generate a CSP-1 commitment and stealth announcement for the recipient at 0xDe45Fa... on Base."},{"title":"Stealth payment announcement for contractor settlement","prompt":"We're settling a contract payment on Base L2 and need a stealth address announcement so the recipient can privately detect the payment. The commercial agreement object is attached — please generate the ERC-5564 announcement with an ephemeral key."},{"title":"Auditable commitment before on-chain disbursement","prompt":"Before we disburse funds on Base, I want to lock in our commercial terms with a cryptographic commitment hash. Here's the invoice object — generate the CSP-1 commitment with a custom salt 0xdeadbeef...1234 so we can reference it in the transaction."}],"resultDescription":"Returns a cryptographic commitment (hash) of the provided invoice object under the CSP-1 scheme, along with a formatted ERC-5564 dual-key stealth address announcement payload suitable for Base L2 broadcast, including the view tag and ephemeral public key if provided.","failureModes":["Missing required invoice_object field returns a validation error","Malformed salt_hex (not 32 bytes or invalid hex) causes a parameter error","Invalid stealth_recipient address format returns an address validation failure","Invalid ephemeral_pubkey format causes key parsing error","Non-Base-L2 stealth addresses may produce unusable announcements"],"whenToPreferThis":"Choose this endpoint when you need to cryptographically commit to commercial invoice terms AND generate a privacy-preserving ERC-5564 stealth address announcement in a single call for Base L2 B2B payments. Prefer it over generic hashing utilities when you need the full CSP-1 commitment scheme with stealth address support, or over on-chain commitment contracts when you want off-chain commitment generation before settlement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T00:35:42.895Z","isFirstParty":false,"canonicalSlug":"hcrb-in-csp-commitment-creator-cfd8bf50"}