hmac_sign
Computes an HMAC of a message with a secret, hex and base64, for verifying webhooks and API requests. 0.001 USDC per call via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| algo | No | sha256, sha384 or sha512 | sha256 |
| secret | Yes | Secret key | |
| message | Yes | Message | |
| paymentProof | No | Payment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof. |