Encode non-negative integers into 0x-hex strings
api.delx.ai/api/v1/x402/int-to-hex
Encode non-negative integers into 0x-hex strings. Call when building simple hex fields or debug payloads from decimal values. Returns 0x-prefixed hex string as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.
https://api.delx.ai/api/v1/x402/int-to-hexUptime100% 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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.delx.ai/api/v1/x402/int-to-hex");
console.log(await res.json());