Wrong decimals (18 instead of 6)

Quirk · GET /api/x402/wrong-decimals · 402 / Challenge Construction

Expresses the amount with 18 decimals for a token that has 6.

Explanation

The amount is expressed with 18 decimals for a token that actually has 6, overstating the price by roughly a trillion times. Decimals come from the token's own definition, so the token issuer's metadata is the root cause.

What to watch

Overcharges by roughly a trillion times.

Facilitator

Settled against the live Radius testnet facilitator (https://facilitator.testnet.radiustech.xyz). A valid payment runs a real /verify and /settle on-chain.

Metadata

Back to catalog