メインコンテンツまでスキップ

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
}
}

プロトコル

ノードが互いを発見し、イベントを伝播し、同期を保つ仕組み。

API

各ノードが呼び出し元に公開するJSON-RPCインターフェース。

開発

SDK、自身のノードの運用、マーチャントとしての統合。