Skip to main content

OpenFiat Docs

Developer documentation for the OpenFiat protocol

Request
curl -X POST https://openfiat.allenhark.com/rpc \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getExchangeRate",
"params": { "base": "USDC", "quote": "KES" }
}'
Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"status": "current",
"rate": 129.46493368330698,
"expiresAt": 1785451477566
}
}

Protocol

How nodes discover each other, gossip events, and stay in sync.

API

The JSON-RPC surface every node exposes to callers.

Build

SDKs, running your own node, and integrating as a merchant.