Skip to content
Fourohtwo

How many microCCD (or raw CIS-2 token units) is this amount, exactly

forge.fizzl.eu/p/ccd-amount-convert

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 thi

BaseAnswering
GEThttps://forge.fizzl.eu/p/ccd-amount-convert

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://forge.fizzl.eu/p/ccd-amount-convert?amount=1.5&decimals=6&operation=token_to_raw");
console.log(await res.json());

Example input

{
  "amount": "1.5",
  "decimals": 6,
  "operation": "token_to_raw"
}

More from x402 ForgeProvider status