How many microCCD (or raw CIS-2 token units) is this amount, exactly?
How many microCCD (or raw CIS-2 token units) is this amount, exactly? Concordium amount converter (CCD and CIS-2): Converts Concordium amounts exactly: CCD to microCCD and back, and CIS-2 token amounts to the raw integer and the LEB128 bytes a contract expects. $0.001 per call in USDC, charged only on a 2xx answer. Try it free: https://forge.fizzl.eu/try/ccd-amount-convert. Signed receipt. Own this tool for $1.00 and earn from every call: https://forge.fizzl.eu/forge/packages/ccd-amount-convert.
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://forge.fizzl.eu/p/ccd-amount-convert
| Category | Market data |
|---|---|
| Provider host | forge.fizzl.eu |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.001 | 455 ms |
| 2026-11-25 | valid payment request | 402 | $0.001 | 463 ms |
| 2026-11-24 | valid payment request | 402 | $0.001 | 467 ms |
| 2026-11-23 | valid payment request | 402 | $0.001 | 782 ms |
| 2026-11-22 | valid payment request | 402 | $0.001 | 461 ms |
| 2026-11-21 | valid payment request | 402 | $0.001 | 465 ms |
| 2026-11-20 | valid payment request | 402 | $0.001 | 583 ms |
| 2026-11-19 | valid payment request | 402 | $0.001 | 797 ms |
| 2026-11-18 | valid payment request | 402 | $0.001 | 808 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"amount": "1.5",
"decimals": 6,
"operation": "token_to_raw"
},
"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": "Unsigned amount as a string of ASCII digits. Display units (may contain one dot) for ccd_to_micro and token_to_raw; a whole number of the smallest unit for micro_to_ccd and raw_to_token. Not used by leb128_decode.",
"maxLength": 340,
"type": "string"
},
"decimals": {
"description": "The token's decimals from its CIS-2 metadata. Required for token_to_raw and raw_to_token, optional for leb128_decode, ignored (with a warning) for CCD, which always has 6.",
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"hex": {
"description": "Unsigned LEB128 bytes as hex (optional 0x prefix), for leb128_decode.",
"maxLength": 100,
"type": "string"
},
"operation": {
"description": "ccd_to_micro, micro_to_ccd, token_to_raw, raw_to_token or leb128_decode",
"enum": [
"ccd_to_micro",
"micro_to_ccd",
"token_to_raw",
"raw_to_token",
"leb128_decode"
],
"type": "string"
}
},
"required": [
"operation"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}