# PayAI Crypto Unit Converter & Address Checksum

> PayAI Crypto Unit Converter & Address Checksum is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Converts Ethereum token units (wei/gwei/ether or arbitrary decimal precision), converts between hex and integer representations, and computes or validates EIP-55 checksummed Ethereum addresses.

## Facts

- Endpoint: GET https://payai.agentstools.dev/crypto/convert
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/payai-crypto-unit-converter-address-checksum-14deb4bd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PkJ29c8C4yA7rE7oH1eHB

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 payai-crypto-unit-converter-address-checksum-14deb4bd
```

Example prompt: Convert 1500000000000000000 wei to ether using the units operation, treating the source as wei and target as ether.

## When to prefer this

Use this endpoint when an AI agent needs to perform Ethereum-specific unit conversions (wei/gwei/ether or arbitrary ERC-20 decimals), hex-to-int or int-to-hex numeric transformations, or needs to compute or validate an EIP-55 checksummed address — tasks that are frequently needed in blockchain transaction workflows without requiring a full Ethereum node or Web3 library.

## Known failure modes

- Missing required 'op' query parameter returns an error
- Invalid 'op' value outside enum (units/checksum/hex) returns an error
- For op=units, missing 'from', 'to', or 'value' returns an error
- For op=checksum, missing or malformed 'address' parameter returns an error
- For op=hex, missing 'value' returns an error
- Non-numeric value where a number is expected causes a parse error
- Payment not provided or insufficient (x402 payment required)

## How this service works

Convert token units (wei/gwei/ether or arbitrary decimals), between hex and int, and compute/validate an EIP-55 checksummed address.

## Output

Returns the converted value (e.g. amount in target unit), or for hex/int conversions the equivalent representation, or for checksum operations the EIP-55 checksummed Ethereum address and a validity flag.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "op"
     ],
     "properties": {
      "op": {
       "enum": [
        "units",
        "checksum",
        "hex"
       ],
       "type": "string"
      },
      "to": {
       "description": "Target unit for op=units; for op=hex use int or hex"
      },
      "from": {
       "description": "Source unit for op=units: wei, gwei, ether, or an integer decimals count"
      },
      "value": {
       "description": "Amount for op=units; integer or 0x hex for op=hex"
      },
      "address": {
       "type": "string",
       "description": "Address to checksum/validate (op=checksum)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/payai-crypto-unit-converter-address-checksum-14deb4bd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
