ToolAssay

Convert crypto units exactly

Convert crypto units exactly: wei, gwei, ether, lamports, SOL, satoshis, BTC and any token decimals, using integer math with no floating-point rounding errors.

Answeringour last check, 2026-10-21
1 of 1checks answered this week
317 msmedian answer time
$0.01listed price per call
$0.01price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://saylorinnovations.com/api/crypto/unit-convert

CategoryMarket data
Provider hostsaylorinnovations.com
Networkseip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days2 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-21 valid payment request 402$0.01 317 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "amount": "1.5",
    "from": "ether",
    "to": "gwei"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "amount": {
              "description": "non-negative decimal string, for example 1.5",
              "type": "string"
            },
            "from": {
              "description": "unit name (wei, gwei, ether, lamport, sol, satoshi, btc, usdc, ...) or decimals:N",
              "type": "string"
            },
            "to": {
              "description": "unit name or decimals:N",
              "type": "string"
            }
          },
          "required": [
            "amount",
            "from",
            "to"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "amount": {
              "description": "Amount",
              "type": "string"
            },
            "exact": {
              "type": "boolean"
            },
            "from": {
              "description": "Start of the range",
              "type": "string"
            },
            "from_decimals": {
              "description": "From decimals",
              "type": "number"
            },
            "note": {
              "description": "Caveat or context for reading the result",
              "type": "string"
            },
            "result": {
              "description": "Result of the operation",
              "type": "string"
            },
            "result_smallest_unit": {
              "description": "Result smallest unit",
              "type": "string"
            },
            "source": {
              "description": "Data source the values come from",
              "type": "string"
            },
            "to": {
              "description": "End of the range",
              "type": "string"
            },
            "to_decimals": {
              "description": "To decimals",
              "type": "number"
            }
          },
          "required": [
            "amount",
            "from",
            "from_decimals",
            "to",
            "to_decimals",
            "result",
            "result_smallest_unit",
            "exact",
            "note",
            "source"
          ],
          "type": "object"
        },
        "type": {
          "const": "json",
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON