Lewati ke konten utama

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

Protokol

Bagaimana node saling menemukan, menyebarkan peristiwa, dan tetap sinkron.

API

Antarmuka JSON-RPC yang diekspos setiap node kepada pemanggil.

Bangun

SDK, menjalankan node Anda sendiri, dan berintegrasi sebagai pedagang.