Cardano REST provides a set of APIs for interacting with on-chain data through JSON over HTTP.
⚠️ These APIs are the currently supported APIs. In future they may be augmented or replaced by a GraphQL API of cardano-graphql, when GraphQL component will be released. These APIs will be supported for some time, even once alternatives become available.
Clone the repository.
$ git clone email@example.com:input-output-hk/cardano-rest.git $ cd cardano-rest
cardano-restcomponents using Docker:
$ NETWORK=testnet docker-compose up
Query the API 🎉
$ curl http://localhost:8100/api/txs/last
For more information, have a look at the Wiki 📖.