RPC API¶
Application RPCs are exposed under /app
and require authentication with a valid user identity.
You can read what application endpoints may look like, as generated by the example C++ logging app, in Example app RPC API.
Built-ins¶
By default, CCF will also add some built-in endpoints:
- GET /app/api¶
OpenAPI schema
- Status Codes:
200 OK – Default response description
default – An error occurred
- GET /app/tx¶
Current status of a transaction
Possible statuses returned are Unknown, Pending, Committed or Invalid.
- Query Parameters:
transaction_id (string) – (Required)
- Status Codes:
200 OK – Default response description
default – An error occurred