ERC20 Token Decimals Lookup is a paid API for AI agents from twin.unykorn.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-29).
Returns the decimals value of an ERC20 token contract on a specified EVM-compatible blockchain network.
x402 pay-per-call endpoints. Free: /health, /.well-known/x402, /receipts, /prove/keys, /prove/stats.
Returns a JSON object with ok=true, the type field 'erc20-decimals', the decimals integer value for the specified contract, a payment receipt containing a transaction hash, USD amount, and receipt ID, and the ISO 8601 timestamp of generation.
POSThttps://twin.unykorn.org/erc20-decimals?utm_source=zero.xyzUse this endpoint when you need to programmatically determine the decimal precision of any ERC20 token contract across major EVM chains (Ethereum, Base, Polygon, Arbitrum, Optimism, BSC, Avalanche, Gnosis, Linea, Scroll) and want a simple pay-per-call API without managing your own RPC nodes. Ideal for DeFi agents, wallets, and data pipelines that need to normalize raw token amounts to human-readable values.
| Field | Type | Description |
|---|---|---|
| params | object |
{
"type": "json",
"example": {
"ok": true,
"type": "erc20-decimals",
"receipt": {
"tx_hash": "0x<64hex>",
"amount_usd": 0.25,
"receipt_id": "g402-<16hex>"
},
"generated_at": "<iso8601>"
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"