Developer documentation for the OpenFiat protocol
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" }
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"status": "current",
"rate": 129.46493368330698,
"expiresAt": 1785451477566
}
}