You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to add a REST API to Koinos. The two big reasons behind this are:
Swagger documentation of a REST API makes documenting the API easy with great features (such as embedded interaction).
A REST API should be designed to be more user friendly than the JSON-RPC or gRPC APIs. This is needed for improving data access to exchanges, CMC, and CG.
We are going to use Roamin's REST service as a base for our REST API. It is well structured, documented, and works. No need to reinvent the wheel when we have something working already. But there are changes we want to make to his API.
We want to add a REST API to Koinos. The two big reasons behind this are:
We are going to use Roamin's REST service as a base for our REST API. It is well structured, documented, and works. No need to reinvent the wheel when we have something working already. But there are changes we want to make to his API.
/api
prefix to/v1
#2Turn off hosting the website (optionally is ok) #3ft
totoken
#5/contracts/{contract-id}/{method}
that would accept JSON arguments and would use the contract ABI to resolve to a contract method and encode the arguments automatically. The return would be decoded using the ABI and returned as JSON. (Note: this feature will only work with contracts that use the koilib style ABI to use protobuf-js) #8The text was updated successfully, but these errors were encountered: