I am developing Java based platform which has to communicate with Epoch node running locally. I managed to get localnet (3 nodes) up and running and I can curl API endpoints as expected. Now I’m trying to deploy smart contract from Java. Now if I’m not mistaken, in order to do that I have to generate contract creation transaction, sign it (ed25519) and then POST it to /transactions endpoint. Before making those requests using Java, I wanted to test few API endpoints manually (using curl or any similar tool) and check what JSON models I have to use in request body and also what responses do I get. I have found api documentation here and I’m trying to make request on /debug/contracts/create but I don’t know exactly how to format all the fields in body of this request. Are there any examples of real request/response data somewhere?
Thanks for any help you can provide.