← Back to directory

Currency precision returns whether an amount is exactly representable in standar...

https://text.halowerk.com/v1/currency-amount-minor-unit-exactness

Overview

Currency precision returns whether an amount is exactly representable in standard minor units and its exact integer value. Use it when an agent needs to validate a monetary field before export.

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider text
Source bazaar
Indexed 2026-11-19 01:08:45

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "currency": "EUR", "locale": "de-DE", "value": "1234.50" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "data": { "exact": true, "fraction_digits": 2, "minor_units": "123450" }, "limitations": "Local ICU/CLDR formatting. Decimal-string operations preserve the supplied fractional precision where requested.", "measured_at": "2026-11-18T23:53:46.173Z", "source": { "reference": "Caller-supplied values; Node.js ICU 78.3", "retrieved_at": "2026-11-18T23:53:46.173Z" } }, "type": "json" }