- Coda APIs are still under construction, so these endpoints may change
- By default, the GraphQL port is bound to localhost, but if you for some reason decide to expose it to the internet, be careful! Someone with access to this api can send coda from your wallets.
- Start your daemon with the
-rest-port <port>flag. For example:
coda daemon -rest-port 8000
- Connect your GraphQL client to
<port>replaced with the port you used above.
- [Optional] If you want to use an existing wallet with GraphQL, "import" it using the following:
coda daemon -propose-key <port> -unsafe-track-propose-key. This is a temporary workaround that removes password protection from the private key file. You can always create a new wallet using the
- Open your web browser to
http://localhost:<port>/graphqlto play with the api using GraphiQL
- Look at the GraphQL schema docs