json-rpc/README.md
JSON-RPC service provides APIs for client applications to query the Diem blockchain.
There are two types of clients, and thus two types of APIs:
There are also two types of endpoints:
POST requests. One response per request.Refer to the specification.
It currently is exposed to 0.0.0.0 by default, so be aware of that.
It also uses liberal CORS policies, so its API must not use any secrets (e.g. tokens, credentials, etc.)
To make sure we have backward compatible API, tests are intent to be created with verbose json result in assertions.
There are 2 types test: