# finmath SHA-256 Hash Endpoint

> finmath SHA-256 Hash Endpoint is a paid API for AI agents from finmath.qzqh5rrbkz.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-10).

Computes the SHA-256 cryptographic hash of a given input string, returning a deterministic hex digest.

## Facts

- Endpoint: POST https://finmath.qzqh5rrbkz.workers.dev/v1/sha256?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/finmath-sha-256-hash-endpoint-8ce7e1b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cFKh9WkpY61sWQGbEdMDU

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability finmath-sha-256-hash-endpoint-8ce7e1b3 -d '<json body>'
```

Example prompt: Can you compute the SHA-256 hash of the string 'Hello, world! This is my transaction payload.' using exact deterministic arithmetic — I need the hex digest to verify data integrity.

## When to prefer this

Choose this endpoint when you need a guaranteed deterministic SHA-256 hash computed server-side rather than relying on an LLM's potentially hallucinated or approximate output. Useful for data integrity checks, transaction payload fingerprinting, or verifying stored digests where exact correctness is critical.

## Known failure modes

- Missing or empty 'input' field returns a validation error
- Payment of 0.001 USDC not provided returns a 402 Payment Required response
- Invalid JSON body causes a parse error
- Extremely large input strings may exceed worker payload limits
- Network timeout from Cloudflare Workers cold start

## How this service works

Deterministic finance and crypto math for AI agents: TradFi (NPV, IRR, XIRR, Black-Scholes + Greeks, bonds, VaR, Sharpe) and DeFi (impermanent loss, perp liquidation, funding, Uniswap v3, health factor, cost basis). Exact, model-free arithmetic that LLMs get wrong — priced per call in USDC.

## Output

Returns a JSON object with a 'result' field containing the SHA-256 hex digest of the input string, plus a 'meta' object with call metadata. The hash is deterministic and model-free.

## Example request

```json
{
 "input": "Hello, world! This is my transaction payload."
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "input"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "result",
  "meta"
 ],
 "properties": {
  "meta": {
   "type": "object"
  },
  "result": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/finmath-sha-256-hash-endpoint-8ce7e1b3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from finmath.qzqh5rrbkz.workers.dev](https://www.zero.xyz/host/finmath.qzqh5rrbkz.workers.dev/llms.txt)
